Package: grip Version: 3.3.1-4 Severity: important Tags: patch Hi,
grip currently fails to build on GNU/kFreeBSD, because there is no corresponding #if defined() to define MAILER on this system. Please find attached a patch to fix that. In the patch, I assumed this MAILER define should be ok on all system using a glibc. Could you please add it to the next upload of grip? Thanks in advance, Aurelien -- System Information: Debian Release: testing/unstable Architecture: kfreebsd-i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.3-1 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u grip-3.3.1/debian/patches/00list grip-3.3.1/debian/patches/00list --- grip-3.3.1/debian/patches/00list +++ grip-3.3.1/debian/patches/00list @@ -4,0 +5 @@ +80_fix_kfreebsd.dpatch --- grip-3.3.1.orig/debian/patches/80_fix_kfreebsd.dpatch +++ grip-3.3.1/debian/patches/80_fix_kfreebsd.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 80_fix_kfreebsd.dpatch by Aurelien Jarno <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + [EMAIL PROTECTED]@ +--- grip-3.3.1.orig/src/grip.h ++++ grip-3.3.1/src/grip.h +@@ -49,7 +49,7 @@ + + #define RRand(range) (random()%(range)) + +-#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__osf__) /* __osf__ ?? */ ++#if defined(__linux__) || defined(__FreeBSD__) || defined(__GLIBC__) || defined(__NetBSD__) || defined(__osf__) /* __osf__ ?? */ + + #define MAILER "/usr/sbin/sendmail -i -t" +