Hello community,

here is the log from the commit of package freealut for openSUSE:Factory 
checked in at 2012-05-10 14:31:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freealut (Old)
 and      /work/SRC/openSUSE:Factory/.freealut.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "freealut", Maintainer is "sbra...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/freealut/freealut.changes        2011-12-25 
17:34:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.freealut.new/freealut.changes   2012-05-10 
14:31:48.000000000 +0200
@@ -1,0 +2,5 @@
+Thu May 10 00:49:23 UTC 2012 - crrodrig...@opensuse.org
+
+- Do not use -ansi as default dialect. 
+
+-------------------------------------------------------------------

New:
----
  freealut-noansiflag.patch

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

Other differences:
------------------
++++++ freealut.spec ++++++
--- /var/tmp/diff_new_pack.UUA07W/_old  2012-05-10 14:31:51.000000000 +0200
+++ /var/tmp/diff_new_pack.UUA07W/_new  2012-05-10 14:31:51.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package freealut
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -27,6 +27,8 @@
 Source:         %{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch:          freealut-noansiflag.patch
+BuildRequires:  libtool
 
 %description
 freealut is a free implementation of OpenAL's ALUT standard.
@@ -44,7 +46,9 @@
 Summary:        Static libraries, header files and tests for openal library
 Group:          Development/Libraries/C and C++
 Provides:       openal:/usr/include/AL/alut.h
-Requires:       %{name} = %{version} glibc-devel openal-devel
+Requires:       %{name} = %{version}
+Requires:       glibc-devel
+Requires:       openal-devel
 
 %description devel
 OpenAL is an audio library designed in the spirit of OpenGL - machine
@@ -59,8 +63,9 @@
 
 %prep
 %setup -q
-
+%patch
 %build
+autoreconf -fiv
 %configure --disable-static --with-pic
 make %{?jobs:-j %jobs}
 

++++++ freealut-noansiflag.patch ++++++
--- configure.ac.orig
+++ configure.ac
@@ -2,15 +2,16 @@
 # Process this file with autoconf to produce a configure script.
 
################################################################################
 
-AC_INIT([freealut library], [1.1.0], [openal-de...@opensource.creative.com], 
[freealut])
+AC_INIT([freealut 
library],[1.1.0],[openal-de...@opensource.creative.com],[freealut])
 AC_CONFIG_AUX_DIR([admin/autotools])
+AC_CONFIG_MACRO_DIR([admin/autotools/m4])
 AM_INIT_AUTOMAKE
-AC_PREREQ([2.56])
+AC_PREREQ([2.60])
 AC_CONFIG_SRCDIR([AUTHORS])
 AC_CONFIG_HEADERS([config.h])
 
 # Compatibility hack for older autoconf versions
-m4_ifdef([AS_HELP_STRING], [], [AC_DEFUN([AS_HELP_STRING], 
[AC_HELP_STRING($][@)])])
+m4_ifdef([AS_HELP_STRING], [], [AC_DEFUN([AS_HELP_STRING], 
[AS_HELP_STRING([$@])])])
 
 
################################################################################
 ## libtool shared library version.
@@ -55,16 +56,17 @@ AC_SUBST([VERSIONINFO], ["$CURRENT:$REVI
 # Checks for programs.
 
################################################################################
 
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AC_C_CONST
 ALUT_C__ATTRIBUTE__
+AM_PROG_CC_C_O
 
 # Note that -fvisibility=... support implies __attribute__((visibility(...))) 
 # support.
-ALUT_CHECK_FLAG([-fvisibility=hidden],
-                [AM_CFLAGS="$AM_CFLAGS -fvisibility=hidden"
-                 AC_DEFINE([HAVE_GCC_VISIBILITY], [1],
-                           [Define to 1 if we are using a GCC with symbol 
visibility support.])])
+AM_CFLAGS="$AM_CFLAGS -fvisibility=hidden"
+AC_DEFINE([HAVE_GCC_VISIBILITY], [1], [HAVE visibility support])
 
 # test_suite/test_retrostuff tests deprecated functions, but we don't want to
 # get compiler warnings because of that.
@@ -75,8 +77,7 @@ AM_CONDITIONAL([WNO_DEPRECATED_DECLARATI
                [test x"$alut_wno_deprecated_declarations" = xyes])
 
 AC_EXEEXT
-AC_LIBTOOL_WIN32_DLL
-AC_PROG_LIBTOOL
+LT_INIT([win32-dll disable-static pic-only])
 AC_SUBST([LIBTOOL_DEPS])
 
 AC_DEFINE([ALUT_BUILD_LIBRARY], [1], [Define to 1 if you want to build the 
ALUT DLL.])
@@ -89,18 +90,6 @@ AC_SEARCH_LIBS([alGetError], [openal32 o
 # Checks for header files.
 
################################################################################
 
-# We could possibly need struct timespec and random(), which are not ANSI.
-AC_DEFINE([_XOPEN_SOURCE], [500], [Define to 500 if Single Unix conformance is 
wanted, 600 for sixth revision.])
-
-# We might need nanosleep, which is a POSIX IEEE Std 1003.1b-1993 feature.
-AC_DEFINE([_POSIX_C_SOURCE], [199309], [Define to the POSIX version that 
should be used.])
-
-# Without __NO_CTYPE tolower and friends are macros which introduce a GLIBC 2.3
-# dependency. By defining this identifier we are currently backwards compatible
-# to GLIBC 2.1.3, which is a good thing. In addition, the macros lead to code
-# which triggers warnings with -Wunreachable-code.
-AC_DEFINE([__NO_CTYPE], [1], [Define to 1 if tolower and friends should not be 
macros.])
-
 AC_HEADER_STDC
 AC_CHECK_HEADERS([AL/alc.h AL/al.h basetsd.h ctype.h math.h stdio.h time.h 
windows.h])
 
@@ -136,7 +125,7 @@ AC_ARG_ENABLE([warnings],
 
 if test "x$enable_warnings" != xno; then
   # Doing it in two steps gives a nicer message...
-  AX_CFLAGS_WARN_ALL_ANSI([flags])
+  #AX_CFLAGS_WARN_ALL_ANSI([flags])
   AM_CFLAGS="$AM_CFLAGS $flags"
 fi
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to