Package: tct
Version: 1.11-6.2
Severity: normal
Tags: patch

Hi,

Attached is the diff for my tct 1.11-6.3 NMU.

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D
diff -u tct-1.11/conf/paths.pl tct-1.11/conf/paths.pl
--- tct-1.11/conf/paths.pl
+++ tct-1.11/conf/paths.pl
@@ -42,8 +42,8 @@
 $W="/usr/bin/w";
 $WHO="/usr/bin/who";
 
-$XAUTH="/usr/X11R6/bin/xauth";
-$XHOST="/usr/X11R6/bin/xhost";
+$XAUTH="/usr/bin/xauth";
+$XHOST="/usr/bin/xhost";
 $YPCAT="/usr/bin/ypcat";
 
 # suns...
diff -u tct-1.11/debian/changelog tct-1.11/debian/changelog
--- tct-1.11/debian/changelog
+++ tct-1.11/debian/changelog
@@ -1,3 +1,10 @@
+tct (1.11-6.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS due to kernel syscall macros (Closes: #393007).
+
+ -- Luk Claes <[EMAIL PROTECTED]>  Tue, 24 Oct 2006 19:55:20 +0200
+
 tct (1.11-6.2) unstable; urgency=low
 
   * Non-maintainer upload
only in patch2:
unchanged:
--- tct-1.11.orig/src/fstools/mylseek.c
+++ tct-1.11/src/fstools/mylseek.c
@@ -23,15 +23,15 @@
 #ifdef USE_MYLSEEK
 #ifdef HAVE_LLSEEK
 #include <errno.h>
-#include <syscall.h>
+#include <sys/syscall.h>
 
  /*
   * This is LINUX, live on the bleeding edge and watch your software break
   * with the next release...
   */
-static  _syscall5(int, _llseek, unsigned int, fd, unsigned long, offset_high,
-                         unsigned long, offset_low, OFF_T *, result,
-                         unsigned int, origin)
+#define _llseek(fd, offset_high, offset_low, result, origin) \
+       syscall(SYS__llseek, fd, offset_high, offset_low, result, origin)
+
 /* mylseek - seek beyond the 32-bit barrier */
 
 OFF_T   mylseek(int fd, OFF_T offset, int whence)

Reply via email to