tags 717364 + pending thanks Dear maintainer,
Upstream has accepted Stevens patch. I've prepared an NMU for ninja-build (versioned as 1.3.4-1.2) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards, Felix
diff -Nru ninja-build-1.3.4/debian/changelog ninja-build-1.3.4/debian/changelog --- ninja-build-1.3.4/debian/changelog 2013-07-18 10:09:58.000000000 +0200 +++ ninja-build-1.3.4/debian/changelog 2014-05-31 10:02:40.000000000 +0200 @@ -1,3 +1,11 @@ +ninja-build (1.3.4-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Add gnukfreebsd.patch to fix platform detection on gnukfreebsd 9 and later. + Thanks to Steven Chamberlain for the patch. (Closes: #717364) + + -- Felix Geyer <fge...@debian.org> Sat, 31 May 2014 10:01:37 +0200 + ninja-build (1.3.4-1.1) unstable; urgency=low * Non-maintainer upload. diff -Nru ninja-build-1.3.4/debian/patches/gnukfreebsd.patch ninja-build-1.3.4/debian/patches/gnukfreebsd.patch --- ninja-build-1.3.4/debian/patches/gnukfreebsd.patch 1970-01-01 01:00:00.000000000 +0100 +++ ninja-build-1.3.4/debian/patches/gnukfreebsd.patch 2014-05-31 10:02:48.000000000 +0200 @@ -0,0 +1,24 @@ +Description: Fix platform detection on Debian gnukfreebsd >= 9. +Author: Steven Chamberlain <ste...@pyro.eu.org> +Forwarded: https://github.com/martine/ninja/pull/770 + +--- a/platform_helper.py ++++ b/platform_helper.py +@@ -19,7 +19,7 @@ + + def platforms(): + return ['linux', 'darwin', 'freebsd', 'openbsd', 'solaris', 'sunos5', +- 'mingw', 'msvc', 'gnukfreebsd8'] ++ 'mingw', 'msvc', 'gnukfreebsd'] + + class Platform( object ): + def __init__( self, platform): +@@ -31,7 +31,7 @@ + self._platform = 'linux' + elif self._platform.startswith('freebsd'): + self._platform = 'freebsd' +- elif self._platform.startswith('gnukfreebsd8'): ++ elif self._platform.startswith('gnukfreebsd'): + self._platform = 'freebsd' + elif self._platform.startswith('openbsd'): + self._platform = 'openbsd' diff -Nru ninja-build-1.3.4/debian/patches/series ninja-build-1.3.4/debian/patches/series --- ninja-build-1.3.4/debian/patches/series 2013-07-01 01:25:05.000000000 +0200 +++ ninja-build-1.3.4/debian/patches/series 2014-05-31 10:02:59.000000000 +0200 @@ -1,3 +1,4 @@ 00bootstrap.patch 01configure.patch asciidoc.patch +gnukfreebsd.patch