head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.24
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.22
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.20
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.18
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.16
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.14
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.12
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.10
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.8
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.6
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.4
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.2
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.1.0.4
	pkgsrc-2007Q2-base:1.1
	pkgsrc-2007Q1:1.1.0.2
	pkgsrc-2007Q1-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2007.09.09.17.06.04;	author xtraeme;	state dead;
branches;
next	1.1;

1.1
date	2007.04.02.22.38.44;	author abs;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 0.9.91.5:

[2007/08/26] nspluginwrapper 0.9.91.5

Fix a memory leak in NPP_Destroy()
Fix DiamondX XEmbed example plugin
Fix focus problems (Debian bug #435912)
Add support for 64-bit plugins (Martin Stransky)
Add support for newer NPAPI 0.17 functions and variables
Add support for broken 64-bit Konqueror versions (run-time detect)

[2007/04/03] nspluginwrapper 0.9.91.4

Dont try to wrap native plugins
Fix build on NetBSD (David Brownlee)
Fix build on DragonFlyBSD (Steve OHara-Smith)
Fix build on Linux systems with SSP enabled by default (Kristian Hermansen)
@
text
@$NetBSD: patch-ad,v 1.1 2007/04/02 22:38:44 abs Exp $

--- Makefile.orig	2007-03-04 15:01:22.000000000 +0000
+++ Makefile
@@@@ -46,6 +46,9 @@@@ X_LDFLAGS = -L$(x11prefix)/$(lib64) -lX1
 ifeq ($(OS),netbsd)
 X_LDFLAGS += -Wl,--rpath,$(x11prefix)/$(lib64)
 endif
+ifeq ($(OS),dragonfly)
+X_LDFLAGS += -Wl,--rpath,$(x11prefix)/$(lib64)
+endif
 
 ARCH_32 = $(ARCH)
 ifeq ($(biarch), yes)
@@@@ -78,7 +81,11 @@@@ npwrapper_RAWSRCS = npw-wrapper.c npw-rp
 npwrapper_SOURCES = $(npwrapper_RAWSRCS:%.c=$(SRC_PATH)/src/%.c)
 npwrapper_OBJECTS = $(npwrapper_RAWSRCS:%.c=npwrapper-%.os)
 npwrapper_CFLAGS  = $(CFLAGS) $(X_CFLAGS) $(MOZILLA_CFLAGS) $(GLIB_CFLAGS)
+ifeq ($(OS),dragonfly)
+npwrapper_LDFLAGS = $(X_LDFLAGS) -pthread
+else
 npwrapper_LDFLAGS = $(X_LDFLAGS) -lpthread
+endif
 npwrapper_LDFLAGS += $(GLIB_LDFLAGS)
 
 npviewer_PROGRAM = npviewer.bin
@@@@ -97,7 +104,11 @@@@ npviewer_CFLAGS += $(GTK_CFLAGS)
 npviewer_LDFLAGS = $(GTK_LDFLAGS) $(X_LDFLAGS)
 endif
 npviewer_CFLAGS  += $(MOZILLA_CFLAGS)
+ifeq ($(OS),dragonfly)
+npviewer_LDFLAGS += $(libdl_LDFLAGS) -pthread
+else
 npviewer_LDFLAGS += $(libdl_LDFLAGS) -lpthread
+endif
 ifeq ($(TARGET_ARCH),i386)
 npviewer_MAPFILE = $(SRC_PATH)/src/npw-viewer.map
 endif
@@@@ -128,6 +139,12 @@@@ ifeq ($(OS),netbsd)
 # XXX use the ELF decoder for native plugins too?
 npconfig_LDFLAGS += -lpthread
 endif
+ifeq ($(OS),dragonfly)
+# We will try to dlopen() the native plugin library. If that lib is
+# linked against libpthread, then so must our program too.
+# XXX use the ELF decoder for native plugins too?
+npconfig_LDFLAGS += -pthread
+endif
 
 nploader_PROGRAM = npviewer
 nploader_RAWSRCS = npw-viewer.sh
@


1.1
log
@Add patches from Steve O'Hara-Smith to enable build on DragonFlyBSD
No change on other platforms, so skipped PKGREVISION bump.  Steve
has already fed the patches back to the author.

Currently the package hardcodes some search paths from /usr/pkg - I have
an sent a question to the author as to how he would best like to handle
those in his framework.
@
text
@d1 1
a1 1
$NetBSD$
@

