[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gem: FTBFS(kfreebsd): missing headers



unarchive 659747
reopen 659747 debian-bsd@lists.debian.org
retitle 659747 gem: FTBFS(kfreebsd): missing headers
notfixed 659747 gem/1:0.93.3-3
found 659747 gem/1:0.93.3-3
tags 659747 + patch
user debian-gcc@lists.debian.org
usertags 659747 ftbfs-gcc-4.7
thanks

Hi IOhannes,

A small extra hunk is needed now in your patch to fix Gem/Dylib.cpp (due
to #673286 affecting a piece of kFreeBSD-specific code I think).

Please see attached.  Tested with a successful build on kfreebsd-i386.

Thanks!

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
Index: gem-0.93.3/src/Gem/Dylib.cpp
===================================================================
--- gem-0.93.3.orig/src/Gem/Dylib.cpp	2011-11-21 18:01:52.000000000 +0000
+++ gem-0.93.3/src/Gem/Dylib.cpp	2012-06-11 13:27:38.303214513 +0100
@@ -25,7 +25,7 @@
 #include <string>
 #include <stdio.h>
 
-#if defined __linux__ || defined __APPLE__
+#if defined __linux__ || defined __APPLE__ || defined __FreeBSD_kernel__
 #include <unistd.h>
 # define DL_OPEN
 #endif

Reply to: