diff options
author | Bertrand Marc <beberking@gmail.com> | 2013-08-04 18:46:15 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2013-08-04 18:46:15 +0200 |
commit | 507fce1c33abfa0cbcd6388116e8600b4b51ccfc (patch) | |
tree | 0b03e3a9c233d96032e5f9497f7a27cc3857b1b8 | |
parent | 61eac601e13c876a337c74ab613a99166e557c98 (diff) |
Drop patch to support GNU Hurd, included upstream.
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/support_GNU_hurd.patch | 44 |
2 files changed, 0 insertions, 45 deletions
diff --git a/debian/patches/series b/debian/patches/series index 0eecbb2..7f516e8 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ -support_GNU_hurd.patch sparc_alignment.patch diff --git a/debian/patches/support_GNU_hurd.patch b/debian/patches/support_GNU_hurd.patch deleted file mode 100644 index d48de27..0000000 --- a/debian/patches/support_GNU_hurd.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -162,6 +162,11 @@ - UNIXONLY="" - funcstocheck="" - ;; -+gnu*) -+ AC_DEFINE_UNQUOTED(GNU,1,[This is a GNU system]) -+ build_target="gnu" -+ UNIXONLY="#" -+ ;; - *) - AC_MSG_RESULT(Unrecognised OS $host_os) - AC_DEFINE_UNQUOTED(OTHEROS,1,[Some strange OS]) -@@ -184,6 +189,7 @@ - AM_CONDITIONAL(XFREEBSD, test "$build_target" = "freebsd") - AM_CONDITIONAL(OPENBSD, test "$build_target" = "openbsd") - AM_CONDITIONAL(LINUX, test "$build_target" = "linux") -+AM_CONDITIONAL(GNU, test "$build_target" = "gnu") - - AC_MSG_RESULT([$build_target]) - AC_SUBST(build_target) ---- a/src/include/platform.h -+++ b/src/include/platform.h -@@ -146,7 +146,7 @@ - #include <semaphore.h> - #include <net/if.h> - #endif --#ifdef LINUX -+#if defined(LINUX) || defined(GNU) - #include <net/if.h> - #endif - #ifdef SOLARIS ---- a/src/util/disk.c -+++ b/src/util/disk.c -@@ -47,7 +47,7 @@ - - - --#if defined(LINUX) || defined(CYGWIN) -+#if defined(LINUX) || defined(CYGWIN) || defined(GNU) - #include <sys/vfs.h> - #else - #if defined(SOMEBSD) || defined(DARWIN) |