aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-04-17 13:48:10 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-04-17 13:48:10 +0000
commitd815cdba83e43cddf0bab845bd159c3914241eb6 (patch)
treed0d37cc33dae00e6f56be7f0f5340683020cb4fb /lang
parente3b3506d16aeabe31b043322b1cb1b793dc9a4aa (diff)
downloadports-d815cdba83e43cddf0bab845bd159c3914241eb6.tar.gz
ports-d815cdba83e43cddf0bab845bd159c3914241eb6.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/ezm3/Makefile4
-rw-r--r--lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.alpha::Unix.i320
-rw-r--r--lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.sparc64::Unix.i320
3 files changed, 44 insertions, 0 deletions
diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile
index 3495c08fafa3..842561741672 100644
--- a/lang/ezm3/Makefile
+++ b/lang/ezm3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ezm3
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/ezm3/:src \
@@ -90,6 +91,9 @@ post-patch:
.if ${ARCH} == "sparc64" && ${OSVERSION} < 502107
@${REINPLACE_CMD} -E -e 's|(^.*time_t.*=.*)int64_t;|\1int32_t;|' \
${WRKSRC}/libs/m3core/src/unix/freebsd-4.sparc64/Utypes.i3
+.elif ${ARCH} == "amd64"
+ @${CP} ${WRKSRC}/libs/m3core/src/unix/freebsd-4.alpha/Unix.i3 \
+ ${WRKSRC}/libs/m3core/src/unix/freebsd-4.amd64/Unix.i3
.endif
do-build:
diff --git a/lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.alpha::Unix.i3 b/lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.alpha::Unix.i3
new file mode 100644
index 000000000000..6b34063f83e6
--- /dev/null
+++ b/lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.alpha::Unix.i3
@@ -0,0 +1,20 @@
+--- libs/m3core/src/unix/freebsd-4.alpha/Unix.i3 Sat Mar 23 04:28:45 2002
++++ libs/m3core/src/unix/freebsd-4.alpha/Unix.i3 Mon Apr 17 13:03:44 2006
+@@ -128,7 +128,7 @@
+ F_GETFL = 3; (* Get fd status flags *)
+ F_SETFL = 4; (* Set fd status flags *)
+
+- (* in these three cases, you need to pass LOOPHOLE (ADR (v), int)
++ (* in these three cases, you need to pass LOOPHOLE (ADR (v), long)
+ for arg, where v is a variable of type struct_flock *)
+ F_GETOWN = 5; (* Set owner *)
+ F_SETOWN = 6; (* Get owner *)
+@@ -155,7 +155,7 @@
+ F_WRLCK = 3; (* Write lock *)
+ F_UNLCK = 2; (* Remove lock(s) *)
+
+-<*EXTERNAL*> PROCEDURE fcntl (fd, request, arg: int): int;
++<*EXTERNAL*> PROCEDURE fcntl (fd, request: int; arg: long): int;
+ (* ok *)
+
+ (*** flock - apply or remove an advisory lock on an open file ***)
diff --git a/lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.sparc64::Unix.i3 b/lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.sparc64::Unix.i3
new file mode 100644
index 000000000000..4d6c503a2eb5
--- /dev/null
+++ b/lang/ezm3/files/patch-libs::m3core::src::unix::freebsd-4.sparc64::Unix.i3
@@ -0,0 +1,20 @@
+--- libs/m3core/src/unix/freebsd-4.sparc64/Unix.i3 Sat Mar 23 04:28:45 2002
++++ libs/m3core/src/unix/freebsd-4.sparc64/Unix.i3 Mon Apr 17 13:04:12 2006
+@@ -128,7 +128,7 @@
+ F_GETFL = 3; (* Get fd status flags *)
+ F_SETFL = 4; (* Set fd status flags *)
+
+- (* in these three cases, you need to pass LOOPHOLE (ADR (v), int)
++ (* in these three cases, you need to pass LOOPHOLE (ADR (v), long)
+ for arg, where v is a variable of type struct_flock *)
+ F_GETOWN = 5; (* Set owner *)
+ F_SETOWN = 6; (* Get owner *)
+@@ -155,7 +155,7 @@
+ F_WRLCK = 3; (* Write lock *)
+ F_UNLCK = 2; (* Remove lock(s) *)
+
+-<*EXTERNAL*> PROCEDURE fcntl (fd, request, arg: int): int;
++<*EXTERNAL*> PROCEDURE fcntl (fd, request: int; arg: long): int;
+ (* ok *)
+
+ (*** flock - apply or remove an advisory lock on an open file ***)