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
commit0003d9c0ea8ef63347eaf8b39a7281cbcba5cd3c (patch)
tree279ad639b5454a4b8e9af3e4f8500fd436cf50f7 /net-wireless/mdk/files
parentppc stable #354939 (diff)
downloadgentoo-2-0003d9c0ea8ef63347eaf8b39a7281cbcba5cd3c.tar.gz
gentoo-2-0003d9c0ea8ef63347eaf8b39a7281cbcba5cd3c.tar.bz2
gentoo-2-0003d9c0ea8ef63347eaf8b39a7281cbcba5cd3c.zip
Initial commit for net-wireless/mdk wrt bug 265280 and bug 178561.
(Portage version: 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):