pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/gnash Update to 0.8.3nb2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d64dccc0b13f
branches:  trunk
changeset: 544061:d64dccc0b13f
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Jul 07 08:34:54 2008 +0000

description:
Update to 0.8.3nb2
    - If the system defines isnan() and isinf() then undef them before using
      gnash specific versions (which in the case of isnan() has different
      numbers of arguments). Fixes build on NetBSD-4.0

diffstat:

 multimedia/gnash/Makefile         |   4 ++--
 multimedia/gnash/distinfo         |   3 ++-
 multimedia/gnash/patches/patch-ac |  24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (58 lines):

diff -r a2c23e22353d -r d64dccc0b13f multimedia/gnash/Makefile
--- a/multimedia/gnash/Makefile Mon Jul 07 04:01:30 2008 +0000
+++ b/multimedia/gnash/Makefile Mon Jul 07 08:34:54 2008 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.17 2008/06/22 20:15:51 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2008/07/07 08:34:54 abs Exp $
 #
 
 DISTNAME=              gnash-${VER}
 VER=                   0.8.3
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            multimedia
 MASTER_SITES=          ${MASTER_SITE_GNU:=gnash/${VER}/}
 EXTRACT_SUFX=          .tar.bz2
diff -r a2c23e22353d -r d64dccc0b13f multimedia/gnash/distinfo
--- a/multimedia/gnash/distinfo Mon Jul 07 04:01:30 2008 +0000
+++ b/multimedia/gnash/distinfo Mon Jul 07 08:34:54 2008 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.11 2008/06/22 20:15:51 wiz Exp $
+$NetBSD: distinfo,v 1.12 2008/07/07 08:34:54 abs Exp $
 
 SHA1 (gnash-0.8.3.tar.bz2) = 3cd4a0930e772a42b0155295fca292fd94be7c42
 RMD160 (gnash-0.8.3.tar.bz2) = f7bf4d06d35c3ad40df4419b179fc6482731854b
 Size (gnash-0.8.3.tar.bz2) = 2902610 bytes
 SHA1 (patch-aa) = 05460170941019168fa072c803ad60eac919e44a
 SHA1 (patch-ab) = 485aa9fbb3deaeb4b238d1f66d8d6552fd11ab90
+SHA1 (patch-ac) = 6454620529a281c707f7ccf68eb17c0754dfe7a7
 SHA1 (patch-ae) = d4f18032bc091e5ef84fcb81f16ea649c5c20701
 SHA1 (patch-ag) = f4f82df7bff71464cdb3a76b91c4b2475a8e9eef
diff -r a2c23e22353d -r d64dccc0b13f multimedia/gnash/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gnash/patches/patch-ac Mon Jul 07 08:34:54 2008 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1 2008/07/07 08:34:55 abs Exp $
+
+--- server/as_value.h.orig     2008-05-05 22:02:01.000000000 +0100
++++ server/as_value.h
+@@ -65,6 +65,9 @@ class asName;
+ // The following template works just like its C counterpart, with added
+ // type safety (i.e., they will only compile for floating point arguments).
+ 
++#ifdef isnan
++# undef isnan
++#endif /* isnan */
+ template <typename T>
+ inline bool
+ isnan(const T& num, typename boost::enable_if<boost::is_floating_point<T> >::type* dummy = 0)
+@@ -73,6 +76,9 @@ isnan(const T& num, typename boost::enab
+       return num != num;
+ }
+ 
++#ifdef isinf
++# undef isinf
++#endif /* isinf */
+ #define isinf(x) (isnan(x - x))
+ 
+ /// Use this methods to obtain a properly-formatted property name



Home | Main Index | Thread Index | Old Index