diff options
author | olgeni <olgeni@FreeBSD.org> | 2014-12-28 02:54:35 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2014-12-28 02:54:35 +0800 |
commit | a92e89e682b69dae8e05e05232da4230e1f4fabe (patch) | |
tree | fe9f2e4881ba9d46833de323bc9c1b89afbfe08c /x11 | |
parent | 87883172e65abb781dc13b2628e6dd234784ced2 (diff) | |
download | freebsd-ports-gnome-a92e89e682b69dae8e05e05232da4230e1f4fabe.tar.gz freebsd-ports-gnome-a92e89e682b69dae8e05e05232da4230e1f4fabe.tar.zst freebsd-ports-gnome-a92e89e682b69dae8e05e05232da4230e1f4fabe.zip |
Fix infinite loop at startup when _SC_OPEN_MAX > 64k.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/eterm/Makefile | 2 | ||||
-rw-r--r-- | x11/eterm/files/patch-src_command.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/eterm/Makefile b/x11/eterm/Makefile index 8a9afb91a57f..3046390fa875 100644 --- a/x11/eterm/Makefile +++ b/x11/eterm/Makefile @@ -3,7 +3,7 @@ PORTNAME= eterm PORTVERSION= 0.9.6 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES+= x11 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Eterm-${PORTVERSION} DISTNAME= Eterm-${PORTVERSION} diff --git a/x11/eterm/files/patch-src_command.c b/x11/eterm/files/patch-src_command.c new file mode 100644 index 000000000000..cdd5ec336243 --- /dev/null +++ b/x11/eterm/files/patch-src_command.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/command.c.orig ++++ src/command.c +@@ -1561,7 +1561,7 @@ + * child processes remain alive upon deletion of the window. + */ + { +- unsigned short i; ++ unsigned long i; + unsigned long max_fds; + + /* get number of available file descriptors */ |