Fix build on amd64, and make this port actually run on 5.x.
Submitted by: maintainer
This commit is contained in:
parent
f469dea453
commit
b32681a60b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104433
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= es
|
||||
PORTVERSION= 0.9.b1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= ftp://ftp.sys.toronto.edu/pub/es/
|
||||
DISTNAME= es-0.9-beta1
|
||||
@ -22,10 +22,4 @@ ALL_TARGET= es
|
||||
MAN1= es.1
|
||||
PLIST_FILES= bin/es
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
BROKEN= "Does not compile on amd64"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
15
shells/es/files/patch-mksignal
Normal file
15
shells/es/files/patch-mksignal
Normal file
@ -0,0 +1,15 @@
|
||||
*** mksignal.orig Wed Dec 3 20:59:12 2003
|
||||
--- mksignal Wed Dec 3 21:00:50 2003
|
||||
***************
|
||||
*** 106,111 ****
|
||||
--- 106,115 ----
|
||||
ignore["SIGRTMIN"] = 1
|
||||
ignore["SIGSETS"] = 1
|
||||
ignore["SIGSTKSZ"] = 1
|
||||
+
|
||||
+ # FreeBSD 5 added a signal beyond NSIG; es makes too many
|
||||
+ # assumptions to make this worth fixing.
|
||||
+ ignore["SIGTHR"] = 1
|
||||
|
||||
# upper to lowercase translation table: can someone give me an easier
|
||||
# way to do this that works in ancient versions of awk?
|
16
shells/es/files/patch-print.c
Normal file
16
shells/es/files/patch-print.c
Normal file
@ -0,0 +1,16 @@
|
||||
*** print.c.orig Fri Apr 11 15:54:36 1997
|
||||
--- print.c Mon Mar 15 18:55:13 2004
|
||||
***************
|
||||
*** 279,285 ****
|
||||
--- 279,289 ----
|
||||
VA_START(format->args, fmt);
|
||||
n += printfmt(format, fmt);
|
||||
va_end(format->args);
|
||||
+ #if NO_VA_LIST_ASSIGN
|
||||
+ memcpy(format->args, saveargs, sizeof(va_list));
|
||||
+ #else
|
||||
format->args = saveargs;
|
||||
+ #endif
|
||||
|
||||
return n + format->flushed;
|
||||
}
|
Loading…
Reference in New Issue
Block a user