diff options
author | drochner <drochner> | 2005-01-06 14:40:45 +0000 |
---|---|---|
committer | drochner <drochner> | 2005-01-06 14:40:45 +0000 |
commit | 5f0d20d265ba32cd0fb3a62f537b6ae60bea7df4 (patch) | |
tree | 0d6dfd11d117fa358788b494d493d92c9ce81bb2 /multimedia | |
parent | 8b25bfb3734d75392845c618a120e8607458166b (diff) | |
download | pkgsrc-5f0d20d265ba32cd0fb3a62f537b6ae60bea7df4.tar.gz |
SSE(2) support is always present on amd64 - ifdef out the sysctl
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mplayer-share/distinfo | 3 | ||||
-rw-r--r-- | multimedia/mplayer-share/patches/patch-ae | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/multimedia/mplayer-share/distinfo b/multimedia/mplayer-share/distinfo index f995f764c83..4f3a9b6fb46 100644 --- a/multimedia/mplayer-share/distinfo +++ b/multimedia/mplayer-share/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2005/01/05 15:39:15 drochner Exp $ +$NetBSD: distinfo,v 1.16 2005/01/06 14:40:45 drochner Exp $ SHA1 (mplayer-1.0rc6/MPlayer-1.0pre6a.tar.bz2) = 15acd1edf1e6ebb1dada81cdfcbfd3bc62d6bc0c Size (mplayer-1.0rc6/MPlayer-1.0pre6a.tar.bz2) = 6380482 bytes @@ -12,3 +12,4 @@ SHA1 (patch-aa) = 7f0a858c226fb0e1e0382bff4e31817d510ffca1 SHA1 (patch-ab) = 68e81c67cd3902499f912d3ca8c6d6bc208a2433 SHA1 (patch-ac) = 696183adc3777cb4d9bc4b6d96d5cb7c88ec489d SHA1 (patch-ad) = 95c8741263b822e20eea3da00ca64923ed91c53b +SHA1 (patch-ae) = e3b1a98d86f377b84a4f92673f878d287ae5aa6d diff --git a/multimedia/mplayer-share/patches/patch-ae b/multimedia/mplayer-share/patches/patch-ae new file mode 100644 index 00000000000..2a3c88af479 --- /dev/null +++ b/multimedia/mplayer-share/patches/patch-ae @@ -0,0 +1,23 @@ +$NetBSD: patch-ae,v 1.3 2005/01/06 14:40:45 drochner Exp $ + +--- cpudetect.c.orig 2005-01-06 13:37:02.000000000 +0100 ++++ cpudetect.c +@@ -330,6 +330,10 @@ static void check_os_katmai_support( voi + + #elif defined(__NetBSD__) || defined (__OpenBSD__) + #if __NetBSD_Version__ >= 105250000 || (defined __OpenBSD__) ++#ifdef __x86_64__ ++ gCpuCaps.hasSSE=1; ++ gCpuCaps.hasSSE2=1; ++#else + int has_sse, has_sse2, ret, mib[2]; + size_t varlen; + +@@ -358,6 +362,7 @@ static void check_os_katmai_support( voi + gCpuCaps.hasSSE2=1; + mp_msg(MSGT_CPUDETECT,MSGL_V, "yes!\n" ); + } ++#endif /* x86_64 */ + #else + gCpuCaps.hasSSE = 0; + mp_msg(MSGT_CPUDETECT,MSGL_WARN, "No OS support for SSE, disabling to be safe.\n" ); |