Bug#568629: yafray: FTBFS on hurd-i386: unrecognized platform
Package: yafray
Version: 0.0.9+dfsg-3
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
Hi,
currently[1] yafray cannot be compiled on GNU/Hurd, because there is no
platform entry for hurd in the 'ficheros' dictionary in SConstruct.
The attached patches adds the correct entry ('gnu0' is the 'sys.platform' on
GNU/Hurd).
[1] https://buildd.debian.org/fetch.cgi?pkg=yafray&arch=hurd-i386&ver=0.0.9+dfsg-3&stamp=1265433859&file=log&as=raw
Thanks,
--
Pino
#! /bin/sh /usr/share/dpatch/dpatch-run
## 80_hurd_support.dpatch by Pino Toscano <toscano.pino@tiscali.it>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add support for GNU/Hurd
@DPATCH@
--- a/SConstruct
+++ b/SConstruct
@@ -13,7 +13,8 @@
'sunos5' : 'sunos5-settings',
'gnukfreebsd5' : 'linux-settings',
'gnukfreebsd6' : 'linux-settings',
-'gnukfreebsd7' : 'linux-settings'
+'gnukfreebsd7' : 'linux-settings',
+'gnu0' : 'linux-settings',
}
fichero = ficheros[sys.platform.split('-')[0]]
Reply to: