Package: nitrogen Version: 1.5.2-2 Severity: normal Tags: patch pending Hi!
Find attached a patch that fixes the build on kfreebsd (and hopefully hurd). Thanks! Christoph
diff -Nru nitrogen-1.5.2/debian/changelog nitrogen-1.5.2/debian/changelog --- nitrogen-1.5.2/debian/changelog 2013-06-22 20:34:58.000000000 +0200 +++ nitrogen-1.5.2/debian/changelog 2015-08-07 21:33:50.000000000 +0200 @@ -1,3 +1,9 @@ +nitrogen (1.5.2-2.1) UNRELEASED; urgency=medium + + * Fix build on !linux + + -- Christoph Egger <[email protected]> Fri, 07 Aug 2015 21:33:40 +0200 + nitrogen (1.5.2-2) unstable; urgency=low * Bump standards version. diff -Nru nitrogen-1.5.2/debian/rules nitrogen-1.5.2/debian/rules --- nitrogen-1.5.2/debian/rules 2013-06-22 20:31:19.000000000 +0200 +++ nitrogen-1.5.2/debian/rules 2015-08-07 21:34:55.000000000 +0200 @@ -4,10 +4,15 @@ # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_TARGET_ARCH_OS ?= $(shell dpkg-architecture -qDEB_TARGET_ARCH_OS) DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +ifneq ($(DEB_TARGET_ARCH_OS),linux) +CONFIGFLAGS += --disable-inotify +endif + config.status: configure dh_testdir # Add here commands to configure the package. @@ -20,7 +25,7 @@ autopoint --force aclocal autoreconf -i - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs" + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(CONFIGFLAGS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs" build: build-arch build-indep

