summaryrefslogtreecommitdiff
path: root/debian/patches/brl-menu.reconf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/brl-menu.reconf')
-rw-r--r--debian/patches/brl-menu.reconf37
1 files changed, 18 insertions, 19 deletions
diff --git a/debian/patches/brl-menu.reconf b/debian/patches/brl-menu.reconf
index 751dbd3..bc331b3 100644
--- a/debian/patches/brl-menu.reconf
+++ b/debian/patches/brl-menu.reconf
@@ -1,28 +1,28 @@
-Index: ratpoison-1.4.3/configure
+change the autogenerated files the brl-menu.diff would change
+
+Index: ratpoison-1.4.4/configure
===================================================================
---- ratpoison-1.4.3.orig/configure 2008-02-20 18:14:22.000000000 +0100
-+++ ratpoison-1.4.3/configure 2008-02-20 18:24:32.000000000 +0100
-@@ -1312,6 +1312,7 @@
+--- ratpoison-1.4.4.orig/configure 2009-04-27 14:48:49.000000000 +0200
++++ ratpoison-1.4.4/configure 2009-04-27 15:16:28.000000000 +0200
+@@ -1308,6 +1308,7 @@
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-xterm=PROG set the x terminal emulator used by ratpoison
-+ --with-menu=PROG set a external menu program to be advertised
+ --with-xterm=PROG set the x terminal emulator used by ratpoison
++ --with-menu=PROG set a external menu program to be advertised
+ --without-xft Don't use the Xft library even if available
--with-x use the X Window System
- Some influential environment variables:
-@@ -2379,6 +2380,27 @@
- _ACEOF
+@@ -2530,7 +2531,24 @@
+ echo "${ECHO_T}no" >&6; }
+ fi
-
-+
+# Check whether --with-menu was given.
+if test "${with_menu+set}" = set; then
+ withval=$with_menu; menu_prog="$withval"
+else
+ menu_prog=""
+fi
-+
-+
+
+if test "$menu_prog" != "no" && ! test -z "$menu_prog" ; then
+
+cat >>confdefs.h <<_ACEOF
@@ -34,15 +34,14 @@ Index: ratpoison-1.4.3/configure
+{ echo "$as_me:$LINENO: result: $menu_prog" >&5
+echo "${ECHO_T}$menu_prog" >&6; }
+fi
-+
+
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
- set dummy ${ac_tool_prefix}gcc; ac_word=$2
-Index: ratpoison-1.4.3/src/config.h.in
+Index: ratpoison-1.4.4/src/config.h.in
===================================================================
---- ratpoison-1.4.3.orig/src/config.h.in 2008-02-20 18:14:22.000000000 +0100
-+++ ratpoison-1.4.3/src/config.h.in 2008-02-20 18:24:32.000000000 +0100
-@@ -78,6 +78,9 @@
+--- ratpoison-1.4.4.orig/src/config.h.in 2009-04-27 15:13:46.000000000 +0200
++++ ratpoison-1.4.4/src/config.h.in 2009-04-27 15:14:01.000000000 +0200
+@@ -75,6 +75,9 @@
/* Define to 1 if you have the <X11/extensions/Xinerama.h> header file. */
#undef HAVE_X11_EXTENSIONS_XINERAMA_H