summaryrefslogtreecommitdiffstats
path: root/package/vncrepeater/patches/01-uclibcxx_linking.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-11 08:35:01 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-11 08:35:01 +0000
commit666bde2e8909816739830ed768c693df30243c1a (patch)
treec5b912ced697d10520cff5a5108fd1243597bf82 /package/vncrepeater/patches/01-uclibcxx_linking.patch
parent7f5de61a8743da1a7b65a5fafebe8c4717daa289 (diff)
Update to version 0.12, add a default configuration file, thanks to eatnumber1 !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3612 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/vncrepeater/patches/01-uclibcxx_linking.patch')
-rw-r--r--package/vncrepeater/patches/01-uclibcxx_linking.patch25
1 files changed, 17 insertions, 8 deletions
diff --git a/package/vncrepeater/patches/01-uclibcxx_linking.patch b/package/vncrepeater/patches/01-uclibcxx_linking.patch
index 7df92a01b..06020eeba 100644
--- a/package/vncrepeater/patches/01-uclibcxx_linking.patch
+++ b/package/vncrepeater/patches/01-uclibcxx_linking.patch
@@ -1,11 +1,12 @@
-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++
+diff -urN vncrepeater-0.12/Makefile vncrepeater-0.12.new/Makefile
+--- vncrepeater-0.12/Makefile 2006-03-31 07:40:14.000000000 +0200
++++ vncrepeater-0.12.new/Makefile 2006-04-11 10:26:06.345879104 +0200
+@@ -1,21 +1,21 @@
+-CFLAGS=-Wall
++CFLAGS=-Wall
+ repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o
+- g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o
++ $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o -nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++
repeater.o: repeater.cpp
- g++ $(CFLAGS) -c repeater.cpp
@@ -19,5 +20,13 @@ diff -urN vncrepeater-0.007/Makefile vncrepeater-0.007.new/Makefile
- g++ $(CFLAGS) -c openbsd_stringfuncs.cpp
+ $(CC) $(CFLAGS) -c openbsd_stringfuncs.cpp
+ iniparser.o: iniparser.cpp
+- g++ $(CFLAGS) -c iniparser.cpp
++ $(CC) $(CFLAGS) -c iniparser.cpp
+
+ readini.o: readini.cpp
+- g++ $(CFLAGS) -c readini.cpp
++ $(CC) $(CFLAGS) -c readini.cpp
+
clean:
rm -f *.o repeater