diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-16 08:01:27 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-10-16 08:01:27 +0000 |
commit | bd5406af8728e2c5d2d1c2b3282804c585c048a6 (patch) | |
tree | 39fdf4ab145e07d34351eba65c91fdb8dbe5cda4 /devel/vb2c | |
parent | - Unbreak this port on -current (diff) |
- Unbreak this port on -current
- Maintainer informed
PR: 58094
Submitted by: Michael Edenfield <kutulu@kutulu.org>
Notes
Notes:
svn path=/head/; revision=91406
Diffstat (limited to 'devel/vb2c')
-rw-r--r-- | devel/vb2c/Makefile | 4 | ||||
-rw-r--r-- | devel/vb2c/files/patch-vb2c.c | 29 |
2 files changed, 29 insertions, 4 deletions
diff --git a/devel/vb2c/Makefile b/devel/vb2c/Makefile index a72de490490e..df1ff4a3757f 100644 --- a/devel/vb2c/Makefile +++ b/devel/vb2c/Makefile @@ -21,10 +21,6 @@ NO_MAN= .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - post-extract: @${RM} -f ${WRKSRC}/*.o diff --git a/devel/vb2c/files/patch-vb2c.c b/devel/vb2c/files/patch-vb2c.c new file mode 100644 index 000000000000..d5d599b1c401 --- /dev/null +++ b/devel/vb2c/files/patch-vb2c.c @@ -0,0 +1,29 @@ +--- vb2c.c.orig Mon Feb 12 07:33:50 2001 ++++ vb2c.c Wed Oct 15 18:40:32 2003 +@@ -472,7 +472,7 @@ + if (strcmp(token,"=")!=0) + { printf("Damnit.. I expected an '=' and got %s\n",token); } + tokentype=gettoken(token); +- fprintf(tmp," gtk_text_insert(GTK_TEXT(%s),NULL, ++ fprintf(tmp," gtk_text_insert(GTK_TEXT(%s),NULL,\n\ + &%s->style->black,NULL,%s,-1);\n",name,name,token); + } + else +@@ -538,7 +538,7 @@ + if (strcmp(token,"=")!=0) + { printf("Damnit.. I expected an '=' and got %s\n",token); } + tokentype=gettoken(token); +- fprintf(tmp," gtk_text_insert(GTK_TEXT(%s),NULL, ++ fprintf(tmp," gtk_text_insert(GTK_TEXT(%s),NULL,\n\ + &%s->style->black,NULL,%s,-1);\n",name,name,token); + } + else +@@ -604,7 +604,7 @@ + if (strcmp(token,"=")!=0) + { printf("Damnit.. I expected an '=' and got %s\n",token); } + tokentype=gettoken(token); +- fprintf(tmp," gtk_text_insert(GTK_TEXT(%s),NULL, ++ fprintf(tmp," gtk_text_insert(GTK_TEXT(%s),NULL,\n\ + &%s->style->black,NULL,%s,-1);\n",name,name,token); + } + else |