Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 18:45:12 -0400 (EDT)
From:      Michael Edenfield <kutulu@kutulu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58094: devel/vb2c: fix build on 5.x
Message-ID:  <20031015224512.968F5B855@wombat.localnet>
Resent-Message-ID: <200310152250.h9FMoNnV029179@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031015224512.968F5B855>