diff options
author | marcus <marcus@FreeBSD.org> | 2002-09-18 01:58:29 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-09-18 01:58:29 +0800 |
commit | 867b2b0c1df4ca0bd313daa32a013f225dbebfb7 (patch) | |
tree | a4763a13f216780dd7c8afea181e87978d7550c9 /palm/gnome-pilot | |
parent | 6f26ad51e9213e898930f85a01dacd7c9c8ba4bb (diff) | |
download | freebsd-ports-gnome-867b2b0c1df4ca0bd313daa32a013f225dbebfb7.tar.gz freebsd-ports-gnome-867b2b0c1df4ca0bd313daa32a013f225dbebfb7.tar.zst freebsd-ports-gnome-867b2b0c1df4ca0bd313daa32a013f225dbebfb7.zip |
Fix build with new pilot-link.
Diffstat (limited to 'palm/gnome-pilot')
-rw-r--r-- | palm/gnome-pilot/files/patch-aa | 52 | ||||
-rw-r--r-- | palm/gnome-pilot/files/patch-gpilotd_gpilotd.c | 26 | ||||
-rw-r--r-- | palm/gnome-pilot/files/patch-utils_make-password.c | 21 |
3 files changed, 94 insertions, 5 deletions
diff --git a/palm/gnome-pilot/files/patch-aa b/palm/gnome-pilot/files/patch-aa index 188e7465648a..5378b4d2a188 100644 --- a/palm/gnome-pilot/files/patch-aa +++ b/palm/gnome-pilot/files/patch-aa @@ -1,8 +1,5 @@ - -$FreeBSD$ - ---- configure.orig Thu Apr 25 19:15:48 2002 -+++ configure Thu Apr 25 19:17:00 2002 +--- configure.orig Mon Apr 22 16:21:27 2002 ++++ configure Tue Sep 17 13:44:51 2002 @@ -5388,6 +5388,7 @@ # This can be used to rebuild libtool when needed @@ -33,6 +30,51 @@ $FreeBSD$ else +@@ -7531,7 +7532,7 @@ + cat conftest.$ac_ext >&5 + rm -rf conftest* + CATOBJEXT=.mo +- DATADIRNAME=lib ++ DATADIRNAME=share + fi + rm -f conftest* + INSTOBJEXT=.mo +@@ -7701,7 +7702,7 @@ + # USE_INCLUDED_LIBINTL=yes + # CATOBJEXT=.cat + # INSTOBJEXT=.cat +-# DATADIRNAME=lib ++# DATADIRNAME=share + # INTLDEPS='$(top_builddir)/intl/libintl.a' + # INTLLIBS=$INTLDEPS + # LIBS=`echo $LIBS | sed -e 's/-lintl//'` +@@ -8268,7 +8269,7 @@ + else + PISOCK_CFLAGS="-I$withval/include" + incdir="$withval/include" +- PISOCK_LIBS="-L$withval/lib -lpisock" ++ PISOCK_LIBS="-L$withval/lib -lpisync -lpisock" + echo $ac_n "checking "for existance of $withval/lib/libpisock.so"""... $ac_c" 1>&6 + echo "configure:8274: checking "for existance of $withval/lib/libpisock.so"" >&5 + if test -r $withval/lib/libpisock.so; then +@@ -8381,7 +8382,7 @@ + piversion_include="$prefix/include/pi-version.h" + if test x$PISOCK_LIBDIR = x; then + incdir="$prefix/include" +- PISOCK_LIBS="-L$prefix/lib -lpisock" ++ PISOCK_LIBS="-L$prefix/lib -lpisock -lpisock" + fi + else + echo "$ac_t""no" 1>&6 +@@ -8432,7 +8433,7 @@ + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- PISOCK_LIBS=-lpisock ++ PISOCK_LIBS=-lpisync -lpisock + else + echo "$ac_t""no" 1>&6 + { echo "configure: error: "Unable to find libpisock. Try ftp://ryeham.ee.ryerson.ca/pub/PalmOS/."" 1>&2; exit 1; } @@ -9022,8 +9023,8 @@ fi diff --git a/palm/gnome-pilot/files/patch-gpilotd_gpilotd.c b/palm/gnome-pilot/files/patch-gpilotd_gpilotd.c new file mode 100644 index 000000000000..0c790caba14b --- /dev/null +++ b/palm/gnome-pilot/files/patch-gpilotd_gpilotd.c @@ -0,0 +1,26 @@ +--- gpilotd/gpilotd.c.orig Tue Sep 17 13:37:40 2002 ++++ gpilotd/gpilotd.c Tue Sep 17 13:38:32 2002 +@@ -46,6 +46,7 @@ + #include <signal.h> + #include <unistd.h> + #include <stdio.h> ++#include <fcntl.h> + + #include <libgnome/libgnome.h> + +@@ -125,13 +126,13 @@ + pilot_set_baud_rate (device); + } + +- if (!(sd = pi_socket (PI_AF_SLP, PI_SOCK_STREAM, PI_PF_PADP))) { ++ if (!(sd = pi_socket (PI_PF_SLP, PI_SOCK_STREAM, PI_PF_PADP))) { + g_warning ("pi_socket: %s",strerror (errno)); + if (error) *error = 1; + return -1; + } + +- addr.pi_family = PI_AF_SLP; ++ addr.pi_family = PI_PF_SLP; + + /* + Most important for networking diff --git a/palm/gnome-pilot/files/patch-utils_make-password.c b/palm/gnome-pilot/files/patch-utils_make-password.c new file mode 100644 index 000000000000..312dd4f81828 --- /dev/null +++ b/palm/gnome-pilot/files/patch-utils_make-password.c @@ -0,0 +1,21 @@ +--- utils/make-password.c.orig Tue Sep 17 13:46:08 2002 ++++ utils/make-password.c Tue Sep 17 13:54:13 2002 +@@ -34,15 +34,15 @@ + char salt[3]; + + if (argc < 2) { +- fprintf(stderr,"usage:%s %s\n",argv[0],TTYPrompt); ++ fprintf(stderr,"usage:%s %s\n",argv[0],"/dev/cua[<0..n>]"); + exit(2); + } +- if (!(sd = pi_socket(PI_AF_SLP, PI_SOCK_STREAM, PI_PF_PADP))) { ++ if (!(sd = pi_socket(PI_PF_SLP, PI_SOCK_STREAM, PI_PF_PADP))) { + perror("pi_socket"); + exit(1); + } + +- addr.pi_family = PI_AF_SLP; ++ addr.pi_family = PI_PF_SLP; + strcpy(addr.pi_device,argv[1]); + + ret = pi_bind(sd, (struct sockaddr*)&addr, sizeof(addr)); |