summaryrefslogtreecommitdiff
path: root/sysutils/xnc
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-07-08 14:25:03 +0000
committerjschauma <jschauma>2002-07-08 14:25:03 +0000
commit03742e61c57fc541e56d6988628523d6d515bca0 (patch)
tree4ed1570146dec64e80f703250b1ec325564919f7 /sysutils/xnc
parentf6af51fc0554b8843d377eae519c0b0b31e35cf8 (diff)
downloadpkgsrc-03742e61c57fc541e56d6988628523d6d515bca0.tar.gz
Update xnc to version 4.4.7 using most of the patches provided in PR pkg/14037
by former MAINTAINER Rui-Xiang Guo (rxg at ms25 dot url dot com dot tw). Some modifications by me to adjust patches (which were for 4.4.6) to 4.4.7. Changes from 4.4.6 to 4.4.7: -Changed to a new method of detection pseudotty type, works well on more platforms including CygWin32. -IVES command line viewer and editor has been renamed. 'vs' to 'iview', 'es' to 'iedit'. This was made becouse older names conflict with another applications. -New image library for using with IVES. Now XNC can view the following image formats: * GIF * JPG (with external or built in libjpeg) * PNG (with external or built in libpng) * TIF (with external libtiff) * BMP * PCX * PNM * PCD * LBM * XPM -Fixed bug in running UPGRADE/INSTALL inside RPM archives. -Fixed legal issues, added some copyrights -Small bug fixes, as usual. Thanks to all who reported. Changes from 4.4.5 to 4.4.6: -Added new program 'xncloader' for faster xnc starting up. -Fixed bug with wrong display rxvt terminal contents. -Fixed small bug in FTP vfs. Set MAINTAINER to myself as Riu no longer uses this pkg. If there are any volunteers who wish to take over, please feel free to change this.
Diffstat (limited to 'sysutils/xnc')
-rw-r--r--sysutils/xnc/Makefile11
-rw-r--r--sysutils/xnc/PLIST7
-rw-r--r--sysutils/xnc/distinfo22
-rw-r--r--sysutils/xnc/patches/patch-ab52
-rw-r--r--sysutils/xnc/patches/patch-ac12
-rw-r--r--sysutils/xnc/patches/patch-ad16
-rw-r--r--sysutils/xnc/patches/patch-ae10
-rw-r--r--sysutils/xnc/patches/patch-af10
-rw-r--r--sysutils/xnc/patches/patch-ag17
-rw-r--r--sysutils/xnc/patches/patch-ah20
-rw-r--r--sysutils/xnc/patches/patch-aj13
-rw-r--r--sysutils/xnc/patches/patch-ak12
12 files changed, 123 insertions, 79 deletions
diff --git a/sysutils/xnc/Makefile b/sysutils/xnc/Makefile
index 125f45be14a..0c2dc384ce5 100644
--- a/sysutils/xnc/Makefile
+++ b/sysutils/xnc/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2002/03/17 16:07:15 fredb Exp $
+# $NetBSD: Makefile,v 1.6 2002/07/08 14:25:03 jschauma Exp $
-DISTNAME= xnc-4.4.5.src
-PKGNAME= xnc-4.4.5
+DISTNAME= xnc-4.4.7.src
+PKGNAME= xnc-4.4.7
PKGREVISION= 1
CATEGORIES= sysutils x11
MASTER_SITES= http://www.xnc.dubna.su/src/
-MAINTAINER= rxg@ms25.url.com.tw
+MAINTAINER= jschauma@netbsd.org
HOMEPAGE= http://xnc.dubna.su/
COMMENT= File manager for X Window
@@ -18,7 +18,10 @@ GNU_CONFIGURE= yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xnc
${INSTALL_DATA} ${WRKSRC}/Docs/* ${PREFIX}/share/doc/xnc
+ ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/yo-man/*.1 ${PREFIX}/man/man1/
+.include "../../graphics/tiff/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
diff --git a/sysutils/xnc/PLIST b/sysutils/xnc/PLIST
index 3cbfda6064d..2a252411786 100644
--- a/sysutils/xnc/PLIST
+++ b/sysutils/xnc/PLIST
@@ -1,14 +1,15 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:54:23 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/07/08 14:25:03 jschauma Exp $
bin/bzip.xnc
-bin/es
bin/groups.xnc
bin/gzip.xnc
bin/ives
+bin/iedit
+bin/iview
bin/rpm.xnc
bin/users.xnc
-bin/vs
bin/xjpegroot
bin/xnc
+bin/xncloader
bin/xncsetup
bin/xnlaunch
bin/zips.xnc
diff --git a/sysutils/xnc/distinfo b/sysutils/xnc/distinfo
index 32744b7d1e9..340c7199bd6 100644
--- a/sysutils/xnc/distinfo
+++ b/sysutils/xnc/distinfo
@@ -1,13 +1,15 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: distinfo,v 1.2 2002/07/08 14:25:03 jschauma Exp $
-SHA1 (xnc-4.4.5.src.tar.gz) = da94c0bec207863b33f09e9fd773510045723c4a
-Size (xnc-4.4.5.src.tar.gz) = 1620903 bytes
+SHA1 (xnc-4.4.7.src.tar.gz) = f66a0cb754a555d11df8e831d3d38af9b0b27563
+Size (xnc-4.4.7.src.tar.gz) = 1647931 bytes
SHA1 (patch-aa) = 1bdbb1a794048ba72c406dc2fc88dd943bae8bc9
-SHA1 (patch-ab) = 3310dd3412bb8e72d2c66012be59d08bc65bf60a
-SHA1 (patch-ac) = 8a0a07b17264cc7eac9705be596763ce64a2bab3
-SHA1 (patch-ad) = 416ed4180b48507a9767bbc62203b700a669dd28
-SHA1 (patch-ae) = 4e518462595ca661a9be6549266afb684d5dab43
-SHA1 (patch-af) = 863d90f7b7863d8a3e6a45778bf9ce4e7f56ef98
-SHA1 (patch-ag) = 167857bdff959d18695525febe2f53a016254e83
-SHA1 (patch-ah) = 12fc839079ea7adeb71080d8cf9718cdf24ed538
+SHA1 (patch-ab) = 4ab216cd0edf1e37391bf426fdfb451f9510a961
+SHA1 (patch-ac) = 58b1deb7f553ca1796f938c466a79986e793569c
+SHA1 (patch-ad) = 651217c540fb4331cf3f5481789ec567eb66402b
+SHA1 (patch-ae) = f6185cabeb30ea23c6d5facaa970ed01386953e6
+SHA1 (patch-af) = d218a7ba6056d567500a38a4e337b85bf4a4292c
+SHA1 (patch-ag) = 849744a065c0ddc695f67900840e677aa6be53fb
+SHA1 (patch-ah) = ce30a05caf42a4defc38c9b430cc11d72ea44537
SHA1 (patch-ai) = 569438fe88fbdaa1817566d2f52e9413b7cb8028
+SHA1 (patch-aj) = d20b0b6b595b12981a4042f04c09f168c66bde66
+SHA1 (patch-ak) = 030751d9634c7d8dab3f4ea85edf5123597cca32
diff --git a/sysutils/xnc/patches/patch-ab b/sysutils/xnc/patches/patch-ab
index 50e402c1465..f828f1ae5c4 100644
--- a/sysutils/xnc/patches/patch-ab
+++ b/sysutils/xnc/patches/patch-ab
@@ -1,37 +1,47 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: patch-ab,v 1.2 2002/07/08 14:25:05 jschauma Exp $
---- Makefile.in.orig Mon Jun 25 15:50:51 2001
-+++ Makefile.in
-@@ -190,28 +190,30 @@
+--- Makefile.in.orig Sun Jul 7 12:45:58 2002
++++ Makefile.in Sun Jul 7 12:50:17 2002
+@@ -256,31 +256,33 @@
install: install-$(PLUGINS)
#Installing X Northern Captain...
+- $(INSD) $(INSTDIR)
- $(INS) ./users.xnc $(INSTDIR)
- $(INS) ./groups.xnc $(INSTDIR)
-+ $(INSTALL_PROGRAM) ./users.xnc $(INSTDIR)
-+ $(INSTALL_PROGRAM) ./groups.xnc $(INSTDIR)
- $(INS) ./rpm.xnc $(INSTDIR)
+- $(INS) ./rpm.xnc $(INSTDIR)
- $(INS) ./zips.xnc $(INSTDIR)
-+ $(INSTALL_PROGRAM) ./zips.xnc $(INSTDIR)
- $(INS) ./gzip.xnc $(INSTDIR)
- $(INS) ./bzip.xnc $(INSTDIR)
+- $(INS) ./gzip.xnc $(INSTDIR)
+- $(INS) ./bzip.xnc $(INSTDIR)
- $(INS) ./nc $(INSTDIR)/xnc
-+ $(INSTALL_PROGRAM) ./nc $(INSTDIR)/xnc
- $(INSM) ./yo-man/*.1 $(INSTMAN)/man1
+- $(INSD) $(INSTMAN)
+- $(INSM) ./yo-man/*.1 $(INSTMAN)/man1
- $(INS) ./ives/ives $(INSTDIR)
-- $(INS) ./ives/es $(INSTDIR)
-- $(INS) ./ives/vs $(INSTDIR)
+- $(INS) ./ives/iedit $(INSTDIR)
+- $(INS) ./ives/iview $(INSTDIR)
- $(INS) ./xsetup/xncsetup $(INSTDIR)
- $(INS) ./xjroot/xjpegroot $(INSTDIR)
- $(INS) ./launch/xnlaunch $(INSTDIR)
+- $(INS) ./resloader/xncloader $(INSTDIR)
- /bin/sh ./replace.script
++ #$(INSD) $(INSTDIR)
++ $(INSTALL_PROGRAM) ./users.xnc $(INSTDIR)
++ $(INSTALL_PROGRAM) ./groups.xnc $(INSTDIR)
++ $(INSTALL_SCRIPT) ./rpm.xnc $(INSTDIR)
++ $(INSTALL_PROGRAM) ./zips.xnc $(INSTDIR)
++ $(INSTALL_SCRIPT) ./gzip.xnc $(INSTDIR)
++ $(INSTALL_SCRIPT) ./bzip.xnc $(INSTDIR)
++ $(INSTALL_PROGRAM) ./nc $(INSTDIR)/xnc
++ #$(INSD) $(INSTMAN)
++ #$(INSM) ./yo-man/*.1 $(INSTMAN)/man1
+ $(INSTALL_PROGRAM) ./ives/ives $(INSTDIR)
-+ $(INSTALL_PROGRAM) ./ives/es $(INSTDIR)
-+ $(INSTALL_PROGRAM) ./ives/vs $(INSTDIR)
++ $(INSTALL_PROGRAM) ./ives/iedit $(INSTDIR)
++ $(INSTALL_PROGRAM) ./ives/iview $(INSTDIR)
+ $(INSTALL_PROGRAM) ./xsetup/xncsetup $(INSTDIR)
+ $(INSTALL_PROGRAM) ./xjroot/xjpegroot $(INSTDIR)
+ $(INSTALL_PROGRAM) ./launch/xnlaunch $(INSTDIR)
-+# /bin/sh ./replace.script
++ $(INSTALL_PROGRAM) ./resloader/xncloader $(INSTDIR)
++ #/bin/sh ./replace.script
@echo "Don't foget run 'xncsetup' before starting XNC"
@@ -39,10 +49,10 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
mkdir -p $(INSTPLUG)
- $(INS) ./plugins/five/libxncfive.so $(INSTPLUG)
- $(INS) ./plugins/aqua/libxncaqua.so $(INSTPLUG)
-+# $(INS) ./plugins/five/libxncfive.so $(INSTPLUG)
-+# $(INS) ./plugins/aqua/libxncaqua.so $(INSTPLUG)
-+ cd ./plugins/five && make install
-+ cd ./plugins/aqua && make install
++ #$(INS) ./plugins/five/libxncfive.so $(INSTPLUG)
++ #$(INS) ./plugins/aqua/libxncaqua.so $(INSTPLUG)
++ cd ./plugins/five/ && make install
++ cd ./plugins/aqua/ && make install
install-:
@echo "Skipping..."
diff --git a/sysutils/xnc/patches/patch-ac b/sysutils/xnc/patches/patch-ac
index b765e8d2396..05cd4e2e8c9 100644
--- a/sysutils/xnc/patches/patch-ac
+++ b/sysutils/xnc/patches/patch-ac
@@ -1,13 +1,13 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: patch-ac,v 1.2 2002/07/08 14:25:05 jschauma Exp $
---- ives/makefile.in.orig Thu Aug 30 15:27:39 2001
-+++ ives/makefile.in
+--- ives/makefile.in.orig Sun Jul 7 12:57:19 2002
++++ ives/makefile.in Sun Jul 7 12:57:59 2002
@@ -31,7 +31,7 @@
STYLE=-DOLD_STYLE
CXXOPT=-DIVES $(NO_ALT) $(STYLE) $(DEB) $(DEFS) $(CFLAGS)
-- LOCAL_LIBRARIES=$(TLIB) $(XLIBS) -L../image -L/usr/lib $(PNGLIB) $(ZLIB) $(LIBS)
-+ LOCAL_LIBRARIES=$(TLIB) $(XLIBS) -L../image -L/usr/lib $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
+- LOCAL_LIBRARIES=$(TLIB) $(XLIBS) -L/usr/lib $(PNGLIB) $(ZLIB) $(LIBS)
++ LOCAL_LIBRARIES=$(TLIB) $(XLIBS) -L/usr/lib $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
- PROGRAM =ives es vs $(IMAGEOBJS) $(JDEP)
+ PROGRAM =ives iedit iview $(IMAGEOBJS) $(JDEP)
diff --git a/sysutils/xnc/patches/patch-ad b/sysutils/xnc/patches/patch-ad
index 92e8fb1f403..1581ba900db 100644
--- a/sysutils/xnc/patches/patch-ad
+++ b/sysutils/xnc/patches/patch-ad
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: patch-ad,v 1.2 2002/07/08 14:25:05 jschauma Exp $
---- xsetup/makefile.in.orig Thu Aug 30 15:39:30 2001
-+++ xsetup/makefile.in
-@@ -25,7 +25,7 @@
- ../commonfuncs.o ../image/imload.o ../xdndclass.o ../xncdebug.o
- CXXINCLUDES=$(XINC) -I../xbitmaps
+--- xsetup/makefile.in.orig Sun Jul 7 12:59:01 2002
++++ xsetup/makefile.in Sun Jul 7 12:59:34 2002
+@@ -45,7 +45,7 @@
+
+ CXXINCLUDES=$(XINC) -I../image2 -I../xbitmaps
CXXOPT=$(DEFS) $(DEB) $(CFLAGS)
-- LOCAL_LIBRARIES=$(IMAGEOBJS) $(JLIB) $(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS)
-+ LOCAL_LIBRARIES=$(IMAGEOBJS) $(JLIB) $(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
+- LOCAL_LIBRARIES=$(IMAGEOBJS) $(JLIB) $(TLIB) $(XLIBS) $(PNGLIB) $(ZLIB) $(LIBS)
++ LOCAL_LIBRARIES=$(IMAGEOBJS) $(JLIB) $(TLIB) $(XLIBS) $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
PROGRAM =xncsetup
diff --git a/sysutils/xnc/patches/patch-ae b/sysutils/xnc/patches/patch-ae
index 5b676ef996c..5a3ae0da8f1 100644
--- a/sysutils/xnc/patches/patch-ae
+++ b/sysutils/xnc/patches/patch-ae
@@ -1,13 +1,13 @@
-$NetBSD: patch-ae,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: patch-ae,v 1.2 2002/07/08 14:25:05 jschauma Exp $
---- xjroot/makefile.in.orig Thu Aug 30 15:43:09 2001
-+++ xjroot/makefile.in
+--- xjroot/makefile.in.orig Sun Jul 7 13:00:26 2002
++++ xjroot/makefile.in Sun Jul 7 13:00:51 2002
@@ -20,7 +20,7 @@
IOBJS =xjpegroot.o
CXXINCLUDES=$(XINC) $(JINC)
CXXOPT=$(DEFS) $(CFLAGS)
-- LOCAL_LIBRARIES=../image/libie.a $(JLIB) $(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS)
-+ LOCAL_LIBRARIES=../image/libie.a $(JLIB) $(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
+- LOCAL_LIBRARIES=../image2/libie.a $(JLIB) $(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS)
++ LOCAL_LIBRARIES=../image2/libie.a $(JLIB) $(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
PROGRAM =xjpegroot $(IMAGENGINE)
diff --git a/sysutils/xnc/patches/patch-af b/sysutils/xnc/patches/patch-af
index ab6457e7641..56dd23255a0 100644
--- a/sysutils/xnc/patches/patch-af
+++ b/sysutils/xnc/patches/patch-af
@@ -1,13 +1,13 @@
-$NetBSD: patch-af,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: patch-af,v 1.2 2002/07/08 14:25:06 jschauma Exp $
---- launch/makefile.in.orig Thu Aug 30 15:46:12 2001
-+++ launch/makefile.in
+--- launch/makefile.in.orig Sun Jul 7 13:01:34 2002
++++ launch/makefile.in Sun Jul 7 13:01:49 2002
@@ -28,7 +28,7 @@
STYLE=-DOLD_STYLE
CXXOPT=$(DEFS) $(CFLAGS)
-- LOCAL_LIBRARIES=$(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS)
-+ LOCAL_LIBRARIES=$(TLIB) $(XLIBS) -L../image $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
+- LOCAL_LIBRARIES=$(TLIB) $(XLIBS) $(PNGLIB) $(ZLIB) $(LIBS)
++ LOCAL_LIBRARIES=$(TLIB) $(XLIBS) $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
PROGRAM =xnlaunch $(IMAGEOBJS) $(JDEP)
diff --git a/sysutils/xnc/patches/patch-ag b/sysutils/xnc/patches/patch-ag
index 97b0cdd23ba..aa5a17c28b0 100644
--- a/sysutils/xnc/patches/patch-ag
+++ b/sysutils/xnc/patches/patch-ag
@@ -1,7 +1,7 @@
-$NetBSD: patch-ag,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: patch-ag,v 1.2 2002/07/08 14:25:06 jschauma Exp $
---- plugins/five/makefile.in.orig Tue Mar 13 19:05:52 2001
-+++ plugins/five/makefile.in
+--- plugins/five/makefile.in.orig Sun Jul 7 12:50:31 2002
++++ plugins/five/makefile.in Sun Jul 7 12:55:45 2002
@@ -18,6 +18,11 @@
@MCOMMON@
@@ -14,22 +14,23 @@ $NetBSD: patch-ag,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
PLUGINFLAGS=$(SHAREFLAGS)
IOBJS =fiveplugin.o fivegeom.o fivefuncs.o fiveskin.o fivegui.o \
-@@ -25,9 +30,12 @@
- CXXINCLUDES=$(XINC) -I../../image -I../../xbitmaps -I../.. -I../common -I../../ftplib
+@@ -26,9 +31,13 @@
+ -I../common -I../../ftplib -I../../resloader
CXXOPT=$(DEFS) $(DEB) $(CFLAGS)
-PROGRAM =libxncfive.so
+#PROGRAM =libxncfive.so
-+PROGRAM = libxncfive.a
++PROGRAM =libxncfive.a
-all:: $(PROGRAM)
+#all:: $(PROGRAM)
+all: $(IOBJS)
-+ $(LIBTOOL) $(CC) -module -avoid-version -o $(PROGRAM:.a=.la) $(IOBJS:.o=.lo) -rpath $(INSTPLUG)
++ $(LIBTOOL) $(CC) -module -avoid-version -o $(PROGRAM:.a=.la) \
++ $(IOBJS:.o=.lo) -rpath $(INSTPLUG)
../gui.o: ../gui.cxx
-@@ -87,7 +95,8 @@
+@@ -88,7 +97,8 @@
install:
diff --git a/sysutils/xnc/patches/patch-ah b/sysutils/xnc/patches/patch-ah
index 11956378a0e..3b0c612face 100644
--- a/sysutils/xnc/patches/patch-ah
+++ b/sysutils/xnc/patches/patch-ah
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+$NetBSD: patch-ah,v 1.2 2002/07/08 14:25:06 jschauma Exp $
---- plugins/aqua/makefile.in.orig Tue Mar 13 19:05:49 2001
-+++ plugins/aqua/makefile.in
-@@ -18,6 +18,11 @@
+--- plugins/aqua/makefile.in.orig Sun Jul 7 12:53:26 2002
++++ plugins/aqua/makefile.in Sun Jul 7 12:55:14 2002
+@@ -18,6 +18,12 @@
@MCOMMON@
@@ -11,25 +11,27 @@ $NetBSD: patch-ah,v 1.1.1.1 2001/09/17 05:40:06 zuntum Exp $
+.c.o:
+ $(CXX) -c $(CXXINCLUDES) $(INCLUDES) $(CXXOPT) $<
+
++
PLUGINFLAGS=$(SHAREFLAGS)
IOBJS =aquaplugin.o aquagui.o aquafuncs.o aquageom.o aquapanel.o\
-@@ -25,9 +30,12 @@
- CXXINCLUDES=$(XINC) -I../../image -I../../xbitmaps -I../.. -I../common -I../../ftplib
+@@ -26,9 +32,13 @@
+ -I../common -I../../ftplib -I../../resloader
CXXOPT=$(DEFS) $(DEB) $(CFLAGS)
-PROGRAM =libxncaqua.so
+#PROGRAM =libxncaqua.so
-+PROGRAM = libxncaqua.a
++PROGRAM =libxncaqua.a
-all:: $(PROGRAM)
+#all:: $(PROGRAM)
+all: $(IOBJS)
-+ $(LIBTOOL) $(CC) -module -avoid-version -o $(PROGRAM:.a=.la) $(IOBJS:.o=.lo) -rpath $(INSTPLUG)
++ $(LIBTOOL) $(CC) -module -avoid-version -o $(PROGRAM:.a=.la) \
++ $(IOBJS:.o=.lo) -rpath $(INSTPLUG)
../gui.o: ../gui.cxx
-@@ -86,7 +94,8 @@
+@@ -87,7 +97,8 @@
install:
diff --git a/sysutils/xnc/patches/patch-aj b/sysutils/xnc/patches/patch-aj
new file mode 100644
index 00000000000..efad35447ba
--- /dev/null
+++ b/sysutils/xnc/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2002/07/08 14:25:06 jschauma Exp $
+
+--- resloader/makefile.in.orig Sun Jul 7 12:56:04 2002
++++ resloader/makefile.in Sun Jul 7 12:56:33 2002
+@@ -21,7 +21,7 @@
+ ../plugins/aqua/aquaskin.o ../plugins/five/fiveskin.o
+ CXXINCLUDES=$(XINC) $(JINC)
+ CXXOPT=$(DEFS) $(CFLAGS)
+- LOCAL_LIBRARIES=../image2/libie.a $(JLIB) $(TLIB) $(XLIBS) $(PNGLIB) $(ZLIB) $(LIBS)
++ LOCAL_LIBRARIES=../image2/libie.a $(JLIB) $(TLIB) $(XLIBS) $(PNGLIB) $(ZLIB) $(LIBS) $(LDFLAGS)
+
+ PROGRAM =xncloader $(IMAGENGINE)
+
diff --git a/sysutils/xnc/patches/patch-ak b/sysutils/xnc/patches/patch-ak
new file mode 100644
index 00000000000..e3507fb8797
--- /dev/null
+++ b/sysutils/xnc/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1 2002/07/08 14:25:07 jschauma Exp $
+
+--- Make.common.in.orig Sun Jul 7 14:34:06 2002
++++ Make.common.in Sun Jul 7 14:34:27 2002
+@@ -26,6 +26,7 @@
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL@ -s -m 755
+ INSTALL_DATA = @INSTALL@ -m 644
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INS=@INSTALL@ -m 755
+ INSM=@INSTALL@ -m 644
+ INSD=@INSTALL@ -d -m 755