summaryrefslogtreecommitdiffstats
path: root/openwrt/package/vncrepeater/patches/01-uclibcxx_linking.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-10 14:42:25 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-10 14:42:25 +0000
commit5240766a031499568fa884a5e03b395e6e05934a (patch)
treeeacd2ec0cbefee97bf8189e051784e0ebde6a853 /openwrt/package/vncrepeater/patches/01-uclibcxx_linking.patch
parent83bd186de6f2ddda7c90cf631bd0897894065820 (diff)
Add vncrepeater, with uClibc++ linking, needs therefore testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3605 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/vncrepeater/patches/01-uclibcxx_linking.patch')
-rw-r--r--openwrt/package/vncrepeater/patches/01-uclibcxx_linking.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/openwrt/package/vncrepeater/patches/01-uclibcxx_linking.patch b/openwrt/package/vncrepeater/patches/01-uclibcxx_linking.patch
new file mode 100644
index 000000000..7df92a01b
--- /dev/null
+++ b/openwrt/package/vncrepeater/patches/01-uclibcxx_linking.patch
@@ -0,0 +1,23 @@
+diff -urN vncrepeater-0.007/Makefile vncrepeater-0.007.new/Makefile
+--- vncrepeater-0.007/Makefile 2005-10-03 20:22:48.000000000 +0200
++++ vncrepeater-0.007.new/Makefile 2006-04-10 16:15:50.495599944 +0200
+@@ -1,15 +1,15 @@
+ CFLAGS=-Wall
+ repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o
+- g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o
++ $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o -nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++
+
+ repeater.o: repeater.cpp
+- g++ $(CFLAGS) -c repeater.cpp
++ $(CC) $(CFLAGS) -c repeater.cpp
+
+ repeaterproc.o: repeaterproc.cpp
+- g++ $(CFLAGS) -c repeaterproc.cpp
++ $(CC) $(CFLAGS) -c repeaterproc.cpp
+
+ openbsd_stringfuncs.o: openbsd_stringfuncs.cpp
+- g++ $(CFLAGS) -c openbsd_stringfuncs.cpp
++ $(CC) $(CFLAGS) -c openbsd_stringfuncs.cpp
+
+ clean:
+ rm -f *.o repeater