Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2019-04-04 15:22:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and      /work/SRC/openSUSE:Factory/.clanlib.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clanlib"

Thu Apr  4 15:22:49 2019 rev:40 rq:691013 version:2.3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2018-01-23 
13:52:47.474169627 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new.3908/clanlib.changes        
2019-04-04 15:29:24.214944151 +0200
@@ -1,0 +2,9 @@
+Tue Mar 26 07:03:44 UTC 2019 - [email protected]
+
+- Use alsa API properly. Consumers are expected to use
+  <alsa/asoundlib.h> instead of <asoundlib.h>.
+  This is in preparation of an change to pkgconfig(alsa) to
+  not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333)
+  clanlib-alsa.patch
+
+-------------------------------------------------------------------

New:
----
  clanlib-alsa.patch

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

Other differences:
------------------
++++++ clanlib-doc.spec ++++++
--- /var/tmp/diff_new_pack.dtTjg3/_old  2019-04-04 15:29:26.750945128 +0200
+++ /var/tmp/diff_new_pack.dtTjg3/_new  2019-04-04 15:29:26.754945129 +0200
@@ -68,6 +68,8 @@
 
 %prep
 %setup -q -n ClanLib-%{version}
+
+%build
 find Examples -name \*.sln -o -name \*.vcproj -o -name \*.vcxproj\* | xargs rm 
-f
 dos2unix Examples/Game/SpritesRTS/resources.xml 
Examples/Database/SQL/Database/create_database.sql \
        Examples/3D/Chess3D/Resources/Sponza/readme.txt 
Examples/3D/Chess3D/Resources/skybox_fragment.glsl \
@@ -76,7 +78,6 @@
        Examples/3D/Clan3D/Resources/teapot.dae \
        Examples/Game/TileMap/Resources/tileset.txt
 
-%build
 %configure --with-pic --disable-static --enable-docs
 make %{?_smp_mflags} html
 

++++++ clanlib.spec ++++++
--- /var/tmp/diff_new_pack.dtTjg3/_old  2019-04-04 15:29:26.766945134 +0200
+++ /var/tmp/diff_new_pack.dtTjg3/_new  2019-04-04 15:29:26.766945134 +0200
@@ -32,6 +32,7 @@
 Patch1:         clanlib-cpuid.patch
 # Use std=gnu++11 option for ppc64le
 Patch2:         stdgnu++11.patch
+Patch3:         clanlib-alsa.patch
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
@@ -68,10 +69,7 @@
 ClanLib delivers a platform independent interface to write games with.
 
 %prep
-%setup -q -n ClanLib-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%autosetup -p1 -n ClanLib-%{version}
 
 %build
 %configure --with-pic --disable-static --disable-docs

++++++ clanlib-alsa.patch ++++++
--- a/Sources/Sound/Unix/soundoutput_alsa.h
+++ b/Sources/Sound/Unix/soundoutput_alsa.h
@@ -36,9 +36,6 @@
 #ifdef HAVE_ALSA_ASOUNDLIB_H
 #include <alsa/asoundlib.h> 
 #endif
-#ifdef HAVE_ASOUNDLIB_H
-#include <asoundlib.h>
-#endif
 
 class CL_SoundOutput_alsa : public CL_SoundOutput_Impl
 {
--- a/configure.ac
+++ b/configure.ac
@@ -520,7 +520,7 @@ if test "$enable_clanSound" != "no"; the
        sound_libs=""
        have_alsa=no
        AC_CHECK_LIB(ossaudio, _oss_ioctl, sound_libs=-lossaudio)
-       AC_CHECK_HEADERS(asoundlib.h alsa/asoundlib.h, [have_alsa=yes && break])
+       AC_CHECK_HEADERS(alsa/asoundlib.h, [have_alsa=yes && break])
        if test "$have_alsa" != "no"; then
                sound_libs="$sound_libs -lasound"
        fi
--- a/configure
+++ b/configure
@@ -17415,7 +17415,7 @@ if test "x$ac_cv_lib_ossaudio__oss_ioctl
   sound_libs=-lossaudio
 fi
 
-       for ac_header in asoundlib.h alsa/asoundlib.h
+       for ac_header in alsa/asoundlib.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" 
"$ac_includes_default"

Reply via email to