From 7ca1f05ce143cd9e9d515fc3fbaedf96f96f5ecf Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 13 Sep 2004 17:31:51 +0000 Subject: Allow to build natively on non GNU/Hurd systems. --- debian/changelog | 1 + debian/patches/allow_os_native_build.patch | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 debian/patches/allow_os_native_build.patch diff --git a/debian/changelog b/debian/changelog index 6f8cc8d..575615b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ gnumach (1:20040229-2) unstable; urgency=low * Split patches into debian/patches/. + * Allow to build natively on non GNU/Hurd systems. -- Guillem Jover Mon, 13 Sep 2004 19:19:30 +0200 diff --git a/debian/patches/allow_os_native_build.patch b/debian/patches/allow_os_native_build.patch new file mode 100644 index 0000000..22efd32 --- /dev/null +++ b/debian/patches/allow_os_native_build.patch @@ -0,0 +1,30 @@ +diff -Naur gnumach-20040229.orig/configure gnumach-20040229/configure +--- gnumach-20040229.orig/configure 2004-03-01 00:26:39.000000000 +0100 ++++ gnumach-20040229/configure 2004-09-13 19:25:33.000000000 +0200 +@@ -586,11 +586,6 @@ + *) { echo "configure: error: unsupported CPU type" 1>&2; exit 1; } ;; + esac + +-case "$host_os" in +-gnu*) ;; +-*) { echo "configure: error: sorry, this is the gnu os, not $host_os" 1>&2; exit 1; } ;; +-esac +- + + + +diff -Naur gnumach-20040229.orig/configure.in gnumach-20040229/configure.in +--- gnumach-20040229.orig/configure.in 2004-02-29 21:26:22.000000000 +0100 ++++ gnumach-20040229/configure.in 2004-09-13 19:25:03.000000000 +0200 +@@ -28,11 +28,6 @@ + *) AC_MSG_ERROR([unsupported CPU type]) ;; + esac + +-case "$host_os" in +-gnu*) ;; +-*) AC_MSG_ERROR([sorry, this is the gnu os, not $host_os]) ;; +-esac +- + AC_SUBST(systype) + AC_SUBST(cross_compiling) + -- cgit v1.2.3