Hello community,
here is the log from the commit of package clanlib for openSUSE:Factory
checked in at Wed Apr 1 23:47:29 CEST 2009.
--------
--- clanlib/clanlib.changes 2008-11-10 15:37:47.000000000 +0100
+++ clanlib/clanlib.changes 2009-03-29 23:54:51.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Mar 29 23:54:45 CEST 2009 - crrodriguez@suse.de
+
+- fix build with GCC 44
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
ClanLib-0.8.1-gcc44.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ clanlib.spec ++++++
--- /var/tmp/diff_new_pack.I11228/_old 2009-04-01 23:47:07.000000000 +0200
+++ /var/tmp/diff_new_pack.I11228/_new 2009-04-01 23:47:07.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package clanlib (Version 0.8.1)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,13 @@
Group: System/Libraries
Url: http://www.clanlib.org/
Version: 0.8.1
-Release: 73
+Release: 74
Summary: A Portable Interface for Writing Games
Source: ClanLib-%{version}.tar.bz2
Patch0: %{name}-%{version}-endian.patch
Patch1: %{name}-%{version}-includes.patch
Patch2: %{name}-%{version}-delete.patch
+Patch3: ClanLib-0.8.1-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -44,7 +45,7 @@
%package devel
License: LGPL v2.1 or later
-Requires: zlib-devel libjpeg-devel libpng-devel libmikmod-devel libogg-devel libvorbis-devel SDL_gfx-devel Mesa-devel
+Requires: Mesa-devel libstdc++-devel
Requires: %{name} = %{version}
Summary: A portable interface for writing games
Group: Development/Libraries/X11
@@ -64,14 +65,15 @@
%patch0
%patch1
%patch2
+%patch3
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%ifarch %ix86
-%configure --disable-static --enable-asm386
+%configure --with-pic --disable-static --enable-asm386
%else
-%configure --disable-static --disable-asm386
+%configure --with-pic --disable-static --disable-asm386
%endif
make %{?jobs:-j%jobs}
@@ -83,6 +85,7 @@
rmdir $RPM_BUILD_ROOT%{_datadir}/doc/clanlib
cp -r Examples $DOCDIR
cp CODING_STYLE PATCHES README.anjuta README.kdevelop README.sdl TODO-RSN $DOCDIR
+%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
@@ -103,9 +106,10 @@
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_libdir}/libclan*.so
-%{_libdir}/libclan*.la
%changelog
+* Sun Mar 29 2009 crrodriguez@suse.de
+- fix build with GCC 44
* Mon Nov 10 2008 prusnak@suse.cz
- fix wrong delete usage (delete.patch) [bnc#443368]
* Wed Mar 19 2008 prusnak@suse.cz
@@ -148,7 +152,7 @@
- do not build as root
* Mon Dec 11 2006 meissner@suse.de
- mark up assembler as needing no executable stack.
-* Mon Oct 16 2006 ro@suse.de
+* Tue Oct 17 2006 ro@suse.de
- use DirectFB-devel in BuildRequires
- add DirectFB-devel to require-list in devel package
* Thu Jul 13 2006 nadvornik@suse.cz
++++++ ClanLib-0.8.1-gcc44.patch ++++++
Index: Sources/GL/canvas_opengl.cpp
===================================================================
--- Sources/GL/canvas_opengl.cpp.orig 2007-10-21 02:14:01.000000000 +0200
+++ Sources/GL/canvas_opengl.cpp 2009-03-29 23:08:42.000000000 +0200
@@ -47,6 +47,7 @@
#endif
#include "graphic_context_opengl.h"
#include "surface_target_opengl.h"
+#include <cstdio>
#include <cstring>
/////////////////////////////////////////////////////////////////////////////
Index: Sources/GL/GLX/input_device_linuxevent.cpp
===================================================================
--- Sources/GL/GLX/input_device_linuxevent.cpp.orig 2007-10-21 02:14:01.000000000 +0200
+++ Sources/GL/GLX/input_device_linuxevent.cpp 2009-03-29 23:14:57.000000000 +0200
@@ -27,6 +27,7 @@
** (if your name is missing here, please add it)
*/
+#include <cstdio>
#include