Author: arekm Date: Thu Jul 9 08:16:15 2009 GMT Module: packages Tag: HEAD ---- Log message: - rel 2; fix ppc build
---- Files affected: packages/libmpeg2: libmpeg2.spec (1.2 -> 1.3) , libmpeg2-ppc.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libmpeg2/libmpeg2.spec diff -u packages/libmpeg2/libmpeg2.spec:1.2 packages/libmpeg2/libmpeg2.spec:1.3 --- packages/libmpeg2/libmpeg2.spec:1.2 Thu Jun 18 11:35:19 2009 +++ packages/libmpeg2/libmpeg2.spec Thu Jul 9 10:16:09 2009 @@ -3,11 +3,12 @@ Summary(pl.UTF-8): Dekoder plików MPEG-2 Name: libmpeg2 Version: 0.5.1 -Release: 1 +Release: 2 License: GPL Group: X11/Applications/Graphics Source0: http://libmpeg2.sourceforge.net/files/%{name}-%{version}.tar.gz # Source0-md5: 0f92c7454e58379b4a5a378485bbd8ef +Patch0: %{name}-ppc.patch URL: http://libmpeg2.sourceforge.net/ BuildRequires: SDL-devel BuildRequires: autoconf @@ -71,6 +72,7 @@ %prep %setup -q +%patch0 -p1 %build CFLAGS="%{rpmcflags} -DCOFFEE_BREAK=1" @@ -133,6 +135,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.3 2009/07/09 08:16:09 arekm +- rel 2; fix ppc build + Revision 1.2 2009/06/18 09:35:19 patrys - try disabling workarounds ================================================================ Index: packages/libmpeg2/libmpeg2-ppc.patch diff -u /dev/null packages/libmpeg2/libmpeg2-ppc.patch:1.1 --- /dev/null Thu Jul 9 10:16:15 2009 +++ packages/libmpeg2/libmpeg2-ppc.patch Thu Jul 9 10:16:09 2009 @@ -0,0 +1,20 @@ +--- libmpeg2-0.5.1/configure.ac~ 2009-07-09 10:07:51.000000000 +0200 ++++ libmpeg2-0.5.1/configure.ac 2009-07-09 10:08:42.000000000 +0200 +@@ -76,13 +76,15 @@ + for TRY_CFLAGS in "-mpim-altivec -force_cpusubtype_ALL" -faltivec -maltivec -fvec; do + AC_TRY_CFLAGS([$OPT_CFLAGS $TRY_CFLAGS $CFLAGS], + [save_CFLAGS="$CFLAGS" +- CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS" ++ CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS -Werror" + AC_MSG_CHECKING([if <altivec.h> is needed]) + AC_TRY_COMPILE([], + [typedef vector int t; + vec_ld(0, (unsigned char *)0);], + [have_altivec=yes; AC_MSG_RESULT(no)], +- [AC_TRY_COMPILE([#include <altivec.h>], ++ [CFLAGS="$save_CFLAGS" ++ CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS" ++ AC_TRY_COMPILE([#include <altivec.h>], + [typedef vector int t; vec_ld(0, (unsigned char *)0);], + [AC_DEFINE([HAVE_ALTIVEC_H],, + [Define to 1 if you have the <altivec.h> header.]) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libmpeg2/libmpeg2.spec?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
