From 04fc71435a0d27f26c039e417633381a78286488 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 7 Nov 2013 11:36:33 +0100 Subject: [PATCH] - rel 5; build fixed --- tmw-build.patch | 11 +++++++++++ tmw.spec | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tmw-build.patch 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); 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 -- 2.44.0