[vegastrike] Update the char fix patch for new context.

Bruno Wolff III bruno at fedoraproject.org
Sat Jul 9 18:59:44 UTC 2011


commit a5b0dc64d7aafb0809e0d0c854ff3a4bb1223a44
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jul 9 09:23:13 2011 -0500

    Update the char fix patch for new context.

 vegastrike-0.4.2-char-fix.patch |   21 ---------------------
 vegastrike-0.5.1-char-fix.patch |   20 ++++++++++++++++++++
 vegastrike.spec                 |    4 ++--
 3 files changed, 22 insertions(+), 23 deletions(-)
---
diff --git a/vegastrike-0.5.1-char-fix.patch b/vegastrike-0.5.1-char-fix.patch
new file mode 100644
index 0000000..aade682
--- /dev/null
+++ b/vegastrike-0.5.1-char-fix.patch
@@ -0,0 +1,20 @@
+--- src/xml_serializer.h.orig	2011-07-09 09:20:42.969434455 -0500
++++ src/xml_serializer.h	2011-07-09 09:21:16.635713265 -0500
+@@ -14,7 +14,7 @@
+         unsigned int *ui;
+         float  *f;
+         void   *p;
+-        char   *c;
++        signed char   *c;
+         //short * s;
+         bool   *b;
+         double *d;
+@@ -57,7 +57,7 @@
+     {
+         w.p = myvoid;
+     }
+-    XMLType( char *mychar )
++    XMLType( signed char *mychar )
+     {
+         w.c = mychar;
+     }
diff --git a/vegastrike.spec b/vegastrike.spec
index 8d02682..eb06e82 100644
--- a/vegastrike.spec
+++ b/vegastrike.spec
@@ -11,7 +11,7 @@ Source0:        http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.
 Source1:        %{name}-manpages.tar.bz2
 Source2:        %{name}-wrapper.sh
 Source3:        %{name}.desktop
-Patch0:         vegastrike-0.4.2-char-fix.patch
+Patch0:         vegastrike-0.5.1-char-fix.patch
 Patch1:         vegastrike-0.4.2-paths-fix.patch
 Patch2:         vegastrike-0.4.2-posh-fix.patch
 Patch3:         vegastrike-0.4.2-vssetup-fix.patch
@@ -40,7 +40,7 @@ Yet danger lurks in the space beyond.
 
 %prep
 %setup -q -a 1 -n %{name}-src-%{version}.beta1
-%patch0 -p1
+%patch0 -p0
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1


More information about the scm-commits mailing list