aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-10-16 19:12:12 +0800
committerfjoe <fjoe@FreeBSD.org>2003-10-16 19:12:12 +0800
commit8e71aa21c68c9ed2ceea2e259c937b216e338404 (patch)
tree277b9a3aff27e545c57e74ed37bc12aa3a54fdcb
parent74d66940e1507b51a8f615d39e0dd8bb3dc820c4 (diff)
downloadfreebsd-ports-gnome-8e71aa21c68c9ed2ceea2e259c937b216e338404.tar.gz
freebsd-ports-gnome-8e71aa21c68c9ed2ceea2e259c937b216e338404.tar.zst
freebsd-ports-gnome-8e71aa21c68c9ed2ceea2e259c937b216e338404.zip
Unbreak build on -CURRENT. Maintainer informed.
-rw-r--r--devel/tvision/Makefile6
-rw-r--r--devel/tvision/files/patch-max7
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/tvision/Makefile b/devel/tvision/Makefile
index 896663d776b4..adee4b0b735b 100644
--- a/devel/tvision/Makefile
+++ b/devel/tvision/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tvision
PORTVERSION= 0.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.sigala.it/sergio/tvision/mysource/
@@ -24,10 +24,6 @@ USE_GCC= 3.2
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
post-extract:
@${MV} ${WRKSRC}/myendian.h ${WRKSRC}/lib
diff --git a/devel/tvision/files/patch-max b/devel/tvision/files/patch-max
index 99435f588d8d..48b6198ad6b0 100644
--- a/devel/tvision/files/patch-max
+++ b/devel/tvision/files/patch-max
@@ -853,10 +853,12 @@ diff -u -r1.1 -r1.7
*/
#define Uses_TResourceFile
-@@ -17,88 +18,80 @@
+@@ -17,88 +18,82 @@
#define Uses_TResourceCollection
#include <tvision/tv.h>
++#include <assert.h>
++
+#include <ios>
+
+using std::ios;
@@ -2789,7 +2791,7 @@ diff -u -r1.1 -r1.4
*/
#define Uses_MsgBox
-@@ -27,13 +28,12 @@
+@@ -27,13 +28,13 @@
#define Uses_TStatusItem
#define Uses_TStatusLine
#define Uses_TSubMenu
@@ -2800,6 +2802,7 @@ diff -u -r1.1 -r1.4
-#include <stdio.h>
#include <tvision/tv.h>
++#include <assert.h>
+extern "C" {
+ #include <signal.h>
+}