Hello community,

here is the log from the commit of package gavl for openSUSE:Factory checked in 
at 2012-07-30 17:12:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gavl (Old)
 and      /work/SRC/openSUSE:Factory/.gavl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gavl", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/gavl/gavl.changes        2012-06-16 
11:46:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gavl.new/gavl.changes   2012-07-30 
17:12:37.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 27 11:53:44 UTC 2012 - [email protected]
+
+- fixed the -lm detection to actually work in --as-needed
+  scenarios
+
+-------------------------------------------------------------------

New:
----
  gavl-autoconf.patch

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

Other differences:
------------------
++++++ gavl.spec ++++++
--- /var/tmp/diff_new_pack.8ffgo1/_old  2012-07-30 17:12:48.000000000 +0200
+++ /var/tmp/diff_new_pack.8ffgo1/_new  2012-07-30 17:12:48.000000000 +0200
@@ -26,6 +26,8 @@
 Group:          System/Libraries
 Url:            http://gmerlin.sourceforge.net/
 Source0:        
http://sourceforge.net/projects/gmerlin/files/gavl/%{version}/gavl-%{version}.tar.gz
+Patch0:         gavl-autoconf.patch
+BuildRequires:  autoconf
 BuildRequires:  doxygen
 BuildRequires:  pkg-config
 
@@ -72,8 +74,10 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+autoconf
 %configure --docdir=%{_docdir}/%{name} --without-cpuflags
 make %{?_smp_mflags}
 

++++++ gavl-autoconf.patch ++++++
Index: gavl-1.4.0/acinclude.m4
===================================================================
--- gavl-1.4.0.orig/acinclude.m4
+++ gavl-1.4.0/acinclude.m4
@@ -46,7 +46,9 @@ AC_DEFUN([AC_C99_FUNC_LRINT],
   ac_cv_c99_lrint,
 [
 lrint_save_CFLAGS=$CFLAGS
-CFLAGS="-O2 -lm"
+lrint_save_LIBS=$LIBS
+CFLAGS="$CFLAGS -O2"
+LIBS="$LIBS -lm"
 AC_TRY_LINK([
 #define                _ISOC9X_SOURCE  1
 #define        _ISOC99_SOURCE  1
@@ -57,6 +59,7 @@ AC_TRY_LINK([
 ], if (!lrint(3.14159)) lrint(2.7183);, ac_cv_c99_lrint=yes, 
ac_cv_c99_lrint=no)
 
 CFLAGS=$lrint_save_CFLAGS
+LIBS=$lrint_save_LIBS
 
 ])
 
Index: gavl-1.4.0/configure.ac
===================================================================
--- gavl-1.4.0.orig/configure.ac
+++ gavl-1.4.0/configure.ac
@@ -129,6 +129,7 @@ fi
 dnl
 dnl Check for library functions
 dnl 
+AC_CHECK_FUNC(m,sinf)
 
 AC_CHECK_FUNCS([memalign])
 AC_CHECK_FUNCS([sched_setaffinity])
Index: gavl-1.4.0/src/Makefile.am
===================================================================
--- gavl-1.4.0.orig/src/Makefile.am
+++ gavl-1.4.0/src/Makefile.am
@@ -30,7 +30,7 @@ benchmark_LDADD = ../gavl/libgavl.la @RT
 
 
 volume_test_SOURCES = volume_test.c
-volume_test_LDADD = ../gavl/libgavl.la
+volume_test_LDADD = ../gavl/libgavl.la -lm
 
 dump_frame_table_SOURCES = dump_frame_table.c
 dump_frame_table_LDADD = ../gavl/libgavl.la
Index: gavl-1.4.0/src/Makefile.in
===================================================================
--- gavl-1.4.0.orig/src/Makefile.in
+++ gavl-1.4.0/src/Makefile.in
@@ -282,7 +282,7 @@ pixelformat_penalty_LDADD = ../gavl/libg
 benchmark_SOURCES = benchmark.c
 benchmark_LDADD = ../gavl/libgavl.la @RT_LIBS@
 volume_test_SOURCES = volume_test.c
-volume_test_LDADD = ../gavl/libgavl.la
+volume_test_LDADD = ../gavl/libgavl.la -lm
 dump_frame_table_SOURCES = dump_frame_table.c
 dump_frame_table_LDADD = ../gavl/libgavl.la
 colorspace_test_SOURCES = colorspace_test.c
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to