Package: sudo
Severity: important
Version: 1.6.9p11-2
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small fixup of configure.in/configure.
Please find attached patch with that.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr
diff -u sudo-1.6.9p11/configure.in sudo-1.6.9p11/configure.in
--- sudo-1.6.9p11/configure.in
+++ sudo-1.6.9p11/configure.in
@@ -1382,7 +1382,7 @@
                : ${mansectsu='1m'}
                : ${mansectform='4'}
                ;;
-    *-*-linux*)
+    *-*-linux*|*-*-k*bsd*)
                OSDEFS="${OSDEFS} -D_GNU_SOURCE"
                # Some Linux versions need to link with -lshadow
                shadow_funcs="getspnam"
diff -u sudo-1.6.9p11/configure sudo-1.6.9p11/configure
--- sudo-1.6.9p11/configure
+++ sudo-1.6.9p11/configure
@@ -11734,7 +11734,7 @@
                : ${mansectsu='1m'}
                : ${mansectform='4'}
                ;;
-    *-*-linux*)
+    *-*-linux*|*-*-k*bsd*)
                OSDEFS="${OSDEFS} -D_GNU_SOURCE"
                # Some Linux versions need to link with -lshadow
                shadow_funcs="getspnam"

Reply via email to