]> git.pld-linux.org Git - packages/tmw.git/commitdiff
- rel 5; build fixed auto/th/tmw-0.5.2-5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 7 Nov 2013 10:36:33 +0000 (11:36 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 7 Nov 2013 10:36:33 +0000 (11:36 +0100)
tmw-build.patch [new file with mode: 0644]
tmw.spec

diff --git a/tmw-build.patch b/tmw-build.patch
new file mode 100644 (file)
index 0000000..b1bbcdf
--- /dev/null
@@ -0,0 +1,11 @@
+--- tmw-0.5.2/src/utils/xml.cpp~       2011-04-17 01:17:57.000000000 +0200
++++ tmw-0.5.2/src/utils/xml.cpp        2013-11-07 11:33:24.344010714 +0100
+@@ -149,7 +149,7 @@
+             logger->log("Error in unknown xml file on line %d",
+                         error->line);
+-        logger->log(error->message);
++        logger->log("%s", error->message);
+         // No need to keep errors around
+         xmlCtxtResetLastError(error->ctxt);
index a3baeb1c2fa73d73ba109d10e582e9be972c713e..daf3fcff9697765cd93caf6e70ca21464ae9092c 100644 (file)
--- a/tmw.spec
+++ b/tmw.spec
@@ -3,12 +3,13 @@ Summary:      A free Open Source 2D MMORPG
 Summary(pl.UTF-8):     Gra typu MMORPG 2D o otwartych źródłach
 Name:          tmw
 Version:       0.5.2
-Release:       4
+Release:       5
 License:       GPL v2+
 Group:         X11/Applications/Games
 Source0:       http://downloads.sourceforge.net/themanaworld/%{name}-%{version}.tar.bz2
 # Source0-md5: c843ef420aced82db1e51fa14e80174a
 Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-build.patch
 URL:           http://themanaworld.org/
 %{?with_opengl:BuildRequires:  OpenGL-GLU-devel}
 %{?with_opengl:BuildRequires:  OpenGL-devel}
@@ -62,6 +63,7 @@ Online.
 %prep
 %setup -q -c
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
This page took 0.877031 seconds and 4 git commands to generate.