[packages/tmw] - rel 5; build fixed
arekm
arekm at pld-linux.org
Thu Nov 7 11:36:36 CET 2013
commit 04fc71435a0d27f26c039e417633381a78286488
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 7 11:36:33 2013 +0100
- rel 5; build fixed
tmw-build.patch | 11 +++++++++++
tmw.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/tmw.spec b/tmw.spec
index a3baeb1..daf3fcf 100644
--- 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
diff --git a/tmw-build.patch b/tmw-build.patch
new file mode 100644
index 0000000..b1bbcdf
--- /dev/null
+++ b/tmw-build.patch
@@ -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);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tmw.git/commitdiff/04fc71435a0d27f26c039e417633381a78286488
More information about the pld-cvs-commit
mailing list