Hello community, here is the log from the commit of package libsndfile for openSUSE:Factory checked in at 2011-11-28 12:54:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsndfile (Old) and /work/SRC/openSUSE:Factory/.libsndfile.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsndfile", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libsndfile/libsndfile.changes 2011-11-23 19:36:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libsndfile.new/libsndfile.changes 2011-11-28 12:54:21.000000000 +0100 @@ -1,0 +2,11 @@ +Thu Nov 24 11:02:11 CET 2011 - [email protected] + +- add missing provides/obsoletes for libsndfile -> libsndfile1 + rename (bnc#732565) + +------------------------------------------------------------------- +Thu Nov 24 01:54:21 UTC 2011 - [email protected] + +- use O_CLOEXEC in library code. + +------------------------------------------------------------------- New: ---- sndfile-ocloexec.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsndfile.spec ++++++ --- /var/tmp/diff_new_pack.h0kom1/_old 2011-11-28 12:54:22.000000000 +0100 +++ /var/tmp/diff_new_pack.h0kom1/_new 2011-11-28 12:54:22.000000000 +0100 @@ -45,6 +45,7 @@ Patch0: libsndfile-example-fix.diff # PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: libsndfile-paf-zero-division-fix.diff +Patch2: sndfile-ocloexec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -56,6 +57,8 @@ %package -n %lname Summary: A Library to Handle Various Audio File Formats Group: System/Libraries +Provides: %{name} = %{version} +Obsoletes: %{name} <= 1.0.25 %description -n %lname Libsndfile is a C library for reading and writing sound files, such @@ -85,10 +88,11 @@ %setup -q %patch0 %patch1 -p1 +%patch2 %build %define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter -# autoreconf --force --install +autoreconf --force --install CFLAGS="%{optflags} %{warn_flags}" export CFLAGS %configure --disable-silent-rules \ ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.h0kom1/_old 2011-11-28 12:54:22.000000000 +0100 +++ /var/tmp/diff_new_pack.h0kom1/_new 2011-11-28 12:54:22.000000000 +0100 @@ -1 +1,3 @@ libsndfile1 + provides "libsndfile-<targettype> = <version>" + obsoletes "libsndfile-<targettype> <= 1.0.25" ++++++ sndfile-ocloexec.patch ++++++ --- configure.ac.orig +++ configure.ac @@ -23,7 +23,9 @@ AC_SUBST(ACLOCAL_AMFLAGS, "-I M4") AC_LANG([C]) -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AM_PROG_CC_C_O AC_PROG_CXX AC_PROG_SED --- src/file_io.c.orig +++ src/file_io.c @@ -564,6 +564,9 @@ psf_open_fd (PSF_FILE * pfile) return - SFE_BAD_OPEN_MODE ; break ; } ; +#ifdef O_CLOEXEC + oflag |= O_CLOEXEC; +#endif if (mode == 0) fd = open (pfile->path.c, oflag) ; --- Makefile.am.orig +++ Makefile.am @@ -1,5 +1,6 @@ ## Process this file with automake to produce Makefile.in +ACLOCAL_AMFLAGS = -I M4 DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror if BUILD_OCTAVE_MOD -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
