Hello community, here is the log from the commit of package libdv for openSUSE:Factory checked in at Mon Sep 5 16:35:07 CEST 2011. -------- --- libdv/libdv.changes 2011-07-08 16:45:04.000000000 +0200 +++ /mounts/work_src_done/STABLE/libdv/libdv.changes 2011-09-03 22:33:01.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Sep 3 20:32:28 UTC 2011 - crrodriguez@opensuse.org + +- Fix build with no-add-needed + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- libdv-fix-no-add-needed.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdv.spec ++++++ --- /var/tmp/diff_new_pack.kYUZO0/_old 2011-09-05 16:34:18.000000000 +0200 +++ /var/tmp/diff_new_pack.kYUZO0/_new 2011-09-05 16:34:18.000000000 +0200 @@ -19,7 +19,8 @@ Name: libdv -BuildRequires: SDL-devel gtk2-devel libstdc++-devel popt-devel +BuildRequires: SDL-devel gtk2-devel popt-devel +BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel %if 0%{?suse_version} >= 1210 BuildRequires: libv4l-devel >= 0.8.4 %endif @@ -33,7 +34,7 @@ %endif # Version: 1.0.0 -Release: 158 +Release: 160 Summary: The Quasar DV Codec Source: %name-%version.tar.bz2 Source2: baselibs.conf @@ -45,6 +46,7 @@ Patch4: libdv-filesizecheck.patch Patch5: libdv-1.0.0-textrels-selinux.patch Patch6: libdv-v4l-2.6.38.patch +Patch7: libdv-fix-no-add-needed.patch %description The Quasar DV codec (libdv) is a software codec for DV video, the @@ -129,8 +131,10 @@ %if 0%{?suse_version} >= 1210 %patch6 -p1 %endif +%patch7 %build +mkdir m4 autoreconf -fiv CFLAGS="${RPM_OPT_FLAGS/O2/O3} -fomit-frame-pointer -fPIC -DPIC" \ %configure --disable-static --with-pic --enable-sdl ++++++ libdv-fix-no-add-needed.patch ++++++ --- playdv/Makefile.am.orig +++ playdv/Makefile.am @@ -15,4 +15,4 @@ bin_PROGRAMS= playdv noinst_HEADERS= display.h oss.h playdv_SOURCES= playdv.c display.c display.h oss.c -playdv_LDADD= $(SDL_LIBS) $(GTK_LIBS) $(XV_LIB) ../libdv/libdv.la $(POPT_LIB) +playdv_LDADD= $(SDL_LIBS) $(GTK_LIBS) $(XV_LIB) ../libdv/libdv.la $(POPT_LIB) -lX11 -lXext --- configure.ac.orig +++ configure.ac @@ -1,20 +1,22 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(libdv/parse.c) +AC_INIT +AC_CONFIG_SRCDIR([libdv/parse.c]) dnl AC_CONFIG_AUX_DIR(config) -AM_CONFIG_HEADER(config.h) - +AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_MACRO_DIR([m4]) RPM_RELEASE=1 AC_CANONICAL_HOST AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(libdv, 1.0.0) AM_MAINTAINER_MODE -AC_LIBTOOL_PICMODE(no) dnl Checks for programs. AC_SUBST(CFLAGS) -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AM_PROG_AS AS="${CC}" # stupid automake bug @@ -25,9 +27,6 @@ if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall" fi -AH_TEMPLATE([_GNU_SOURCE], - [Define to enable GNU extensions of glibc, notably large file support]) - AH_TEMPLATE([YUV_420_USE_YV12], [Define to 1 to use planar YUV format for 420 blocks in IEC PAL]) @@ -49,7 +48,6 @@ AH_TEMPLATE([HAVE_GTK], AH_TEMPLATE([HAVE_LIBXV], [Define if you have the `Xv' library (-lXv).]) -AC_DEFINE(_GNU_SOURCE) AC_PROG_INSTALL AC_PROG_LIBTOOL --- Makefile.am.orig +++ Makefile.am @@ -1,3 +1,4 @@ +ACLOCAL_AMFLAGS = -I m4 if HAVE_GTK gtk_subdirs = playdv else ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org