[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

acl: FTBFS on GNU/Hurd



Package: acl
Version: 2.2.15-1
Severity: important
Tags: sid, patch

Hi,

Patch to build on GNU/Hurd attached.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux aragorn 2.2.25 #1 Fri Jun 20 19:28:33 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libacl1 depends on:
ii  libattr1                      2.4.8-1    Extended attribute shared library
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an

-- no debconf information
diff -ur acl-2.2.15.old/chacl/chacl.c acl-2.2.15/chacl/chacl.c
--- acl-2.2.15.old/chacl/chacl.c	2003-08-04 08:03:31.000000000 +0200
+++ acl-2.2.15/chacl/chacl.c	2003-10-10 22:29:29.000000000 +0200
@@ -37,6 +37,9 @@
 #include <libgen.h>
 #include <stdio.h>
 #include <errno.h>
+#ifndef __USE_LARGEFILE64
+#define __USE_LARGEFILE64
+#endif
 #include <dirent.h>
 #include <sys/types.h>
 #include <sys/stat.h>
diff -ur acl-2.2.15.old/getfacl/getfacl.c acl-2.2.15/getfacl/getfacl.c
--- acl-2.2.15.old/getfacl/getfacl.c	2003-07-30 01:23:56.000000000 +0200
+++ acl-2.2.15/getfacl/getfacl.c	2003-10-10 22:22:04.000000000 +0200
@@ -33,6 +33,9 @@
 #include <dirent.h>
 #include <libgen.h>
 #include <getopt.h>
+#ifndef __USE_XOPEN_EXTENDED
+#define __USE_XOPEN_EXTENDED
+#endif
 #include <ftw.h>
 #include <locale.h>
 #include "config.h"
diff -ur acl-2.2.15.old/setfacl/setfacl.c acl-2.2.15/setfacl/setfacl.c
--- acl-2.2.15.old/setfacl/setfacl.c	2003-07-30 01:23:58.000000000 +0200
+++ acl-2.2.15/setfacl/setfacl.c	2003-10-10 22:22:59.000000000 +0200
@@ -28,6 +28,9 @@
 #include <sys/stat.h>
 #include <dirent.h>
 #include <libgen.h>
+#ifndef __USE_XOPEN_EXTENDED
+#define __USE_XOPEN_EXTENDED
+#endif
 #include <ftw.h>
 #include <getopt.h>
 #include <locale.h>

Reply to: