summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch')
-rw-r--r--games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch b/games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch
new file mode 100644
index 00000000000..a35f3498473
--- /dev/null
+++ b/games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch
@@ -0,0 +1,14 @@
+diff --git a/configure.ac b/configure.ac
+index 3554e67..b8b66c1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -35,8 +35,8 @@ AC_ARG_ENABLE(dbus,
+ [AS_HELP_STRING([--enable-dbus], [Build the DBus daemon.])],
+ [if test "$enableval" = "yes" ; then
+ modules="$xcowsayd_modules"
++ CFLAGS="$CFLAGS -DWITH_DBUS"
+ fi
+- CFLAGS="$CFLAGS -DWITH_DBUS"
+ AC_FUNC_FORK])
+
+ PKG_CHECK_MODULES(XCOWSAY, $modules)