Hello community,

here is the log from the commit of package heroes-tron for openSUSE:Factory
checked in at Wed Sep 28 14:22:28 CEST 2011.



--------
--- heroes-tron/heroes-tron.changes     2009-09-17 03:12:15.000000000 +0200
+++ /mounts/work_src_done/STABLE/heroes-tron/heroes-tron.changes        
2011-09-03 22:04:49.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Sep  3 20:03:41 UTC 2011 - [email protected]
+
+- Fix build with no-add-needed 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  heroes-build-fixes.patch

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

Other differences:
------------------
++++++ heroes-tron.spec ++++++
--- /var/tmp/diff_new_pack.LILYRI/_old  2011-09-28 14:22:22.000000000 +0200
+++ /var/tmp/diff_new_pack.LILYRI/_new  2011-09-28 14:22:22.000000000 +0200
@@ -36,6 +36,7 @@
 Patch1:         %{myname}-%{version}-menus.diff
 Patch2:         %{myname}-%{version}-gcc4.diff
 Patch3:         %{myname}-%{version}-gcc_warning.diff 
+Patch4:         heroes-build-fixes.patch 
 Url:            http://heroes.sourceforge.net/download.html
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Game Like Tron and Nibbles Games
@@ -66,11 +67,11 @@
 %patch1
 %patch2 -p1
 %patch3
-
+%patch4
 %build 
 %define sharedir %{_prefix}/share
 %define datadir  %{sharedir}/games
-%{?suse_update_config:%{suse_update_config}}
+autoreconf -fiv
 export CFLAGS="$RPM_OPT_FLAGS"
 ./configure \
                --datadir=%{datadir} \

++++++ heroes-build-fixes.patch ++++++
--- configure.ac.orig
+++ configure.ac
@@ -16,9 +16,9 @@ dnl with this program; if not, write to
 dnl 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 dnl
 
-AC_PREREQ(2.50)
+AC_PREREQ([2.68])
 
-AC_INIT([heroes], [0.21], [[email protected]])
+AC_INIT([heroes],[0.21],[[email protected]])
 AC_CONFIG_AUX_DIR(tools)
 AC_CONFIG_SRCDIR([src/heroes.c])
 AM_INIT_AUTOMAKE([heroes], [0.21])
@@ -30,17 +30,13 @@ heroes_CHECK_OBSOLETE_OPTIONS
 AC_CANONICAL_HOST
 AC_DEFINE_UNQUOTED([HOST],["$host"],[The canonical host])
 
-# If the user didn't supplied a CFLAGS value,
-# set an empty one to prevent autoconf to stick -O2 -g here.
-test -z "$CFLAGS" && CFLAGS=""
-
 # ===================
 # Check for programs.
 # ===================
 
-AC_PROG_CC
-AC_ISC_POSIX
 AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AM_PROG_CC_C_O
 AC_PROG_CPP
 AC_PROG_AWK
@@ -57,16 +53,10 @@ AM_CONDITIONAL(HAVE_GPERF, [test \! -z "
 
 AC_CACHE_SAVE
 
-# Set _GNU_SOURCE before any other tests.
-AC__GNU_SOURCE
-
 # =====================
 # Checks for libraries.
 # =====================
 
-dnl pass a third argument to AC_CHECK_LIB to
-dnl prevent HAVE_LIBM from being defined (we don't need it).
-AC_CHECK_LIB([m], [sin], [LIBS="-lm $LIBS"])
 heroes_MEDIALIB_SELECTION
 
 # ================================
@@ -200,7 +190,7 @@ heroes_DEBUG
 # as clean as possible.
 dnl Don't quote the following argument, it is parsed by automake.
 AM_CONFIG_HEADER(config.h:src/config.h.in)
-
+AC_SEARCH_LIBS(sin, m)
 AC_CONFIG_FILES([
  Makefile
  doc/Makefile

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



Remember to have fun...

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

Reply via email to