Package: hercules
Version: 3.04.1-1
Severity: important
Tags: patch

Hi,

The current version of hercules fails to build on GNU/kFreeBSD.

It needs a small tweak to hostopts.h to correctly supports this
architecture. You will find the patch below.

It also needs an update of config.guess and config.sub from a recent
version (have a look in /usr/share/misc/, package autotools-dev).

Thanks in advance,
Aurelien


--- hercules-3.04.1.orig/hostopts.h
+++ hercules-3.04.1/hostopts.h
@@ -203,7 +203,7 @@
 /*-------------------------------------------------------------------*/
 /* Hard-coded FreeBSD-specific features and options...               */
 /*-------------------------------------------------------------------*/
-#elif defined(__FreeBSD__)              /* "FreeBSD" options         */
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) /* "FreeBSD" options 
*/
 
 #define DLL_IMPORT   extern
 #define DLL_EXPORT


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to