aboutsummaryrefslogtreecommitdiffstats
path: root/devel/vb2c
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-16 16:01:27 +0800
committerkrion <krion@FreeBSD.org>2003-10-16 16:01:27 +0800
commita90885146e757f3a10811cb238cd9a9fb58a0400 (patch)
treefb5a4d28bef0495a4bc0c5c6ecce2362ddadaa9d /devel/vb2c
parente309760bac7fa48f392f41c4c8552c8c6960ccc4 (diff)
downloadfreebsd-ports-gnome-a90885146e757f3a10811cb238cd9a9fb58a0400.tar.gz
freebsd-ports-gnome-a90885146e757f3a10811cb238cd9a9fb58a0400.tar.zst
freebsd-ports-gnome-a90885146e757f3a10811cb238cd9a9fb58a0400.zip
- Unbreak this port on -current
- Maintainer informed PR: 58094 Submitted by: Michael Edenfield <kutulu@kutulu.org>
Diffstat (limited to 'devel/vb2c')
-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