aboutsummaryrefslogtreecommitdiffstats
path: root/net/ntimelord/files
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-06-08 22:41:10 +0800
committerkuriyama <kuriyama@FreeBSD.org>1998-06-08 22:41:10 +0800
commit3d14ef0cd97e9ce6c2c1c3556eb716eb26ecd1bf (patch)
tree47c8c3f9480831df7d14aaf85b00759ae303721d /net/ntimelord/files
parent8c293694e414b8138adb3bd3854378baa325ab63 (diff)
downloadfreebsd-ports-gnome-3d14ef0cd97e9ce6c2c1c3556eb716eb26ecd1bf.tar.gz
freebsd-ports-gnome-3d14ef0cd97e9ce6c2c1c3556eb716eb26ecd1bf.tar.zst
freebsd-ports-gnome-3d14ef0cd97e9ce6c2c1c3556eb716eb26ecd1bf.zip
A time server daemon for Macintoshes running 'tardis' for netatalk
Submitted by: Takeru NAIKI <naiki@bfdpc2.bmcd.hokudai.ac.jp> PR: ports/4889
Diffstat (limited to 'net/ntimelord/files')
-rw-r--r--net/ntimelord/files/patch-aa38
1 files changed, 38 insertions, 0 deletions
diff --git a/net/ntimelord/files/patch-aa b/net/ntimelord/files/patch-aa
new file mode 100644
index 000000000000..65a7335ddb3b
--- /dev/null
+++ b/net/ntimelord/files/patch-aa
@@ -0,0 +1,38 @@
+--- Makefile.orig Tue Jan 4 08:32:39 1994
++++ Makefile Wed Oct 29 20:39:54 1997
+@@ -1,5 +1,5 @@
+ # Set DESTDIR to the root of the netatalk installation:
+-DESTDIR=/usr/local/atalk
++DESTDIR=$(PREFIX)
+
+ SRC = timelord.c
+ OBJ = timelord.o
+@@ -18,7 +18,7 @@
+ ${CC} ${CFLAGS} -o timelord ${OBJ} ${LIBDIRS} ${LIBS}
+
+ install : all
+- ${INSTALL} -c timelord ${DESTDIR}/etc
++ ${INSTALL} -c timelord ${DESTDIR}/libexec
+
+ clean :
+ rm -f a.out core* *.o *.bak *[Ee]rrs tags
+--- timelord.c.orig Tue Jan 4 08:38:34 1994
++++ timelord.c Wed Oct 29 16:44:14 1997
+@@ -215,7 +215,7 @@
+ mtime = tv.tv_sec + tm->tm_gmtoff + EPOCH;
+ mtime = htonl( mtime );
+
+- resp = TL_OK;
++ resp = htonl(TL_OK);
+ bcopy( &resp, buf, sizeof( long ));
+ bcopy( &mtime, buf + sizeof( long ), sizeof( long ));
+ iov.iov_len = sizeof( long ) + sizeof( long );
+@@ -224,7 +224,7 @@
+ default :
+ syslog( LOG_ERR, bad );
+
+- resp = TL_BAD;
++ resp = htonl(TL_BAD);
+ bcopy( &resp, buf, sizeof( long ));
+ *( buf + 4 ) = (unsigned char)strlen( bad );
+ strcpy( buf + 5, bad );