ports/54778: [Maintainer Update] Fix ports/x11-toolkits/gtkmathview build on 5.1-CURRENT
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Wed Jul 23 08:40:07 UTC 2003
>Number: 54778
>Category: ports
>Synopsis: [Maintainer Update] Fix ports/x11-toolkits/gtkmathview build on 5.1-CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 23 01:40:02 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Ying-Chieh Chen
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
yinjieh vmware lab
>Environment:
System: FreeBSD stable.yinjieh.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 root at freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Fix ports/x11-toolkits/gtkmathview build on 5.1-CURRENT.
The build fails because #include <assert.h> is missing.
So I fix it with the addition of #include <assert.h> .
Please commit it, thanks!
>How-To-Repeat:
cd ${PORTSDIR}/x11-toolkits/gtkmathview && make build
>Fix:
--- gtkmathview.patch begins here ---
diff -ruN /usr/ports/x11-toolkits/gtkmathview/files/patch-src::ChildList.cc gtkmathview/files/patch-src::ChildList.cc
--- /usr/ports/x11-toolkits/gtkmathview/files/patch-src::ChildList.cc Thu Jan 1 08:00:00 1970
+++ gtkmathview/files/patch-src::ChildList.cc Wed Jul 23 16:18:34 2003
@@ -0,0 +1,12 @@
+--- src/ChildList.cc.orig Wed Jul 23 16:15:50 2003
++++ src/ChildList.cc Wed Jul 23 16:17:12 2003
+@@ -20,6 +20,9 @@
+ // http://www.cs.unibo.it/helm/mml-widget, or send a mail to
+ // <luca.padovani at cs.unibo.it>
+
++#ifdef __FreeBSD__
++#include <assert.h>
++#endif
+ #include <config.h>
+
+ #include "ChildList.hh"
--- gtkmathview.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list