Source: openvanilla-modules Severity: normal Tags: patch Dear Maintainer,
openvanilla-modules curently FTBFS on hurd-i386. The attached patch should fix this issue. WBR, Cyril Roelandt. -- System Information: Debian Release: wheezy/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: hurd-i386 (i686-AT386) Kernel: GNU-Mach 1.3.99-486/Hurd-0.3 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -ru openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/OVIMGeneric/OVIMGeneric.cpp openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp --- openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/OVIMGeneric/OVIMGeneric.cpp 2012-07-17 21:24:44.000000000 +0000 +++ openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp 2012-07-17 21:39:35.000000000 +0000 @@ -33,7 +33,7 @@ #include "OVIMGeneric.h" #include "CIN-Defaults.h" -#ifdef __linux__ +#if defined(__linux__) || defined(__GNU__) #include <stdio.h> #endif diff -ru openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVCandidateList.cpp openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp --- openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVCandidateList.cpp 2012-07-17 21:24:44.000000000 +0000 +++ openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp 2012-07-17 21:35:32.000000000 +0000 @@ -32,7 +32,7 @@ #include "OVCIN.h" #include <iostream> -#ifdef __linux__ +#if defined(__linux__) || defined(__GNU__) #include <stdio.h> #include <string.h> #endif diff -ru openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVCIN.cpp openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCIN.cpp --- openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVCIN.cpp 2012-07-17 21:24:44.000000000 +0000 +++ openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCIN.cpp 2012-07-17 21:27:27.000000000 +0000 @@ -33,7 +33,7 @@ #include "OVFileHandler.h" #include "OVWildcard.h" -#ifdef __linux__ +#if defined(__linux__) || defined(__GNU__) #include <string.h> #endif diff -ru openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVCINInfo.cpp openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp --- openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVCINInfo.cpp 2012-07-17 21:24:44.000000000 +0000 +++ openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp 2012-07-17 21:32:20.000000000 +0000 @@ -40,7 +40,7 @@ #include <dirent.h> #include <unistd.h> - #ifdef __linux__ + #if defined(__linux__) || defined(__GNU__) #include <stdio.h> #include <stdlib.h> #endif @@ -76,7 +76,7 @@ } #ifndef WIN32 - #ifdef __linux__ + #if defined(__linux__) || defined(__GNU__) int CLFileSelect(const struct dirent *entry) #else int CLFileSelect(struct dirent *entry) diff -ru openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVFileHandler.cpp openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVFileHandler.cpp --- openvanilla-modules-0.9.0a1.3+dfsg1.orig/Modules/SharedLibrary/OVFileHandler.cpp 2012-07-17 21:24:44.000000000 +0000 +++ openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVFileHandler.cpp 2012-07-17 21:37:14.000000000 +0000 @@ -31,7 +31,7 @@ #include "OVFileHandler.h" #include "OVStringToolKit.h" -#ifdef __linux__ +#if defined(__linux__) || defined(__GNU__) #include <string.h> #endif