[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FTBFS: on hurd because of undeclared PATH_MAX in rdev.c


Samuel Thibault wrote:
> Hiroyuki Yamamoto, le Tue 22 Sep 2009 19:23:15 +0900, a écrit :
>> Your package fails to build from source on hurd.
>> Attached is a patch which fixes the issue.
> Better just disable rdev build in the Makefile, that's what we got
> commited upstream some time ago (but apparently it got lost at some
> point).
Though there is no confidence, the patch was rewritten.
I ask for the review.

Hiroyuki Yamamoto
 A75D B285 7050 4BF9 AEDA  91AC 3A10 59C6 5203 04DC
diff -urd util-linux-2.16.1.orig/debian/rules util-linux-2.16.1/debian/rules
--- util-linux-2.16.1.orig/debian/rules	2009-09-22 17:29:12.000000000 +0900
+++ util-linux-2.16.1/debian/rules	2009-09-22 21:53:48.000000000 +0900
@@ -32,7 +32,10 @@
 version := $(shell sed -e '1{;s|^util-linux (\(.*\))\ .*|\1|;q;}' debian/changelog)
 Upstream := $(shell sed 's/^.*(\(.*\)-.*).*/\1/; q' debian/changelog)
-CONFOPTS= --enable-raw --enable-rdev --enable-partx --with-slang
+CONFOPTS= --enable-raw --enable-partx --with-slang
+ifneq ($(DEB_HOST_ARCH_OS),hurd)
+CONFOPTS += --enable-rdev
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 CONFOPTS += --with-selinux

Reply to: