summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-08-02 19:09:45 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-08-02 19:09:45 +0000
commitbc6ba43867dce32721d8ee015b426d74052fd5d5 (patch)
tree1ce4f20163274d6c3d40b0d8abc1e9e25f9ad13a /multimedia/xine-lib/patches
parent27dd968e6f739ff816a8c9ed3c5a9d7f91da4650 (diff)
downloadpkgsrc-bc6ba43867dce32721d8ee015b426d74052fd5d5.tar.gz
There is a problem compiling multimedia/xine-lib in that the "extra"
assembly language module zoom_filter_xmmx.c breaks when optimized. Some googling indicates that this is also encountered with FreeBSD and Linux. A review of the CVS tree for xine shows that this module has been removed. As as module is only built if MMX is detected (HAVE_FFMMX defined) removing the module should not break anything; that is the approach taken in this new patch that removes building zoom_filter_xmmx from Makefile.in for xineplug_post_goom.la
Diffstat (limited to 'multimedia/xine-lib/patches')
-rw-r--r--multimedia/xine-lib/patches/patch-aw26
1 files changed, 26 insertions, 0 deletions
diff --git a/multimedia/xine-lib/patches/patch-aw b/multimedia/xine-lib/patches/patch-aw
new file mode 100644
index 00000000000..51cf30419b5
--- /dev/null
+++ b/multimedia/xine-lib/patches/patch-aw
@@ -0,0 +1,26 @@
+$NetBSD: patch-aw,v 1.1 2004/08/02 19:09:45 shannonjr Exp $
+
+--- src/post/goom/Makefile.in.orig 2004-06-20 18:23:58.000000000 -0600
++++ src/post/goom/Makefile.in
+@@ -412,7 +412,6 @@ EXTRA_DIST = zoom_filter_mmx.c zoom_filt
+
+ lib_LTLIBRARIES = xineplug_post_goom.la
+
+-@HAVE_FFMMX_TRUE@@PPC_ARCH_FALSE@extra_files = zoom_filter_mmx.c zoom_filter_xmmx.c
+ @HAVE_FFMMX_TRUE@@PPC_ARCH_FALSE@MMX_CFLAG = -DHAVE_MMX
+
+ xineplug_post_goom_la_SOURCES = $(extra_files) xine_goom.c \
+@@ -445,12 +444,10 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+ xineplug_post_goom_la_DEPENDENCIES = \
+ $(top_builddir)/src/xine-engine/libxine.la
+-am__xineplug_post_goom_la_SOURCES_DIST = zoom_filter_mmx.c \
++am__xineplug_post_goom_la_SOURCES_DIST = _mmx.c \
+ zoom_filter_xmmx.c xine_goom.c goom_core.c filters.c lines.c \
+ ifs_display.c ifs.c graphic.c gfontlib.c gfontrle.c surf3d.c \
+ surface.c tentacle3d.c
+-@HAVE_FFMMX_TRUE@@PPC_ARCH_FALSE@am__objects_1 = zoom_filter_mmx.lo \
+-@HAVE_FFMMX_TRUE@@PPC_ARCH_FALSE@ zoom_filter_xmmx.lo
+ am_xineplug_post_goom_la_OBJECTS = $(am__objects_1) xine_goom.lo \
+ goom_core.lo filters.lo lines.lo ifs_display.lo ifs.lo \
+ graphic.lo gfontlib.lo gfontrle.lo surf3d.lo surface.lo \