ports/58094: devel/vb2c: fix build on 5.x
Michael Edenfield
kutulu at kutulu.org
Wed Oct 15 22:51:44 UTC 2003
>Number: 58094
>Category: ports
>Synopsis: devel/vb2c: fix build on 5.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 15 15:50:23 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Michael Edenfield
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD wombat.localnet 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Sun Aug 24 21:35:57 EDT 2003 root at wombat.localnet:/usr/obj/usr/src/sys/ATHLON i386
>Description:
>How-To-Repeat:
>Fix:
--- patch-vb2c begins here ---
diff -urN vb2c.orig/files/patch-vb2c.c vb2c/files/patch-vb2c.c
--- vb2c.orig/files/patch-vb2c.c Wed Dec 31 19:00:00 1969
+++ vb2c/files/patch-vb2c.c Wed Oct 15 18:42:29 2003
@@ -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
--- patch-vb2c ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list