summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-03-11 22:12:17 +0000
committerChuck Short <zul@gentoo.org>2004-03-11 22:12:17 +0000
commit53cab4fff8b7b55ad43f0c8e4ed5f4ddfe4b8095 (patch)
treea6b273a65de8c2ba4a2b35209d6592a88dc73f45 /dev-util/vdkbuilder/files
parentMerged latest unstable vlc-0.6.2-r1, and vlc provided ebuild by Derk-Jan Hart... (diff)
downloadgentoo-2-53cab4fff8b7b55ad43f0c8e4ed5f4ddfe4b8095.tar.gz
gentoo-2-53cab4fff8b7b55ad43f0c8e4ed5f4ddfe4b8095.tar.bz2
gentoo-2-53cab4fff8b7b55ad43f0c8e4ed5f4ddfe4b8095.zip
More gcc fixes.
Diffstat (limited to 'dev-util/vdkbuilder/files')
-rw-r--r--dev-util/vdkbuilder/files/vdkbuilder-gcc3.patch22
1 files changed, 17 insertions, 5 deletions
diff --git a/dev-util/vdkbuilder/files/vdkbuilder-gcc3.patch b/dev-util/vdkbuilder/files/vdkbuilder-gcc3.patch
index 228f9fad164d..cb8420cb134c 100644
--- a/dev-util/vdkbuilder/files/vdkbuilder-gcc3.patch
+++ b/dev-util/vdkbuilder/files/vdkbuilder-gcc3.patch
@@ -1,6 +1,19 @@
-diff -Naur vdkbuilder2-2.0.3.old/vdkbuilder/vdkb_templates.cc vdkbuilder2-2.0.3/vdkbuilder/vdkb_templates.cc
---- vdkbuilder2-2.0.3.old/vdkbuilder/vdkb_templates.cc 2002-06-04 07:56:35.000000000 +0000
-+++ vdkbuilder2-2.0.3/vdkbuilder/vdkb_templates.cc 2003-12-14 18:07:08.557890952 +0000
+diff -Naur vdkbuilder2-2.0.3/vdkbuilder/vdkb_templates.cc vdkbuilder2-2.0.3-gentoo/vdkbuilder/vdkb_templates.cc
+--- vdkbuilder2-2.0.3/vdkbuilder/vdkb_templates.cc 2002-06-04 07:56:35.000000000 +0000
++++ vdkbuilder2-2.0.3-gentoo/vdkbuilder/vdkb_templates.cc 2004-03-11 18:41:25.000000000 +0000
+@@ -796,10 +796,10 @@
+ {
+ namepath = get_path(complete_name);
+ if(namepath && !strcmp(namepath,(char*) path))
+- fprintf(fp,"\t$(PRJ_DIR)/%s_gui.o\\\n",
++ fprintf(fp,"\t$(PRJ_DIR)/%s_gui.o\n",
+ get_shortfilename(complete_name));
+ else
+- fprintf(fp,"\t%s_gui.o\\\n",li.current()->Name());
++ fprintf(fp,"\t%s_gui.o\n",li.current()->Name());
+ }
+ if(namepath)
+ delete[] namepath;
@@ -856,34 +856,34 @@
char* pw = getcwd(NULL,MAXPATHLEN);
if(pw)
@@ -21,7 +34,6 @@ diff -Naur vdkbuilder2-2.0.3.old/vdkbuilder/vdkb_templates.cc vdkbuilder2-2.0.3/
-\n\
-\n$(TARGET): $(OBJECTS)\
-\n\t$(LINK) -o $(TARGET) $(OBJECTS) $(OTHERS_OBJECTS) $(LIBS)\
--\n\
+ fprintf(fp,"
+\n####### Implicit rules
+\n.SUFFIXES: .%s .%s
@@ -35,7 +47,7 @@ diff -Naur vdkbuilder2-2.0.3.old/vdkbuilder/vdkb_templates.cc vdkbuilder2-2.0.3/
+\n####### Build rules
+\n
+\nall: $(TARGET)
-+\n\
+ \n\
+\n$(TARGET): $(OBJECTS)
+\n\t$(LINK) -o $(TARGET) $(OBJECTS) $(OTHERS_OBJECTS) $(LIBS)
+\n