Hello community,

here is the log from the commit of package neverball for openSUSE:Factory
checked in at Fri Sep 9 11:47:55 CEST 2011.



--------
--- neverball/neverball.changes 2010-03-14 21:54:08.000000000 +0100
+++ /mounts/work_src_done/STABLE/neverball/neverball.changes    2011-09-07 
03:47:51.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Sep  7 00:59:47 UTC 2011 - [email protected]
+
+- Fix build with no-add-needed 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  neverball-add-needed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ neverball.spec ++++++
--- /var/tmp/diff_new_pack.rb0XN0/_old  2011-09-09 11:47:51.000000000 +0200
+++ /var/tmp/diff_new_pack.rb0XN0/_new  2011-09-09 11:47:51.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package neverball (Version 1.5.4)
+# spec file for package neverball
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -19,7 +19,7 @@
 
 Name:           neverball
 Version:        1.5.4
-Release:        1
+Release:        9
 License:        GPLv2+
 Summary:        Deftly Guide a Rolling Ball through Many Slick 3D Levels
 Url:            http://neverball.org
@@ -36,7 +36,9 @@
 BuildRequires:  update-desktop-files
 BuildRequires:  physfs-devel
 BuildRequires:  fdupes
+BuildRequires:  xorg-x11-libX11-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch:          neverball-add-needed.patch 
 %define binary %{_prefix}/games/%{name}
 %define binary2        %{_prefix}/games/%{name2}
 %define datadir        %{_datadir}/games/%{name}
@@ -51,9 +53,10 @@
 
 %prep
 %setup -q
+%patch
 
 %build
-make CC="gcc %{optflags} -fexpensive-optimizations -fomit-frame-pointer" 
DATADIR=%{datadir}
+make CC="gcc %{optflags} -fomit-frame-pointer" DATADIR=%{datadir}
 
 %install
 install -D -m 755 %name         %{buildroot}%{binary}

++++++ neverball-add-needed.patch ++++++
--- Makefile.orig
+++ Makefile
@@ -98,7 +98,7 @@ ALL_CPPFLAGS += $(CPPFLAGS)
 
 SDL_LIBS := $(shell sdl-config --libs)
 PNG_LIBS := $(shell libpng-config --libs)
-FS_LIBS := -lphysfs
+FS_LIBS := -lphysfs -lm
 
 # The  non-conditionalised values  below  are specific  to the  native
 # system. The native system of this Makefile is Linux (or GNU+Linux if
@@ -138,7 +138,7 @@ ifdef DARWIN
 endif
 
 ALL_LIBS := $(SDL_LIBS) $(BASE_LIBS) $(TILT_LIBS) $(INTL_LIBS) -lSDL_ttf \
-    -lvorbisfile $(OGL_LIBS)
+    -lvorbisfile $(OGL_LIBS) -lX11
 
 #------------------------------------------------------------------------------
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to