summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch')
-rw-r--r--x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch b/x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch
new file mode 100644
index 000000000000..9d88a342db5f
--- /dev/null
+++ b/x11-misc/xlockmore/files/xlockmore-5.47-_BSD_SOURCE.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -3946,7 +3946,7 @@
+ AC_DEFINE([linux], [1], [Linux OS])
+ dnl AC_DEFINE([__i386__], [1], [Intel 386 machine])
+ AC_DEFINE([_POSIX_SOURCE], [1], [POSIX source])
+- AC_DEFINE([_BSD_SOURCE], [1], [BSD source])
++ AC_DEFINE([_DEFAULT_SOURCE], [1], [DEFAULT source])
+ AC_DEFINE([_GNU_SOURCE], [1], [GNU source])
+ dnl AC_DEFINE([DX_LOCALE], [1], [DX Locale])
+ if test -e /etc/shadow ; then