Package: lynkeos.app
Version: 1.2-6
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

currently[1], lynkeos.app does not compile on GNU/Hurd.

The problem is that fourier.c unconditional includes <sys/sysctl.h>,
which is not a standard header, and it does not exist on GNU/Hurd.
The fix is including that only in the !GNUSTEP case, since it is only used
in that case in `initializeProcessing'.

[1] 
https://buildd.debian.org/status/fetch.php?pkg=lynkeos.app&arch=hurd-i386&ver=1.2-6&stamp=1317100519

Thanks,
-- 
Pino
#! /bin/sh /usr/share/dpatch/dpatch-run
## hurd.dpatch by Pino Toscano <p...@debian.org>
##
## DP: #include <sys/sysctl.h>.only in the !GNUSTEP case, since it is used
## DP: only in that case in `initializeProcessing'.

@DPATCH@
--- a/Sources/fourier.c
+++ b/Sources/fourier.c
@@ -26,10 +26,9 @@
 #include <stdlib.h>
 #include <assert.h>
 
-#include <sys/sysctl.h>
-
 #ifdef GNUSTEP
 #else
+#include <sys/sysctl.h>
 #include <CarbonCore/Multiprocessing.h>
 #endif
 

Reply via email to