summaryrefslogtreecommitdiff
path: root/comms/malsync/patches
diff options
context:
space:
mode:
authorrh <rh>2000-06-15 14:04:46 +0000
committerrh <rh>2000-06-15 14:04:46 +0000
commit0d208213ed11b2bd9d0849457317d7e324b53930 (patch)
tree17f7b94cd29379444ba67d902dea5c0a167d83e7 /comms/malsync/patches
parentc6c6251a2fc6b10d1af6b76dfd570cf423d9bda9 (diff)
downloadpkgsrc-0d208213ed11b2bd9d0849457317d7e324b53930.tar.gz
Initial import of malsync-2.0.4, a utility to synchronize Palm Pilots to
the AvantGo.com service
Diffstat (limited to 'comms/malsync/patches')
-rw-r--r--comms/malsync/patches/patch-aa35
-rw-r--r--comms/malsync/patches/patch-ab21
2 files changed, 56 insertions, 0 deletions
diff --git a/comms/malsync/patches/patch-aa b/comms/malsync/patches/patch-aa
new file mode 100644
index 00000000000..3ff0a52299f
--- /dev/null
+++ b/comms/malsync/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/06/15 14:04:47 rh Exp $
+
+--- Makefile.orig Sun May 14 23:17:35 2000
++++ Makefile Thu Jun 15 15:54:24 2000
+@@ -1,4 +1,3 @@
+-CC = gcc
+ TARGET = malsync
+
+ PLAT := $(shell uname)
+@@ -12,9 +11,9 @@
+ endif
+
+ TREETOP = ../../..
+-PILOT_LINK_DIR = $(TREETOP)/vendor/pilot/pilot-link.0.9.3
++PILOT_LINK_DIR = ${PREFIX}
+
+-CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \
++CFLAGS+=-DMALSYNC -D__unix__ -I$(TREETOP)/mal/common \
+ -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include -I.
+
+
+@@ -55,10 +54,12 @@
+
+ OBJS = $(SRC:.c=.o)
+
++all: ${TARGET}
++
+
+ $(TARGET): $(OBJS)
+ $(CC) -rdynamic $(CFLAGS) -o $@ $(OBJS) \
+- -L${PILOT_LINK_DIR}/libsock -lpisock $(LINKLIBS)
++ -L${PILOT_LINK_DIR}/lib -Wl,-R${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS)
+ clean:
+ rm -f $(OBJS) $(TARGET)
+
diff --git a/comms/malsync/patches/patch-ab b/comms/malsync/patches/patch-ab
new file mode 100644
index 00000000000..138cc6e4567
--- /dev/null
+++ b/comms/malsync/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/06/15 14:04:47 rh Exp $
+
+--- ../../../mal/common/AGNet.h.orig Sun May 14 23:17:36 2000
++++ ../../../mal/common/AGNet.h Thu Jun 15 14:20:07 2000
+@@ -54,6 +54,7 @@
+ # else /* defined(macintosh) */
+ # include <netdb.h>
+ # include <sys/types.h>
++# include <sys/param.h>
+ # include <sys/socket.h>
+ # include <unistd.h>
+ # include <netinet/in.h>
+@@ -61,7 +62,7 @@
+ # include <sys/filio.h>
+ # include <arpa/inet.h>
+ # else
+-# ifdef __FreeBSD__
++# if (defined(BSD) && BSD >= 199306)
+ # include <sys/ioctl.h>
+ # include <arpa/inet.h>
+ # else