aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/vb2c/Makefile4
-rw-r--r--devel/vb2c/files/patch-vb2c.c29
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