Sun Mar 4 11:19:07 2012 UTC ()
fix build on i386 without SSE/SSE2 support.


(obache)
diff -r1.34 -r1.35 pkgsrc/multimedia/gst-plugins0.10-base/distinfo
diff -r0 -r1.1 pkgsrc/multimedia/gst-plugins0.10-base/patches/patch-gst_audioresample_resample.c

cvs diff -r1.34 -r1.35 pkgsrc/multimedia/gst-plugins0.10-base/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/multimedia/gst-plugins0.10-base/Attic/distinfo 2012/02/28 18:28:14 1.34
+++ pkgsrc/multimedia/gst-plugins0.10-base/Attic/distinfo 2012/03/04 11:19:06 1.35
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.34 2012/02/28 18:28:14 drochner Exp $ 1$NetBSD: distinfo,v 1.35 2012/03/04 11:19:06 obache Exp $
2 2
3SHA1 (gst-plugins-base-0.10.36.tar.bz2) = e675401b62a6bf2e5ea966e833afd005a585e978 3SHA1 (gst-plugins-base-0.10.36.tar.bz2) = e675401b62a6bf2e5ea966e833afd005a585e978
4RMD160 (gst-plugins-base-0.10.36.tar.bz2) = b601372b3a1c04de63f69ba350c5010c99dbc6ae 4RMD160 (gst-plugins-base-0.10.36.tar.bz2) = b601372b3a1c04de63f69ba350c5010c99dbc6ae
5Size (gst-plugins-base-0.10.36.tar.bz2) = 3036143 bytes 5Size (gst-plugins-base-0.10.36.tar.bz2) = 3036143 bytes
6SHA1 (patch-ab) = 17a44f9b50d4acf9b0effd80911698a2f9813e4d 6SHA1 (patch-ab) = 17a44f9b50d4acf9b0effd80911698a2f9813e4d
7SHA1 (patch-ac) = a8a56dc16f3cc908d93aaed810fc5a9c6a875cc2 7SHA1 (patch-ac) = a8a56dc16f3cc908d93aaed810fc5a9c6a875cc2
 8SHA1 (patch-gst_audioresample_resample.c) = 77a88286c74df80f5f724c922a5ecec0341d4788

File Added: pkgsrc/multimedia/gst-plugins0.10-base/patches/Attic/patch-gst_audioresample_resample.c
$NetBSD: patch-gst_audioresample_resample.c,v 1.1 2012/03/04 11:19:07 obache Exp $

* fix build on i386 without SSE/SSE2 support.
https://bugzilla.gnome.org/show_bug.cgi?id=670690

--- gst/audioresample/resample.c.orig	2011-12-30 13:29:15.000000000 +0000
+++ gst/audioresample/resample.c
@@ -77,13 +77,13 @@
 #define EXPORT G_GNUC_INTERNAL
 
 #ifdef _USE_SSE
-#ifndef HAVE_XMMINTRIN_H
+#ifndef __SSE__
 #undef _USE_SSE
 #endif
 #endif
 
 #ifdef _USE_SSE2
-#ifndef HAVE_EMMINTRIN_H
+#ifndef __SSE2__
 #undef _USE_SSE2
 #endif
 #endif