pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/libflash Link libflash with libstdc++ - makes...
details: https://anonhg.NetBSD.org/pkgsrc/rev/da8887fcece4
branches: trunk
changeset: 465557:da8887fcece4
user: agc <agc%pkgsrc.org@localhost>
date: Thu Jan 01 21:29:09 2004 +0000
description:
Link libflash with libstdc++ - makes the mozilla flash plugin work when
compiled with gcc3.
diffstat:
graphics/libflash/Makefile | 3 ++-
graphics/libflash/distinfo | 6 +++---
graphics/libflash/patches/patch-ab | 6 +++---
graphics/libflash/patches/patch-ah | 4 ++--
4 files changed, 10 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r e56a4061fb24 -r da8887fcece4 graphics/libflash/Makefile
--- a/graphics/libflash/Makefile Thu Jan 01 21:10:05 2004 +0000
+++ b/graphics/libflash/Makefile Thu Jan 01 21:29:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/07/21 16:51:47 martti Exp $
+# $NetBSD: Makefile,v 1.9 2004/01/01 21:29:09 agc Exp $
#
.include "Makefile.common"
@@ -11,6 +11,7 @@
USE_LIBTOOL= yes
BUILD_DIRS= ${WRKSRC}/Lib
MAKE_ENV+= LIBOSSAUDIO="${LIBOSSAUDIO}"
+MAKE_ENV+= LIBSTDCPP=-lstdc++
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
diff -r e56a4061fb24 -r da8887fcece4 graphics/libflash/distinfo
--- a/graphics/libflash/distinfo Thu Jan 01 21:10:05 2004 +0000
+++ b/graphics/libflash/distinfo Thu Jan 01 21:29:09 2004 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.14 2003/09/28 20:08:14 tron Exp $
+$NetBSD: distinfo,v 1.15 2004/01/01 21:29:09 agc Exp $
SHA1 (flash-0.4.10.tgz) = 41f2b8bba3e551e611913069e6e650bc4c8ab420
Size (flash-0.4.10.tgz) = 358995 bytes
-SHA1 (patch-ab) = f2d681555e672a9ea39206db468ab1499307a5f6
+SHA1 (patch-ab) = 29afb4393acc2c44e622d398dba05749fb5c581d
SHA1 (patch-ac) = ce803268d7c85e0317c61dbd63c56028eaba82a8
SHA1 (patch-ad) = a67db33d60bc5ce23241e5f445aabb9bdb1864c2
SHA1 (patch-af) = b55169832b1475f41c7e7ecaf1abe1f7d4c93037
SHA1 (patch-ag) = cc6277a63c4bfa54a35b74a1a66dea5923ae8637
-SHA1 (patch-ah) = 030219457c785e851abfeb7ed5166a00ae6eface
+SHA1 (patch-ah) = ff644dd1c53b54a029adc870f69e128213e50635
SHA1 (patch-ai) = a4f927b4698e7de7b46f2496b57c83a30a57fecb
SHA1 (patch-aj) = d37351360b7e703747b4742e0378f89c528bdef7
diff -r e56a4061fb24 -r da8887fcece4 graphics/libflash/patches/patch-ab
--- a/graphics/libflash/patches/patch-ab Thu Jan 01 21:10:05 2004 +0000
+++ b/graphics/libflash/patches/patch-ab Thu Jan 01 21:29:09 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2003/01/30 12:22:48 jlam Exp $
+$NetBSD: patch-ab,v 1.5 2004/01/01 21:29:09 agc Exp $
--- Lib/Makefile.orig Sun Jun 4 02:49:23 2000
+++ Lib/Makefile
@@ -10,7 +10,7 @@
INCLUDES= adpcm.h cxform.h graphic.h script.h sqrt.h\
bitmap.h displaylist.h matrix.h shape.h swf.h\
-@@ -34,7 +33,20 @@ SWFOBJS=\
+@@ -34,7 +33,20 @@
# bitstream.o
# dump.o
@@ -28,7 +28,7 @@
+ done
+
+libflash.la: $(SWFOBJS)
-+ ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${SWFOBJS:.o=.lo} -rpath ${PREFIX}/lib -ljpeg -lz ${LIBOSSAUDIO} -version-info 0:4
++ ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${SWFOBJS:.o=.lo} -rpath ${PREFIX}/lib -ljpeg -lz ${LIBSTDCPP} ${LIBOSSAUDIO} -version-info 0:4
libflash.a: $(SWFOBJS)
ar rcs $@ $(SWFOBJS)
diff -r e56a4061fb24 -r da8887fcece4 graphics/libflash/patches/patch-ah
--- a/graphics/libflash/patches/patch-ah Thu Jan 01 21:10:05 2004 +0000
+++ b/graphics/libflash/patches/patch-ah Thu Jan 01 21:29:09 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ah,v 1.5 2003/01/30 12:22:48 jlam Exp $
+$NetBSD: patch-ah,v 1.6 2004/01/01 21:29:09 agc Exp $
--- Plugin/Makefile.orig Tue Sep 28 05:13:38 1999
+++ Plugin/Makefile
@@ -23,7 +23,7 @@
-CFLAGS= $(OPTIMIZER) $(PLUGIN_DEFINES) -I$(FLASH) -I/usr/X11R6/include
-LDFLAGS= $(FLASH)/libflash.a $(LIBCXX) ../Jpeg/libjpeg.a ../Zlib/libz.a
+CFLAGS+= $(OPTIMIZER) $(PLUGIN_DEFINES) $(CPPFLAGS)
-+LIBS= -lflash $(LIBCXX) -ljpeg -lz $(LIBOSSAUDIO) -lX11 -lXt
++LIBS= -lflash $(LIBSTDCPP) -ljpeg -lz $(LIBOSSAUDIO) -lX11 -lXt
SRC= plugin.c npunix.c
OBJ= plugin.o npunix.o
Home |
Main Index |
Thread Index |
Old Index