summaryrefslogtreecommitdiffstats
path: root/arabic/katoob/files/patch-src-init.c
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 07:21:36 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 07:21:36 +0800
commit72a479ef090413a38e35c398b1ba22c1e2ec8f4a (patch)
tree2a53c2d0ca7722be0459ddbab1edf6a40a75d1e9 /arabic/katoob/files/patch-src-init.c
parente65db8acf829fbf07b4e53dfc8e1be048b06b21d (diff)
downloadmarcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.gz
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.bz2
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.lz
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.xz
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.tar.zst
marcuscom-ports-72a479ef090413a38e35c398b1ba22c1e2ec8f4a.zip
- USE_X_PREFIX -> USE_XLIB.
- Replace a hardcore autocheck of gtksourceview-1.0.pc to use HAVE_GNOME:Mgtksourceview. That fix the X11BASE -> LOCALBASE. - Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6753 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'arabic/katoob/files/patch-src-init.c')
-rw-r--r--arabic/katoob/files/patch-src-init.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/arabic/katoob/files/patch-src-init.c b/arabic/katoob/files/patch-src-init.c
new file mode 100644
index 000000000..7bff8d026
--- /dev/null
+++ b/arabic/katoob/files/patch-src-init.c
@@ -0,0 +1,21 @@
+--- src/init.c Tue Aug 26 07:54:35 2003
++++ /home/samy/development/katoob/src/init.c Thu Aug 28 00:36:48 2003
+@@ -101,7 +101,18 @@
+ katoob->xkb_grps[i] =
+ XGetAtomName (GDK_DISPLAY (), kbinfo->names->groups[i]);
+ }
++ else
++ {
++ katoob->xkb_grps[i] = NULL;
++ }
+ }
++ }
++
++/* Let's NULL all the remaining array. */
++ while (grpnum < XkbNumKbdGroups)
++ {
++ katoob->xkb_grps[grpnum] = NULL;
++ ++grpnum;
+ }
+
+ XkbGetControls (GDK_DISPLAY (), XkbAllControlsMask, kbinfo);