diff options
author | marino <marino@pkgsrc.org> | 2012-01-07 20:44:32 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-01-07 20:44:32 +0000 |
commit | 93ae9641a66d11ea92ffeece4c9395bcca76bb17 (patch) | |
tree | 43d67162a5c8917751f65ceaee2309a8286f6a39 /www | |
parent | e65297f9e7a2f7b45d03a56cc10090c024f6a413 (diff) | |
download | pkgsrc-93ae9641a66d11ea92ffeece4c9395bcca76bb17.tar.gz |
www/seamonkey: PR#45629 (webm assy optimization for DragonFly)
These patches enable optimizations that allow video play w/o stuttering.
Other i386 and x86_64 platforms need the same optimizations, so this is
only a partial fix of the PR.
Diffstat (limited to 'www')
-rw-r--r-- | www/seamonkey/Makefile | 5 | ||||
-rw-r--r-- | www/seamonkey/distinfo | 4 | ||||
-rw-r--r-- | www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config.h | 18 | ||||
-rw-r--r-- | www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config_c.c | 18 |
4 files changed, 42 insertions, 3 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index 6526f9b55be..bf544878082 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.58 2012/01/06 07:36:38 sbd Exp $ +# $NetBSD: Makefile,v 1.59 2012/01/07 20:44:32 marino Exp $ # DISTNAME= seamonkey-${SM_VER}.source @@ -24,7 +24,8 @@ ALL_ENV+= MOZILLA_PKG_NAME=seamonkey .include "../../mk/bsd.prefs.mk" -.if (${OPSYS} == "Linux" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin") && \ +.if (${OPSYS} == "Linux" || ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || \ + ${OPSYS} == "DragonFly") && \ (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") BUILD_DEPENDS+= yasm>=1.1.0:../../devel/yasm .endif diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo index f4cc6fd9008..9523f5597dc 100644 --- a/www/seamonkey/distinfo +++ b/www/seamonkey/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.71 2011/12/23 01:16:27 joerg Exp $ +$NetBSD: distinfo,v 1.72 2012/01/07 20:44:32 marino Exp $ SHA1 (seamonkey-2.5b4.source.tar.bz2) = 74b8b9a415b97e4e3242db516fa57ed8b9f43dfe RMD160 (seamonkey-2.5b4.source.tar.bz2) = 1ed9a59457b7bafe2aed2071908822b98225dddc @@ -57,6 +57,8 @@ SHA1 (patch-mk) = 3c25934e0c7b9277d96a5635b961e1fb6682ab7b SHA1 (patch-ml) = ef7d87fff48f298f4c1ed037439eaf8c7c574f68 SHA1 (patch-mm) = f54286fe1acef3202d728b3e83cbd65cffe8ab12 SHA1 (patch-mn) = 3a1c25a3f5a1532331424fc1e720f35cd0ed5d5b +SHA1 (patch-mozilla_media_libvpx_vpx_config.h) = a687b2763b12e822a681f2610c2766568db16ec2 +SHA1 (patch-mozilla_media_libvpx_vpx_config_c.c) = a1e6294605cd852a90731b38ff82d2437c228878 SHA1 (patch-mozilla_xpcom_idl-parser_header.py) = 38313ee3f2f7b45d4968c08be0af3ff36560baff SHA1 (patch-mp) = 673ba7fb0426d13699ead5fbcf762d8adb6baf40 SHA1 (patch-pa) = a41a2dadd3b1c902f85632a4b57008a789b269bc diff --git a/www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config.h b/www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config.h new file mode 100644 index 00000000000..c9aa4c34309 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config.h @@ -0,0 +1,18 @@ +$NetBSD: patch-mozilla_media_libvpx_vpx_config.h,v 1.1 2012/01/07 20:44:32 marino Exp $ + +--- mozilla/media/libvpx/vpx_config.h.orig 2011-11-07 21:08:15.000000000 +0000 ++++ mozilla/media/libvpx/vpx_config.h +@@ -12,11 +12,11 @@ + /* 32 bit MacOS. */ + #include "vpx_config_x86-darwin9-gcc.h" + +-#elif defined(__linux__) && defined(__i386__) ++#elif (defined(__linux__) || defined(__DragonFly__)) && defined(__i386__) + /* 32 bit Linux. */ + #include "vpx_config_x86-linux-gcc.h" + +-#elif defined(__linux__) && defined(__x86_64__) ++#elif (defined(__linux__) || defined(__DragonFly__)) && defined(__x86_64__) + /* 64 bit Linux. */ + #include "vpx_config_x86_64-linux-gcc.h" + diff --git a/www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config_c.c b/www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config_c.c new file mode 100644 index 00000000000..0b0569a7764 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_libvpx_vpx_config_c.c @@ -0,0 +1,18 @@ +$NetBSD: patch-mozilla_media_libvpx_vpx_config_c.c,v 1.1 2012/01/07 20:44:32 marino Exp $ + +--- mozilla/media/libvpx/vpx_config_c.c.orig 2011-11-07 21:08:15.000000000 +0000 ++++ mozilla/media/libvpx/vpx_config_c.c +@@ -12,11 +12,11 @@ + /* 32 bit MacOS. */ + #include "vpx_config_x86-darwin9-gcc.c" + +-#elif defined(__linux__) && defined(__i386__) ++#elif (defined(__linux__) || defined(__DragonFly__)) && defined(__i386__) + /* 32 bit Linux. */ + #include "vpx_config_x86-linux-gcc.c" + +-#elif defined(__linux__) && defined(__x86_64__) ++#elif (defined(__linux__) || defined(__DragonFly__)) && defined(__x86_64__) + /* 64 bit Linux. */ + #include "vpx_config_x86_64-linux-gcc.c" + |