diff options
author | root <root@rshg054.dnsready.net> | 2012-01-22 23:15:13 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-22 23:15:13 +0000 |
commit | 164067832916c8e59219e1b0f30d7d04618a536e (patch) | |
tree | 5ec718dc77dfccfcdb1409707658bef3fb421ac4 /community-staging/gnubiff-gtk/build.patch | |
parent | a1922d0ec660fdc1892f2783515f781c090df0a9 (diff) |
Sun Jan 22 23:15:13 UTC 2012
Diffstat (limited to 'community-staging/gnubiff-gtk/build.patch')
-rw-r--r-- | community-staging/gnubiff-gtk/build.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community-staging/gnubiff-gtk/build.patch b/community-staging/gnubiff-gtk/build.patch new file mode 100644 index 000000000..523b0557e --- /dev/null +++ b/community-staging/gnubiff-gtk/build.patch @@ -0,0 +1,23 @@ +diff -wbBur gnubiff-2.2.10/src/support.h gnubiff-2.2.10.my/src/support.h +--- gnubiff-2.2.10/src/support.h 2008-03-22 05:08:51.000000000 +0300 ++++ gnubiff-2.2.10.my/src/support.h 2008-04-22 14:21:58.000000000 +0400 +@@ -35,6 +35,9 @@ + #endif + #include "nls.h" + ++#include <stdlib.h> ++#define EXIT_SUCCESS 0 ++#define EXIT_FAILURE 1 + + #include <glib.h> + #include <sstream> +@@ -131,6 +134,9 @@ + if ((pos == end) && (last < num)) + result << sep << num; + ++ if ((pos == end) && (last != num)) ++ result << sep << num; ++ + // Save new number + inf_bound = last = num; + } |