diff options
author | drochner <drochner@pkgsrc.org> | 2005-01-06 14:40:45 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2005-01-06 14:40:45 +0000 |
commit | 396693cd152964c5e25d4982f21e85a815df9efe (patch) | |
tree | 0d6dfd11d117fa358788b494d493d92c9ce81bb2 /multimedia | |
parent | d14c3a6198524cf9f1b3433a83df0552fdfb0a77 (diff) | |
download | pkgsrc-396693cd152964c5e25d4982f21e85a815df9efe.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" ); |