summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2003-12-02 10:01:39 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2003-12-02 10:01:39 +0000
commit8c2185912d892e5ee86b171d52e63275ea056300 (patch)
tree9f7e78e55f37a5ae9f260c71cfa63e08edc3c649 /gnome-extra/gucharmap/files
parentremoving broken 22-r1 ebuild (diff)
downloadhistorical-8c2185912d892e5ee86b171d52e63275ea056300.tar.gz
historical-8c2185912d892e5ee86b171d52e63275ea056300.tar.bz2
historical-8c2185912d892e5ee86b171d52e63275ea056300.zip
Patch to make it compile under gcc2
Diffstat (limited to 'gnome-extra/gucharmap/files')
-rw-r--r--gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch b/gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch
new file mode 100644
index 000000000000..dd42286d5499
--- /dev/null
+++ b/gnome-extra/gucharmap/files/gucharmap-1.2.0-gcc2_fix.patch
@@ -0,0 +1,13 @@
+diff -NurB gucharmap-1.2.0-orig/gucharmap/gucharmap-window.c gucharmap-1.2.0/gucharmap/gucharmap-window.c
+--- gucharmap-1.2.0-orig/gucharmap/gucharmap-window.c 2003-12-04 07:38:13.000000000 -0500
++++ gucharmap-1.2.0/gucharmap/gucharmap-window.c 2003-12-04 07:39:01.000000000 -0500
+@@ -113,8 +113,8 @@
+ {
+ const gchar *no_leading_space, *nptr;
+ char *endptr;
+- g_assert (direction == -1 || direction == 1);
+ gunichar wc;
++ g_assert (direction == -1 || direction == 1);
+
+ if (search_text[0] == '\0')
+ {