diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-04-05 11:41:24 +0200 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-04-05 11:41:24 +0200 |
commit | 3270c84fd83c324d0c56710583a4493fd3a4a14f (patch) | |
tree | 2713bc1efebaa69817c86a033098cb7895f7ae98 | |
parent | 561cafa6755a93fdc52b70fa91484c30dcc8a10d (diff) |
patch to fix Hurd build
-rw-r--r-- | debian/patches/03-gant-try-fixing-FTBFS-under-hurd-i386 | 41 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/03-gant-try-fixing-FTBFS-under-hurd-i386 b/debian/patches/03-gant-try-fixing-FTBFS-under-hurd-i386 new file mode 100644 index 0000000..0c3266d --- /dev/null +++ b/debian/patches/03-gant-try-fixing-FTBFS-under-hurd-i386 @@ -0,0 +1,41 @@ +From ac496ff03df3ecb6fb447021aa5fd66dbe20824d Mon Sep 17 00:00:00 2001 +From: "RALOVICH, Kristof" <tade60@freemail.hu> +Date: Sat, 5 Apr 2014 11:37:55 +0200 +Subject: [PATCH] gant: try fixing FTBFS under hurd-i386 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +> /«PKGBUILDDIR»/src/gant/antlib.c:415:73: error: 'IUCLC' undeclared (first use in this function) +--- + src/gant/antlib.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/src/gant/antlib.c b/src/gant/antlib.c +index 26e880f..283eb10 100644 +--- a/src/gant/antlib.c ++++ b/src/gant/antlib.c +@@ -1,5 +1,11 @@ + /* copyright 2008 paul@ant.sbrk.co.uk. released under GPLv3 */ + /* vers 0.6t */ ++ ++#define _XOPEN_SOURCE 500 ++#define _BSD_SOURCE ++#if defined(__GNU__) /* Hurd */ ++# define _GNU_SOURCE ++#endif + #include <unistd.h> + #include <sys/types.h> + #include <sys/stat.h> +@@ -9,6 +15,8 @@ + #include <pthread.h> + #include <termios.h> + #include <stdlib.h> ++#include <strings.h> /* bzero */ ++#include <sys/select.h> /* fd_set */ + + #define __declspec(X) + +-- +1.8.3.2 + diff --git a/debian/patches/series b/debian/patches/series index f7e2a5d..8f15f63 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 01-include-cstdint 02-try-fixing-FTBFS-under-hurd-i386-kfreebsd-amd64-kfre +03-gant-try-fixing-FTBFS-under-hurd-i386 |