attr: FTBFS on GNU/Hurd
Package: attr
Version: 2.4.8-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 libattr1 depends on:
ii libc6 2.3.2-8 GNU C Library: Shared libraries an
-- no debconf information
--
Robert Millan
"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."
-- J.R.R.T, Ainulindale (Silmarillion)
diff -ur old/attr-2.4.8/getfattr/getfattr.c attr-2.4.8/getfattr/getfattr.c
--- old/attr-2.4.8/getfattr/getfattr.c 2003-07-30 01:24:02.000000000 +0200
+++ attr-2.4.8/getfattr/getfattr.c 2003-10-10 22:13:40.000000000 +0200
@@ -27,6 +27,9 @@
#include <ctype.h>
#include <getopt.h>
#include <regex.h>
+#ifndef __USE_XOPEN_EXTENDED
+#define __USE_XOPEN_EXTENDED
+#endif
#include <ftw.h>
#include <locale.h>
diff -ur old/attr-2.4.8/libattr/libattr.c attr-2.4.8/libattr/libattr.c
--- old/attr-2.4.8/libattr/libattr.c 2003-04-29 08:08:36.000000000 +0200
+++ attr-2.4.8/libattr/libattr.c 2003-10-10 22:08:53.000000000 +0200
@@ -36,7 +36,6 @@
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
-#include <asm/types.h>
#include <attr/xattr.h>
#include <attr/attributes.h>
Reply to: