hurd FTBFS patch: add -DSELECT
authorIan Beckwith <ianb@erislabs.net>
Tue, 8 May 2012 03:38:16 +0000 (04:38 +0100)
committerIan Beckwith <ianb@erislabs.net>
Tue, 8 May 2012 03:38:16 +0000 (04:38 +0100)
debian/changelog
debian/rules

index 7d2f0b7..90c289e 100644 (file)
@@ -1,5 +1,7 @@
 ckermit (302-2) unstable; urgency=low
 
+  * Fix FTBFS on hurd-i386 (Closes: #671892)
+    Thanks to Svante Signell.
   * Fix pending l10n issues. Debconf translations:
     + Dutch; (Thanks to Jeroen Schot).  Closes: #660843
     + Polish (Thanks to Michał Kułach).  Closes: #670771
index b6def6b..6720b1b 100755 (executable)
@@ -20,7 +20,7 @@ else
 endif
 
 DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
-ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+ifneq (,$(or $(findstring kfreebsd, $(DEB_HOST_ARCH_OS)), $(findstring hurd, $(DEB_HOST_ARCH_OS))))
        CFLAGS += -DSELECT
 endif