diff options
author | rh <rh@pkgsrc.org> | 2002-04-21 10:47:31 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2002-04-21 10:47:31 +0000 |
commit | ad205391b5a4102edc3ccc6a893de7d893e0e2e1 (patch) | |
tree | 86771f13d0f0f1955598744c264099a37b542976 /net/xmftp/patches | |
parent | 1c891285de6ac1879c713f7c22e48b895ba940f9 (diff) | |
download | pkgsrc-ad205391b5a4102edc3ccc6a893de7d893e0e2e1.tar.gz |
Initial import of xmftp, an X/Motif FTP client provided in pkg/16372 by
Rui-Xiang Guo <rxg@netbsd.org>
Diffstat (limited to 'net/xmftp/patches')
-rw-r--r-- | net/xmftp/patches/patch-aa | 31 | ||||
-rw-r--r-- | net/xmftp/patches/patch-ab | 13 | ||||
-rw-r--r-- | net/xmftp/patches/patch-ac | 35 |
3 files changed, 79 insertions, 0 deletions
diff --git a/net/xmftp/patches/patch-aa b/net/xmftp/patches/patch-aa new file mode 100644 index 00000000000..a5ff7d1ad9e --- /dev/null +++ b/net/xmftp/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $ + +--- Makefile.orig Thu Aug 21 03:29:58 1997 ++++ Makefile +@@ -1,14 +1,13 @@ + # Where to install the xmftp binary +-INSTALL_BIN_DIR=/usr/local/bin ++INSTALL_BIN_DIR=$(PREFIX)/bin + + # If your libraries (see LIBS below) are located somewhere else, change this +-LFLAGS=-L/usr/X11R6/lib ++LFLAGS=$(LDFLAGS) + + # Shouldn't have to edit anything below this line + ########################################################################## + +-CC=gcc +-CFLAGS=-Wall ++CFLAGS+=-Wall + OBJ= ui/xmftp.o ui/build_menu.o ui/menu_creation.o ui/operations.o \ + ui/layout.o ui/setup_cbs.o program/misc.o \ + program/unix/implementation.o program/ftp.o \ +@@ -33,7 +32,7 @@ + echo "All done! You may do 'make install' now if you like."; \ + echo "" + +-xmftp: doobj ++xmftp: $(OBJ) + $(CC) $(CFLAGS) $(LFLAGS) -o xmftp $(OBJ) $(LIBS) + @echo ""; \ + echo "All done! You may do 'make install' now if you like."; \ diff --git a/net/xmftp/patches/patch-ab b/net/xmftp/patches/patch-ab new file mode 100644 index 00000000000..6bbfdddb699 --- /dev/null +++ b/net/xmftp/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $ + +--- ftplib/ftplib.h.orig Tue Apr 16 19:56:15 2002 ++++ ftplib/ftplib.h +@@ -29,7 +29,7 @@ + #include <sys/types.h> + #include <signal.h> + +-#if defined(__unix__) || defined(VMS) ++#if defined(__unix__) || defined(VMS) || defined(__NetBSD__) + #define GLOBALDEF + #define GLOBALREF extern + #elif defined(_WIN32) diff --git a/net/xmftp/patches/patch-ac b/net/xmftp/patches/patch-ac new file mode 100644 index 00000000000..ab92bd27bb5 --- /dev/null +++ b/net/xmftp/patches/patch-ac @@ -0,0 +1,35 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/04/21 10:47:32 rh Exp $ + +--- ftplib/ftplib.c.orig Tue Apr 16 20:13:05 2002 ++++ ftplib/ftplib.c +@@ -25,10 +25,10 @@ + #include "../ui/xmftp.h" + #include "../ui/operations.h" + +-#if defined(__unix__) ++#if defined(__unix__) || defined(__NetBSD__) + #include <unistd.h> + #endif +-#if defined(__unix__) || defined(VMS) ++#if defined(__unix__) || defined(VMS) || defined(__NetBSD__) + #define GLOBALDEF + #define GLOBALREF extern + #elif defined(_WIN32) +@@ -40,7 +40,7 @@ + #include <stdlib.h> + #include <string.h> + #include <ctype.h> +-#if defined(__unix__) ++#if defined(__unix__) || defined(__NetBSD__) + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> +@@ -93,7 +93,7 @@ + + GLOBALDEF int ftplib_debug = 0; + +-#if defined(__unix__) || defined(VMS) ++#if defined(__unix__) || defined(VMS) || defined(__NetBSD__) + #define net_read read + #define net_write write + #define net_close close |