]> git.decadent.org.uk Git - ion3.git/blobdiff - debian/patches/102_fix-string-list-crash.diff
Update patches for ion-3rc-20070708.
[ion3.git] / debian / patches / 102_fix-string-list-crash.diff
diff --git a/debian/patches/102_fix-string-list-crash.diff b/debian/patches/102_fix-string-list-crash.diff
deleted file mode 100644 (file)
index 89e31db..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#! /bin/sh -e
-if [ $# -ne 1 ]; then
-    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-    exit 1
-fi
-case "$1" in
-    -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
-    -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
-    *)
-        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
-        exit 1;;
-esac
-
-exit 0
-@DPATCH@
-
-# Patch thanks to Nedko Arnaudov <nedko@users.sourceforge.net>
-
-diff -ru ion-3rc-20070608/ioncore/property.c ion-3rc-20070608.fixed/ioncore/property.c
---- ion-3rc-20070608/ioncore/property.c        2007-06-08 19:56:51.000000000 +0300
-+++ ion-3rc-20070608.fixed/ioncore/property.c  2007-06-18 16:32:11.000000000 +0300
-@@ -213,7 +213,7 @@
-     Status st;
-     if(!ioncore_g.use_mb){
--        st=XStringListToTextProperty((char **)&ptr, n, &prop);
-+        st=XStringListToTextProperty((char **)ptr, n, &prop);
-     }else{
-         st=XmbTextListToTextProperty(ioncore_g.dpy, (char **)ptr, n,
-                                      XTextStyle, &prop);