summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/spacenavd/files/spacenavd-0.5-custom-flags.patch')
-rw-r--r--sys-libs/spacenavd/files/spacenavd-0.5-custom-flags.patch30
1 files changed, 16 insertions, 14 deletions
diff --git a/sys-libs/spacenavd/files/spacenavd-0.5-custom-flags.patch b/sys-libs/spacenavd/files/spacenavd-0.5-custom-flags.patch
index 65896e6..3b834a4 100644
--- a/sys-libs/spacenavd/files/spacenavd-0.5-custom-flags.patch
+++ b/sys-libs/spacenavd/files/spacenavd-0.5-custom-flags.patch
@@ -1,6 +1,20 @@
+diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in
+--- spacenavd-0.5.orig/Makefile.in 2012-01-31 22:22:20.460368687 +0100
++++ spacenavd-0.5/Makefile.in 2012-01-31 22:23:18.170367675 +0100
+@@ -6,8 +6,8 @@ ctl = spnavd_ctl
+
+ CC = gcc
+ INSTALL = install
+-CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -I$(srcdir)/src
+-LDFLAGS = $(xlib)
++CFLAGS = $(opt) -fno-strict-aliasing -I$(srcdir)/src
++LDFLAGS = $(ldopt) $(xlib)
+
+ $(bin): $(obj)
+ $(CC) -o $@ $(obj) $(LDFLAGS)
diff -Npur spacenavd-0.5.orig/configure spacenavd-0.5/configure
---- spacenavd-0.5.orig/configure 2011-11-16 21:43:53.210859753 +0100
-+++ spacenavd-0.5/configure 2011-11-16 21:49:45.008853534 +0100
+--- spacenavd-0.5.orig/configure 2012-01-31 22:22:20.460368687 +0100
++++ spacenavd-0.5/configure 2012-01-31 22:22:49.257368187 +0100
@@ -28,6 +28,7 @@ test_kver() {
PREFIX=/usr/local
@@ -51,15 +65,3 @@ diff -Npur spacenavd-0.5.orig/configure spacenavd-0.5/configure
fi
if [ "$X11" = 'yes' ]; then
-diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in
---- spacenavd-0.5.orig/Makefile.in 2011-11-16 21:43:53.210859753 +0100
-+++ spacenavd-0.5/Makefile.in 2011-11-16 21:50:27.842852776 +0100
-@@ -7,7 +7,7 @@ ctl = spnavd_ctl
- CC = gcc
- INSTALL = install
- CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -I$(srcdir)/src
--LDFLAGS = $(xlib)
-+LDFLAGS = $(ldopt) $(xlib)
-
- $(bin): $(obj)
- $(CC) -o $@ $(obj) $(LDFLAGS)