summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/biew/files/biew-570-configure-gpm.patch')
-rw-r--r--dev-util/biew/files/biew-570-configure-gpm.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/biew/files/biew-570-configure-gpm.patch b/dev-util/biew/files/biew-570-configure-gpm.patch
new file mode 100644
index 000000000000..61497f80ca89
--- /dev/null
+++ b/dev-util/biew/files/biew-570-configure-gpm.patch
@@ -0,0 +1,16 @@
+--- configure.old 2008-12-24 13:26:59.000000000 -0800
++++ configure 2008-12-24 13:34:00.000000000 -0800
+@@ -478,8 +478,11 @@
+ #include <gpm.h>
+ int main(void) {return 0;}
+ EOF
+- _gpm=no
+- cc_check -lgpm && _gpm=yes
++ # _gpm may be forced from command line
++ if test -z "$_gpm" ; then
++ _gpm=no
++ cc_check -lgpm && _gpm=yes
++ fi
+ if test "$_gpm" = yes ; then
+ _cdefos="-DHAVE_MOUSE $_cdefos"
+ _oslibs="-lgpm $_oslibs"