diff options
author | wiz <wiz> | 2004-09-08 12:14:59 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-09-08 12:14:59 +0000 |
commit | 118db80b709fb924216dbbc3def6b0cf6c035dfd (patch) | |
tree | eb5969d8f7dc8c1fa6de531d64bd05f2678d8c30 /comms/plptools/patches | |
parent | a83acc51e1b824427215c4dbfc3e55dbc17bfeb1 (diff) | |
download | pkgsrc-118db80b709fb924216dbbc3def6b0cf6c035dfd.tar.gz |
Update to 0.12 to fix build with gcc3.
Changes since 0.8 are not documented except in the
ChangeLog.
Changes from Version 0.7 to 0.8
- Fixed lot of bugs, especially in nfs code
- Series 3 _should_ work again.
- Added support for KDE (KDE >= 2.1)
- Added KDE Application "kpsion"
Changes from Version 0.6 to 0.7
- Changed timezone-stuff again. With S5, now the machine-info is
evaluated. This info holds the Psion's time-offset so that we
are able to calculate the offset correctly, regardless of the
Psion's setting. All that is done in a new class PsiTime.
For S3, a Fallback is provided using an Env-Variable "PSI_TZ" which
can be set to the Psion's time-offset in seconds.
- Added lots of rpc related stuff:
- Implemented a procfs-like subdir in plpnfsd. Processes can
be examined and misc. parameters can be examined/changed using
the entries in <psionMountDir>/proc/
Several parameters can now be changed on the fly:
attribute-cache timeout in seconds: proc/acache (rw)
debuglevel: proc/debuglevel (rw)
directory-cache timeout in seconds: proc/dcache (rw)
Psion's owner-info: proc/owner (ro)
Unix-owner of mounted directory: proc/unixowner (rw)
Stopping of plpnfsd has now changed:
Old:
reference /mnt/psion/exit
New:
echo stop > /mnt/psion/proc/exit
This should be safer than accidentally referencing a file.
For every process running on the psion, a subdir in proc/ is
created with two files "cmd" and "args" (both ro). cmd is the
process-name, args is it's commandline.
- Added machinfo command in plpftp for displaying lot of interesting
information about S5. (E.g. battery status etc.)
- Added killsave and runrestore to plpftpd. Both take a unix file
as argument. killsave kills all processes on the Psion and saves
restart-information to the specified file. runrestore reads a file
created by killsave and starts all processes saved in this file.
-> Functionality similar to the behavior of PsiWin before/after backup.
Diffstat (limited to 'comms/plptools/patches')
-rw-r--r-- | comms/plptools/patches/patch-aa | 24 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ab | 18 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ac | 102 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ad | 8 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ae | 4 | ||||
-rw-r--r-- | comms/plptools/patches/patch-af | 8 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ag | 8 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ah | 21 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ai | 24 | ||||
-rw-r--r-- | comms/plptools/patches/patch-aj | 24 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ak | 33 | ||||
-rw-r--r-- | comms/plptools/patches/patch-al | 33 | ||||
-rw-r--r-- | comms/plptools/patches/patch-am | 13 | ||||
-rw-r--r-- | comms/plptools/patches/patch-an | 13 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ao | 16 | ||||
-rw-r--r-- | comms/plptools/patches/patch-ap | 13 |
16 files changed, 159 insertions, 203 deletions
diff --git a/comms/plptools/patches/patch-aa b/comms/plptools/patches/patch-aa index adc26402765..3b37a140225 100644 --- a/comms/plptools/patches/patch-aa +++ b/comms/plptools/patches/patch-aa @@ -1,13 +1,13 @@ -$NetBSD: patch-aa,v 1.2 2001/04/04 07:59:29 skrll Exp $ +$NetBSD: patch-aa,v 1.3 2004/09/08 12:14:59 wiz Exp $ ---- ncpd/mp_serial.c.orig Mon Jul 5 22:48:56 1999 -+++ ncpd/mp_serial.c -@@ -182,7 +182,7 @@ - ser_exit(int fd) - { - struct termios ti; -- if (ioctl(fd, TCGETS, (caddr_t) & ti) < 0) -+ if (tcgetattr(fd, &ti) < 0) - perror("TCGETSW"); - ti.c_cflag &= ~CRTSCTS; - if (tcsetattr(fd, TCSANOW, &ti) < 0) +--- intl/Makefile.in.orig 2002-04-05 08:14:16.000000000 +0200 ++++ intl/Makefile.in +@@ -275,7 +275,7 @@ uninstall: + + info dvi: + +-$(OBJECTS): ../config.h libgnuintl.h ++$(OBJECTS): ../include/config.h libgnuintl.h + bindtextdom.$lo dcgettext.$lo dcigettext.$lo dcngettext.$lo dgettext.$lo dngettext.$lo finddomain.$lo gettext.$lo intl-compat.$lo loadmsgcat.$lo localealias.$lo ngettext.$lo textdomain.$lo: gettextP.h gmo.h loadinfo.h + dcigettext.$lo: hash-string.h + explodename.$lo l10nflist.$lo: loadinfo.h diff --git a/comms/plptools/patches/patch-ab b/comms/plptools/patches/patch-ab index 1009b763e03..22bb3e6349f 100644 --- a/comms/plptools/patches/patch-ab +++ b/comms/plptools/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.4 2001/04/04 08:53:44 skrll Exp $ +$NetBSD: patch-ab,v 1.5 2004/09/08 12:14:59 wiz Exp $ ---- plpnfsd/mp_mount.c.orig Mon Jan 17 11:49:41 2000 +--- plpnfsd/mp_mount.c.orig 2002-07-12 16:45:41.000000000 +0200 +++ plpnfsd/mp_mount.c -@@ -16,7 +16,7 @@ +@@ -21,7 +21,7 @@ extern int inet_addr(char *); #define PORTMAP /* I need svcudp_create in rpc/svc_soc.h, sol 2.4 */ #endif @@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.4 2001/04/04 08:53:44 skrll Exp $ #include <stdio.h> #include <signal.h> #include <sys/stat.h> -@@ -59,6 +59,17 @@ +@@ -63,6 +63,17 @@ static char nfshost[128]; #endif #endif /* __FreeBSD__ */ @@ -29,7 +29,7 @@ $NetBSD: patch-ab,v 1.4 2001/04/04 08:53:44 skrll Exp $ #include <rpc/rpc.h> #include "nfs_prot.h" -@@ -147,7 +158,7 @@ +@@ -156,7 +167,7 @@ static void doexit() { struct mntent *ent; #endif #endif @@ -38,7 +38,7 @@ $NetBSD: patch-ab,v 1.4 2001/04/04 08:53:44 skrll Exp $ struct stat statb; #endif -@@ -229,7 +240,7 @@ +@@ -277,7 +288,7 @@ mount_and_run(char *dir, void (*proc)(), #else struct nfs_args nfs_args; #endif @@ -47,7 +47,7 @@ $NetBSD: patch-ab,v 1.4 2001/04/04 08:53:44 skrll Exp $ int mount_flags; #endif -@@ -405,20 +416,23 @@ +@@ -453,20 +464,23 @@ mount_and_run(char *dir, void (*proc)(), #endif #ifdef __NetBSD__ @@ -72,7 +72,7 @@ $NetBSD: patch-ab,v 1.4 2001/04/04 08:53:44 skrll Exp $ #endif #if defined(_IBMR2) -@@ -448,7 +462,7 @@ +@@ -496,7 +510,7 @@ mount_and_run(char *dir, void (*proc)(), #if defined(__sgi) || (defined(sun) && defined(__SVR4)) if (mount("", dir, MS_DATA, "nfs", &nfs_args, sizeof(nfs_args))) #endif @@ -81,7 +81,7 @@ $NetBSD: patch-ab,v 1.4 2001/04/04 08:53:44 skrll Exp $ if (mount(MOUNT_NFS, dir, 0, (caddr_t) & nfs_args)) #endif #ifdef hpux -@@ -464,7 +478,7 @@ +@@ -512,7 +526,7 @@ mount_and_run(char *dir, void (*proc)(), if (aix3_mount("psion:loc", dir, 0, MOUNT_TYPE_NFS, &nfs_args, "plpnfsd")) #endif diff --git a/comms/plptools/patches/patch-ac b/comms/plptools/patches/patch-ac index 1051accac2b..6e945606072 100644 --- a/comms/plptools/patches/patch-ac +++ b/comms/plptools/patches/patch-ac @@ -1,95 +1,15 @@ -$NetBSD: patch-ac,v 1.7 2002/06/28 19:05:23 agc Exp $ +$NetBSD: patch-ac,v 1.8 2004/09/08 12:14:59 wiz Exp $ ---- plpftp/ftp.cc.orig Mon Jan 17 06:49:41 2000 -+++ plpftp/ftp.cc -@@ -34,6 +34,10 @@ - #include <sys/stat.h> - #include <signal.h> - -+#ifdef __NetBSD__ -+#include <stdio.h> +--- lib/ppsocket.cc.orig 2002-08-05 14:36:02.000000000 +0200 ++++ lib/ppsocket.cc +@@ -45,6 +45,10 @@ + #define INVALID_SOCKET -1 + #define SOCKET_ERROR -1 + ++#ifndef MSG_NOSIGNAL ++#define MSG_NOSIGNAL 0 +#endif + - #include "defs.h" - #include "ftp.h" - #include "rfsv.h" -@@ -335,7 +339,7 @@ - // never used to do this - char dateBuff[100]; - struct tm *t; -- t = localtime(&time); -+ t = localtime((time_t *)&time); - strftime(dateBuff, 100, "%c", t); - cout << a.opAttr(attr); - cout << " " << dec << setw(10) << setfill(' ') << size; -@@ -365,7 +369,7 @@ - else { - char dateBuff[100]; - struct tm *t; -- t = localtime(&mtime); -+ t = localtime((time_t *)&mtime); - strftime(dateBuff, 100, "%c %Z", t); - cout << dateBuff << endl; - } -@@ -457,7 +461,7 @@ - long attr = s.getDWord(8); - char dateBuff[100]; - struct tm *t; -- t = localtime(&date); -+ t = localtime((time_t *)&date); - strftime(dateBuff, 100, "%c", t); - cout << a.opAttr(attr); - cout << " " << dec << setw(10) << setfill(' ') << size; -@@ -849,7 +853,7 @@ - static long maskAttr; - - static char* --filename_generator(char *text, int state) -+filename_generator(const char *text, int state) - { - static int len; - -@@ -884,7 +888,7 @@ - } - - static char * --command_generator(char *text, int state) -+command_generator(const char *text, int state) - { - static int idx, len; - char *name; -@@ -907,13 +911,13 @@ - } - - static char ** --do_completion(char *text, int start, int end) -+do_completion(const char *text, int start, int end) - { - char **matches = NULL; + using namespace std; -- rl_completion_entry_function = (Function *)null_completion; -+ rl_completion_entry_function = (CPFunction *)null_completion; - if (start == 0) -- matches = completion_matches(text, command_generator); -+ matches = rl_completion_matches(text, command_generator); - else { - int idx = 0; - char *name; -@@ -934,7 +938,7 @@ - maskAttr = 0x0010; - } - -- matches = completion_matches(text, filename_generator); -+ matches = rl_completion_matches(text, filename_generator); - } - return matches; - } -@@ -945,7 +949,7 @@ - { - #if HAVE_LIBREADLINE - rl_readline_name = "plpftp"; -- rl_completion_entry_function = (Function *)null_completion; -+ rl_completion_entry_function = (CPFunction *)null_completion; - rl_attempted_completion_function = (CPPFunction *)do_completion; - #endif - } + ppsocket::ppsocket(const ppsocket & another) diff --git a/comms/plptools/patches/patch-ad b/comms/plptools/patches/patch-ad index 27d8fa88d55..0f543006fb7 100644 --- a/comms/plptools/patches/patch-ad +++ b/comms/plptools/patches/patch-ad @@ -1,11 +1,11 @@ -$NetBSD: patch-ad,v 1.1 2001/04/04 08:53:44 skrll Exp $ +$NetBSD: patch-ad,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- plpnfsd/mp_main.c.orig Mon Jan 17 11:49:41 2000 +--- plpnfsd/mp_main.c.orig 2003-01-31 23:52:47.000000000 +0100 +++ plpnfsd/mp_main.c -@@ -17,7 +17,7 @@ +@@ -22,7 +22,7 @@ + #include <errno.h> #include "nfs_prot.h" #include "mp.h" - #include "defs.h" -#if defined (__SVR4) || defined(__sgi) +#if defined (__SVR4) || defined(__sgi) || defined(__NetBSD__) #include <stdlib.h> /* getenv */ diff --git a/comms/plptools/patches/patch-ae b/comms/plptools/patches/patch-ae index b60408977a4..b0a450efc13 100644 --- a/comms/plptools/patches/patch-ae +++ b/comms/plptools/patches/patch-ae @@ -1,6 +1,6 @@ -$NetBSD: patch-ae,v 1.1 2001/04/04 08:53:44 skrll Exp $ +$NetBSD: patch-ae,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- plpnfsd/mp_inode.c.orig Mon Jul 5 22:33:05 1999 +--- plpnfsd/mp_inode.c.orig 2002-07-12 17:18:01.000000000 +0200 +++ plpnfsd/mp_inode.c @@ -11,7 +11,7 @@ #include "mp.h" diff --git a/comms/plptools/patches/patch-af b/comms/plptools/patches/patch-af index a5fbc916c59..8d7f58772cb 100644 --- a/comms/plptools/patches/patch-af +++ b/comms/plptools/patches/patch-af @@ -1,11 +1,11 @@ -$NetBSD: patch-af,v 1.1 2001/04/04 08:53:44 skrll Exp $ +$NetBSD: patch-af,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- plpnfsd/mp_pfs_ops.c.orig Mon Jan 17 11:49:41 2000 +--- plpnfsd/mp_pfs_ops.c.orig 2002-03-08 09:29:50.000000000 +0100 +++ plpnfsd/mp_pfs_ops.c -@@ -9,7 +9,7 @@ - #include "OSdefs.h" +@@ -10,7 +10,7 @@ #include <stdio.h> #include <ctype.h> + #include <pwd.h> -#if defined(__SVR4) || defined(__GLIBC__) +#if defined(__SVR4) || defined(__GLIBC__) || defined(__NetBSD__) #include <stdlib.h> diff --git a/comms/plptools/patches/patch-ag b/comms/plptools/patches/patch-ag index 4f639bc3788..5cf4ab38768 100644 --- a/comms/plptools/patches/patch-ag +++ b/comms/plptools/patches/patch-ag @@ -1,6 +1,6 @@ -$NetBSD: patch-ag,v 1.1 2001/04/04 08:53:45 skrll Exp $ +$NetBSD: patch-ag,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- plpnfsd/nfs_prot_svc.c.orig Mon Jul 5 22:33:06 1999 +--- plpnfsd/nfs_prot_svc.c.orig 2002-03-08 09:29:50.000000000 +0100 +++ plpnfsd/nfs_prot_svc.c @@ -8,7 +8,7 @@ #include "OSdefs.h" @@ -20,7 +20,7 @@ $NetBSD: patch-ag,v 1.1 2001/04/04 08:53:45 skrll Exp $ #include <string.h> #endif -@@ -197,7 +197,7 @@ +@@ -197,7 +197,7 @@ nfs_program_2(rqstp, transp) } memset((char *)&argument, 0, sizeof(argument)); #if !defined(__SVR4) && !defined(__FreeBSD__) @@ -29,7 +29,7 @@ $NetBSD: patch-ag,v 1.1 2001/04/04 08:53:45 skrll Exp $ if (!svc_getargs(transp, (xdrproc_t)xdr_argument, (caddr_t)&argument)) { #else if (!svc_getargs(transp, xdr_argument, &argument)) { -@@ -217,7 +217,7 @@ +@@ -217,7 +217,7 @@ nfs_program_2(rqstp, transp) svcerr_systemerr(transp); } #if !defined(__SVR4) && !defined(__FreeBSD__) diff --git a/comms/plptools/patches/patch-ah b/comms/plptools/patches/patch-ah index 22820f2ade8..8b587219d89 100644 --- a/comms/plptools/patches/patch-ah +++ b/comms/plptools/patches/patch-ah @@ -1,13 +1,12 @@ -$NetBSD: patch-ah,v 1.1 2004/05/24 16:09:35 kristerw Exp $ +$NetBSD: patch-ah,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- lib/ppsocket.cc.orig 2004-05-24 12:38:15.000000000 +0200 -+++ lib/ppsocket.cc 2004-05-24 17:42:47.000000000 +0200 -@@ -389,7 +389,7 @@ - { - int i; +--- lib/Enum.h.orig 2002-08-10 20:47:05.000000000 +0200 ++++ lib/Enum.h +@@ -28,6 +28,7 @@ + #endif -- cout << hex << (int) c << endl; -+ cout << std::hex << (int) c << endl; - i = writeTimeout(&c, 1, 0); - if (i == SOCKET_ERROR || i == 0) - return (false); + #include <plpintl.h> ++#include <assert.h> + + #include <map> + #include <string> diff --git a/comms/plptools/patches/patch-ai b/comms/plptools/patches/patch-ai index 76926d74c74..8424f2c3d97 100644 --- a/comms/plptools/patches/patch-ai +++ b/comms/plptools/patches/patch-ai @@ -1,13 +1,13 @@ -$NetBSD: patch-ai,v 1.1 2004/05/24 16:09:35 kristerw Exp $ +$NetBSD: patch-ai,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- lib/rpcsfactory.cc.orig 2004-05-24 17:48:59.000000000 +0200 -+++ lib/rpcsfactory.cc 2004-05-24 17:49:16.000000000 +0200 -@@ -73,7 +73,7 @@ - return NULL; - } - // Invalid protocol version -- cerr << "rpcsfactory::create received odd protocol version from -+ cerr << "rpcsfactory::create received odd protocol version from \ - ncpd! (" << a << ")" << endl; - } else { - cerr << "rpcsfactory::create sent, response not 1" << endl; +--- lib/psitime.cc.orig 2002-08-05 13:27:54.000000000 +0200 ++++ lib/psitime.cc +@@ -63,7 +63,7 @@ PsiTime::PsiTime(const u_int32_t _ptvHi, + psi2unix(); + } + +-PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz = 0L) { ++PsiTime::PsiTime(struct timeval *_utv, struct timezone *_utz) { + if (_utv != 0L) + utv = *_utv; + if (_utz != 0L) diff --git a/comms/plptools/patches/patch-aj b/comms/plptools/patches/patch-aj index 57d872a4ed7..14282976012 100644 --- a/comms/plptools/patches/patch-aj +++ b/comms/plptools/patches/patch-aj @@ -1,13 +1,13 @@ -$NetBSD: patch-aj,v 1.1 2004/05/24 16:09:35 kristerw Exp $ +$NetBSD: patch-aj,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- lib/rfsvfactory.cc.orig 2004-05-24 17:47:30.000000000 +0200 -+++ lib/rfsvfactory.cc 2004-05-24 17:48:20.000000000 +0200 -@@ -74,7 +74,7 @@ - return NULL; - } - // Invalid protocol version -- cerr << "rfsvfactory::create received odd protocol version from -+ cerr << "rfsvfactory::create received odd protocol version from \ - ncpd! (" << a << ")" << endl; - } else { - cerr << "rfsvfactory::create sent, response not 1" << endl; +--- ncpd/Makefile.in.orig 2003-02-04 11:27:21.000000000 +0100 ++++ ncpd/Makefile.in +@@ -212,7 +212,7 @@ CXXFLAGS = $(THREADED_CXXFLAGS) + + sbin_PROGRAMS = ncpd + +-ncpd_LDADD = $(LIB_PLP) -lpthread ++ncpd_LDADD = $(LIB_PLP) -lpthread $(INTLLIBS) + ncpd_SOURCES = channel.cc link.cc linkchan.cc main.cc \ + ncp.cc packet.cc socketchan.cc mp_serial.c + diff --git a/comms/plptools/patches/patch-ak b/comms/plptools/patches/patch-ak index 8d033e690f6..21d5c327cf7 100644 --- a/comms/plptools/patches/patch-ak +++ b/comms/plptools/patches/patch-ak @@ -1,22 +1,13 @@ -$NetBSD: patch-ak,v 1.1 2004/05/24 16:09:35 kristerw Exp $ +$NetBSD: patch-ak,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- lib/rfsv16.cc.orig 2004-05-24 17:43:42.000000000 +0200 -+++ lib/rfsv16.cc 2004-05-24 17:45:56.000000000 +0200 -@@ -670,7 +670,7 @@ - do { - unsigned char buf[2000]; - if ((len = fread(handle, buf, sizeof(buf))) > 0) -- op.write(buf, len); -+ op.write((char*)buf, len); - if (cb) { - if (!cb(len)) { - len = E_PSI_FILE_CANCEL; -@@ -703,7 +703,7 @@ - unsigned char *buff = new unsigned char[RFSV_SENDLEN]; - int total = 0; - while (ip && !ip.eof()) { -- ip.read(buff, RFSV_SENDLEN); -+ ip.read((char*)buff, RFSV_SENDLEN); - bufferStore tmp(buff, ip.gcount()); - int len = tmp.getLen(); - total += len; +--- plpnfsd/Makefile.in.orig 2003-02-04 11:27:21.000000000 +0100 ++++ plpnfsd/Makefile.in +@@ -209,7 +209,7 @@ x_libraries = @x_libraries@ + INCLUDES = -I$(top_srcdir)/lib + + sbin_PROGRAMS = plpnfsd +-plpnfsd_LDADD = $(LIB_PLP) ++plpnfsd_LDADD = $(LIB_PLP) $(INTLLIBS) + plpnfsd_SOURCES = mp_main.c mp_mount.c nfs_prot_svc.c nfs_prot_xdr.c \ + mp_pfs_ops.c mp_inode.c main.cc + diff --git a/comms/plptools/patches/patch-al b/comms/plptools/patches/patch-al index b65cf9f306f..94c37240515 100644 --- a/comms/plptools/patches/patch-al +++ b/comms/plptools/patches/patch-al @@ -1,22 +1,13 @@ -$NetBSD: patch-al,v 1.1 2004/05/24 16:09:35 kristerw Exp $ +$NetBSD: patch-al,v 1.2 2004/09/08 12:14:59 wiz Exp $ ---- lib/rfsv32.cc.orig 2004-05-24 17:46:31.000000000 +0200 -+++ lib/rfsv32.cc 2004-05-24 17:46:59.000000000 +0200 -@@ -577,7 +577,7 @@ - unsigned char *buff = new unsigned char[RFSV_SENDLEN]; - do { - if ((len = fread(handle, buff, RFSV_SENDLEN)) > 0) -- op.write(buff, len); -+ op.write((char*)buff, len); - if (cb) { - if (!cb(len)) { - len = E_PSI_FILE_CANCEL; -@@ -609,7 +609,7 @@ - unsigned char *buff = new unsigned char[RFSV_SENDLEN]; - int total = 0; - while (ip && !ip.eof()) { -- ip.read(buff, RFSV_SENDLEN); -+ ip.read((char*)buff, RFSV_SENDLEN); - bufferStore tmp(buff, ip.gcount()); - int len = tmp.getLen(); - total += len; +--- plpbackup/Makefile.in.orig 2003-02-04 11:27:22.000000000 +0100 ++++ plpbackup/Makefile.in +@@ -209,7 +209,7 @@ x_libraries = @x_libraries@ + INCLUDES = -I$(top_srcdir)/lib + + bin_PROGRAMS = plpbackup +-plpbackup_LDADD = $(LIB_PLP) ++plpbackup_LDADD = $(LIB_PLP) $(INTLLIBS) + plpbackup_SOURCES = plpbackup.cc + mkinstalldirs = $(SHELL) $(top_srcdir)/conf/mkinstalldirs + CONFIG_HEADER = ../include/config.h diff --git a/comms/plptools/patches/patch-am b/comms/plptools/patches/patch-am new file mode 100644 index 00000000000..2faa4c73a11 --- /dev/null +++ b/comms/plptools/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2004/09/08 12:14:59 wiz Exp $ + +--- plpprint/Makefile.in.orig 2003-02-04 11:27:22.000000000 +0100 ++++ plpprint/Makefile.in +@@ -209,7 +209,7 @@ x_libraries = @x_libraries@ + INCLUDES = -I$(top_srcdir)/lib + + sbin_PROGRAMS = plpprintd +-plpprintd_LDADD = $(LIB_PLP) ++plpprintd_LDADD = $(LIB_PLP) $(INTLLIBS) + plpprintd_SOURCES = plpprintd.cc + + EXTRA_DIST = prolog.ps.in fontmap diff --git a/comms/plptools/patches/patch-an b/comms/plptools/patches/patch-an new file mode 100644 index 00000000000..c5324bf53b9 --- /dev/null +++ b/comms/plptools/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2004/09/08 12:14:59 wiz Exp $ + +--- sisinstall/Makefile.in.orig 2003-02-04 11:27:23.000000000 +0100 ++++ sisinstall/Makefile.in +@@ -209,7 +209,7 @@ x_libraries = @x_libraries@ + INCLUDES = -I$(top_srcdir)/lib + + bin_PROGRAMS = sisinstall +-sisinstall_LDADD = $(top_srcdir)/lib/libplp.la $(LIBNEWT) ++sisinstall_LDADD = $(top_srcdir)/lib/libplp.la $(LIBNEWT) $(INTLLIBS) + sisinstall_SOURCES = psion.cpp sisinstaller.cpp sismain.cpp \ + fakepsion.cpp sisfilelink.cpp sisfilelink.h + diff --git a/comms/plptools/patches/patch-ao b/comms/plptools/patches/patch-ao new file mode 100644 index 00000000000..6310a63b6a9 --- /dev/null +++ b/comms/plptools/patches/patch-ao @@ -0,0 +1,16 @@ +$NetBSD: patch-ao,v 1.1 2004/09/08 12:14:59 wiz Exp $ + +--- plpftp/ftp.cc.orig 2002-07-14 08:35:33.000000000 +0200 ++++ plpftp/ftp.cc +@@ -1053,6 +1053,11 @@ session(rfsv & a, rpcs & r, int xargc, c + return a.getStatus(); + } + ++#ifdef RL_READLINE_VERSION ++#undef READLINE_VERSION ++#define READLINE_VERSION RL_READLINE_VERSION ++#endif ++ + #if HAVE_LIBREADLINE + #if (READLINE_VERSION >= 402) + #define FUNCAST(f) f diff --git a/comms/plptools/patches/patch-ap b/comms/plptools/patches/patch-ap new file mode 100644 index 00000000000..0de4863fc51 --- /dev/null +++ b/comms/plptools/patches/patch-ap @@ -0,0 +1,13 @@ +$NetBSD: patch-ap,v 1.1 2004/09/08 12:14:59 wiz Exp $ + +--- plpftp/Makefile.in.orig 2003-02-04 11:27:22.000000000 +0100 ++++ plpftp/Makefile.in +@@ -209,7 +209,7 @@ x_libraries = @x_libraries@ + INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/intl + + bin_PROGRAMS = plpftp +-plpftp_LDADD = $(LIB_PLP) $(LIBREADLINE) $(LIBHISTORY) $(INTLLIBS) ++plpftp_LDADD = $(LIB_PLP) $(LIBREADLINE) $(LIBHISTORY) $(INTLLIBS) -ltermcap + plpftp_SOURCES = ftp.cc main.cc rlcrap.c + EXTRA_DIST = ftp.h rlcrap.h + mkinstalldirs = $(SHELL) $(top_srcdir)/conf/mkinstalldirs |