Package: goldedplus
Severity: important
Tags: patch

Hi,

The current version of goldedplus fails to build on GNU/kFreeBSD. Please
find attached a small patch to fix that. It would be nice if you can
include it in your next upload.

Thanks for your cooperation,
Aurelien


-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

diff -u goldedplus-1.1.4.7+1.1.5.20051016/debian/rules 
goldedplus-1.1.4.7+1.1.5.20051016/debian/rules
--- goldedplus-1.1.4.7+1.1.5.20051016/debian/rules
+++ goldedplus-1.1.4.7+1.1.5.20051016/debian/rules
@@ -22,6 +22,7 @@
        cat build/Makefile debian/patches/Makefile.addon > build/Makefile.Debian
        patch -p0 < debian/patches/compilefix-20051016snapshot.patch
        patch -p0 < debian/patches/compilefix-20051016snapshot-noni386.patch
+       patch -p0 < debian/patches/gnu-kfreebsd.patch
        # Build it
        $(MAKE) -C build -f Makefile.Debian
        touch build-stamp
--- goldedplus-1.1.4.7+1.1.5.20051016.orig/debian/patches/gnu-kfreebsd.patch
+++ goldedplus-1.1.4.7+1.1.5.20051016/debian/patches/gnu-kfreebsd.patch
@@ -0,0 +1,12 @@
+--- build/goldlib/gall/gcmpall.h.orig  2005-10-23 15:24:16.000000000 +0200
++++ build/goldlib/gall/gcmpall.h       2005-10-23 15:24:33.000000000 +0200
+@@ -68,6 +68,9 @@
+   #if defined(__FreeBSD__)
+     #define __UNIX__ __FreeBSD__
+   #endif
++  #if defined(__FreeBSD_kernel__)
++    #define __UNIX__ __FreeBSD_kernel__
++  #endif
+   #if defined(__OpenBSD__)
+     #define __UNIX__ __OpenBSD__
+   #endif

Reply via email to