summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2011-02-22 18:48:52 +0000
committerDane Smith <c1pher@gentoo.org>2011-02-22 18:48:52 +0000
commite657fc6fd773a84ea3d7235c4470b06892770896 (patch)
tree42b7de3c18b1a30e76bb25f13aed805b403c6bec /net-wireless/mdk/files
parentppc stable #354939 (diff)
downloadhistorical-e657fc6fd773a84ea3d7235c4470b06892770896.tar.gz
historical-e657fc6fd773a84ea3d7235c4470b06892770896.tar.bz2
historical-e657fc6fd773a84ea3d7235c4470b06892770896.zip
Initial commit for net-wireless/mdk wrt bug 265280 and bug 178561.
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/mdk/files')
-rw-r--r--net-wireless/mdk/files/3.6-makefile.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-wireless/mdk/files/3.6-makefile.patch b/net-wireless/mdk/files/3.6-makefile.patch
new file mode 100644
index 000000000000..8016c317b486
--- /dev/null
+++ b/net-wireless/mdk/files/3.6-makefile.patch
@@ -0,0 +1,37 @@
+--- Makefile 2007-07-18 16:16:54.000000000 +0200
++++ Makefile.new 2009-04-01 09:17:06.000000000 +0200
+@@ -1,8 +1,8 @@
+-CFLAGS = -g -O3 -Wall -Wextra
+-LINKFLAGS = -lpthread
++CFLAGS +=
++LINKFLAGS = $(LDFLAGS)
+
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX = /usr/
+ SBINDIR = $(PREFIX)/sbin
+
+ OSD = osdep
+--- Makefile 2009-04-01 09:24:46.000000000 +0200
++++ Makefile.new 2009-04-01 09:25:08.000000000 +0200
+@@ -6,7 +6,7 @@
+ SBINDIR = $(PREFIX)/sbin
+
+ OSD = osdep
+-LIBS = -L$(OSD) -l$(OSD)
++LIBS = -L$(OSD) -l$(OSD) -lpthread
+ LIBOSD = $(OSD)/lib$(OSD).so
+
+
+@@ -10,9 +10,9 @@
+ LIBOSD = $(OSD)/lib$(OSD).so
+
+
+-all: osd mdk3
++all: mdk3
+
+-osd:
++$(OSD)/libosdep.a:
+ $(MAKE) -C $(OSD)
+
+ $(LIBOSD):