pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/gnash
Module Name: pkgsrc
Committed By: richard
Date: Mon Aug 15 12:26:54 UTC 2016
Modified Files:
pkgsrc/multimedia/gnash: Makefile distinfo
pkgsrc/multimedia/gnash/patches: patch-aa
Added Files:
pkgsrc/multimedia/gnash/patches: patch-libdevice_GnashDevice.h
Log Message:
Some fixes for SunOS
- define BSD_COMP for the build,
- avoid configure issues using non quoted 'which',
- and NODEV needs to be undefined prior to using the name in an enum as
it is defined by SunOS system headers unfortunately.
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 pkgsrc/multimedia/gnash/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/multimedia/gnash/distinfo
cvs rdiff -u -r1.16 -r1.17 pkgsrc/multimedia/gnash/patches/patch-aa
cvs rdiff -u -r0 -r1.1 \
pkgsrc/multimedia/gnash/patches/patch-libdevice_GnashDevice.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/gnash/Makefile
diff -u pkgsrc/multimedia/gnash/Makefile:1.97 pkgsrc/multimedia/gnash/Makefile:1.98
--- pkgsrc/multimedia/gnash/Makefile:1.97 Wed Aug 3 10:23:11 2016
+++ pkgsrc/multimedia/gnash/Makefile Mon Aug 15 12:26:54 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.97 2016/08/03 10:23:11 adam Exp $
+# $NetBSD: Makefile,v 1.98 2016/08/15 12:26:54 richard Exp $
DISTNAME= gnash-0.8.10
PKGREVISION= 45
@@ -34,6 +34,8 @@ CONF_FILES+= ${EGDIR}/gnashrc ${PKG_SYS
.include "options.mk"
+CPPFLAGS.SunOS+= -DBSD_COMP
+
#ld: .libs/libgnashplugin_la-plugin.o(.text+0x5564): unresolvable relocation
# against symbol `_ZNKSs5c_strEv'
BUILDLINK_TRANSFORM+= rm:-fvisibility-inlines-hidden
Index: pkgsrc/multimedia/gnash/distinfo
diff -u pkgsrc/multimedia/gnash/distinfo:1.27 pkgsrc/multimedia/gnash/distinfo:1.28
--- pkgsrc/multimedia/gnash/distinfo:1.27 Wed Sep 23 12:00:53 2015
+++ pkgsrc/multimedia/gnash/distinfo Mon Aug 15 12:26:54 2016
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.27 2015/09/23 12:00:53 joerg Exp $
+$NetBSD: distinfo,v 1.28 2016/08/15 12:26:54 richard Exp $
SHA1 (gnash-0.8.10.tar.bz2) = be3b12a5edcd3b05f2ae73d02f0991aa786e7300
RMD160 (gnash-0.8.10.tar.bz2) = 0093174ec0a912309772c033b5f1c1ad46ab41dc
Size (gnash-0.8.10.tar.bz2) = 4238106 bytes
-SHA1 (patch-aa) = 5e3cfa0c21f6bd9ad01ce4c9f68f245316d063a3
+SHA1 (patch-aa) = 243e32949c0c032f678d40c6bbf26b33bb6ccfaf
SHA1 (patch-ae) = ca44e2559a1ce0a24baf6d5479636f967e011202
SHA1 (patch-libbase_GnashImageGif.cpp) = cbe8fa60ba51f2f98c801135cbeec18a7424baf4
SHA1 (patch-libbase_GnashSleep.h) = f713b29feb0153efa24c10df20e0ac8342b88265
@@ -15,6 +15,7 @@ SHA1 (patch-libcore_DragState.h) = d6029
SHA1 (patch-libcore_Makefile.in) = 6b92917f0be3779b7f6e1993ac29960cef50c736
SHA1 (patch-libcore_movie__root.cpp) = 5ee7321011961427effd7951860cbf5f3c0b0a6f
SHA1 (patch-libcore_swf_DefineButtonTag.h) = 42e01cca7a5017349a3a0a31f1eb6b2aeb1f33fd
+SHA1 (patch-libdevice_GnashDevice.h) = e1df642675bb1e876f02d7611d2cdc81924d17c6
SHA1 (patch-libmedia_FLVParser.cpp) = e990c82edceb3c5d481d7de86e720139b4dc60ea
SHA1 (patch-libmedia_Makefile.in) = 10fde4560a20dcb28599d8c51a4fc7af93109474
SHA1 (patch-librender_Makefile.in) = 25e38d82e3ecc156ff1f2b855a05437da015f3ce
Index: pkgsrc/multimedia/gnash/patches/patch-aa
diff -u pkgsrc/multimedia/gnash/patches/patch-aa:1.16 pkgsrc/multimedia/gnash/patches/patch-aa:1.17
--- pkgsrc/multimedia/gnash/patches/patch-aa:1.16 Tue Feb 26 11:04:25 2013
+++ pkgsrc/multimedia/gnash/patches/patch-aa Mon Aug 15 12:26:54 2016
@@ -1,4 +1,7 @@
-$NetBSD: patch-aa,v 1.16 2013/02/26 11:04:25 joerg Exp $
+$NetBSD: patch-aa,v 1.17 2016/08/15 12:26:54 richard Exp $
+
+add quotes when testing with 'which' as, on at least SunOS, it doesn't
+return an empty string when the object isn't found.
--- configure.orig 2012-01-19 19:19:29.000000000 +0000
+++ configure
@@ -61,3 +64,21 @@ $NetBSD: patch-aa,v 1.16 2013/02/26 11:0
cygnal_boost_libs="serialization date_time"
+@@ -50203,7 +50206,7 @@ yast_war="`cat $yast_war`"
+ yast_rec="`cat $yast_rec`"
+
+ # Pipe stderr to /dev/null since Fedora complains when target isn't there.
+-if test x`which apt-get 2>/dev/null` != x; then
++if test x"`which apt-get 2>/dev/null`" != x; then
+ if test x"$deb_err" != x -o x"$deb_war" != x -o x"$deb_rec" != x; then
+ echo "#!/bin/sh" > deb-attempt-install-dependencies.sh
+ echo "packages=\"$deb_err $deb_war $deb_rec\"" >> deb-attempt-install-dependencies.sh
+@@ -50216,7 +50219,7 @@ if test x`which apt-get 2>/dev/null` !=
+ fi
+ fi
+
+-if test x`which yum 2>/dev/null` != x; then
++if test x"`which yum 2>/dev/null`" != x; then
+ if test x"$rpm_err" != x -o x"$rpm_war" != x -o x"$deb_rec" != x; then
+ echo "#!/bin/sh" > rpm-attempt-install-dependencies.sh
+ echo "packages=\"$rpm_err $rpm_war $rpm_rec\"" >> rpm-attempt-install-dependencies.sh
Added files:
Index: pkgsrc/multimedia/gnash/patches/patch-libdevice_GnashDevice.h
diff -u /dev/null pkgsrc/multimedia/gnash/patches/patch-libdevice_GnashDevice.h:1.1
--- /dev/null Mon Aug 15 12:26:54 2016
+++ pkgsrc/multimedia/gnash/patches/patch-libdevice_GnashDevice.h Mon Aug 15 12:26:54 2016
@@ -0,0 +1,17 @@
+$NetBSD: patch-libdevice_GnashDevice.h,v 1.1 2016/08/15 12:26:54 richard Exp $
+
+Avoid enum name clash with NODEV, unfortunately defined in sys/types.h
+and sys/params.h on solaris.
+
+--- libdevice/GnashDevice.h.orig 2012-01-19 19:17:48.000000000 +0000
++++ libdevice/GnashDevice.h
+@@ -45,6 +45,9 @@ struct GnashDevice
+ /// The list of supported renders that use devices
+ typedef enum {OPENVG, OPENGL, OPENGLES1, OPENGLES2, XORG, VAAPI} rtype_t;
+ /// The list of supported device types
++#ifdef NODEV
++#undef NODEV
++#endif
+ typedef enum {NODEV, EGL, DIRECTFB, X11, RAWFB} dtype_t;
+
+ GnashDevice(int argc, char *argv[]);
Home |
Main Index |
Thread Index |
Old Index