summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2004-09-13 17:31:51 +0000
committerGuillem Jover <guillem@debian.org>2004-09-13 17:31:51 +0000
commit7ca1f05ce143cd9e9d515fc3fbaedf96f96f5ecf (patch)
tree98511fe0fa3b899f53f03b2d5bba378ec6ebae07 /debian
parent13b3370e051e99e11000edae51bc6efa2681c905 (diff)
Allow to build natively on non GNU/Hurd systems.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/allow_os_native_build.patch30
2 files changed, 31 insertions, 0 deletions
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 <guillem@debian.org> 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)
+