Package: super
Version: 3.30.0-2
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

your package FTBFS on GNU/kFreeBSD since __USE_BSD isn't set. You can
find the build logs at the usual place:
  https://buildd.debian.org/status/package.php?suite=unstable&p=super

Please apply the attached patch to use it on GNU/kFreeBSD too, which
makes your package buildable.

Thanks for considering.

Mraw,
KiBi.
--- a/configure
+++ b/configure
@@ -2175,6 +2175,10 @@ elif test "$Uname" = Linux ; then
 #define _BSD_SOURCE 1
 _ACEOF
 
+elif test "$Uname" = GNU/kFreeBSD ; then
+    cat >>confdefs.h <<\_ACEOF
+#define _BSD_SOURCE 1
+_ACEOF
 
 elif test "$Uname" = OSF1 ; then
     cat >>confdefs.h <<\_ACEOF
--- a/configure.in
+++ b/configure.in
@@ -38,6 +38,9 @@ if test "$Uname" = HP-UX ; then
 elif test "$Uname" = Linux ; then
     AC_DEFINE(_BSD_SOURCE)
 
+elif test "$Uname" = GNU/kFreeBSD ; then
+    AC_DEFINE(_BSD_SOURCE)
+
 elif test "$Uname" = OSF1 ; then
     AC_DEFINE(_OSF_SOURCE)
     AC_DEFINE(Digital_UNIX)

Reply via email to