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

Hi,

I have uploaded an NMU of tct, 1.11-6.2, to DELAYED/7-day.
This fixes the FTBFS due to errno and also the FTBFS on amd64.

I've attached the patch for -6.2, which includes the -6.1 changes.

Hamish

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
diff -u tct-1.11/src/fstools/fs_tools.h tct-1.11/src/fstools/fs_tools.h
--- tct-1.11/src/fstools/fs_tools.h
+++ tct-1.11/src/fstools/fs_tools.h
@@ -186,14 +186,14 @@
 #include <ext2fs/ext2_fs.h>
 #define HAVE_EXT2FS
 
-#if !defined(__ia64__) && !defined(__alpha__)
+#if !defined(__ia64__) && !defined(__alpha__) && !defined(__x86_64__)
 #define USE_MYLSEEK
 #define HAVE_LLSEEK
 #endif
 
 #define HAVE_DTIME
 
-#if !defined(__ia64__) && !defined(__alpha__)
+#if !defined(__ia64__) && !defined(__alpha__) && !defined(__x86_64__)
 #define LSEEK		mylseek
 #else
 #define LSEEK		lseek
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,13 @@
+tct (1.11-6.2) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Fix FTBFS on amd64, thanks to Andreas Jochens for the patch
+    (closes: #251446)
+  * Fix missing include of <errno.h> in src/file/file.c, fsmagic.c,
+    compress.c (closes: #324579)
+
+ -- Hamish Moffatt <[EMAIL PROTECTED]>  Mon, 29 Aug 2005 00:07:38 +1000
+
 tct (1.11-6.1) unstable; urgency=low
 
   * Non-Maintainer Upload.
--- tct-1.11.orig/src/file/compress.c
+++ tct-1.11/src/file/compress.c
@@ -11,6 +11,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <sys/wait.h>
+#include <errno.h>
 
 #include "file.h"
 
--- tct-1.11.orig/src/file/fsmagic.c
+++ tct-1.11/src/file/fsmagic.c
@@ -31,6 +31,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <errno.h>
 #ifndef	major			/* if `major' not defined in types.h, */
 #include <sys/sysmacros.h>	/* try this one. */
 #endif
--- tct-1.11.orig/src/file/file.c
+++ tct-1.11/src/file/file.c
@@ -36,6 +36,7 @@
 #include <sys/param.h>	/* for MAXPATHLEN */
 #include <sys/stat.h>
 #include <fcntl.h>	/* for open() */
+#include <errno.h>
 #if (__COHERENT__ >= 0x420)
 #include <sys/utime.h>
 #else

Reply via email to