aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-12-11 11:01:10 +0800
committerache <ache@FreeBSD.org>2000-12-11 11:01:10 +0800
commit672ab4dd80b28e06379b22485dc9a4bcfe2105b6 (patch)
tree3d95de66248e611d65692153a19bb173a2b768b7
parent2cd0639fb1b75e17163da1e0b7a60e9ebb1d134d (diff)
downloadfreebsd-ports-gnome-672ab4dd80b28e06379b22485dc9a4bcfe2105b6.tar.gz
freebsd-ports-gnome-672ab4dd80b28e06379b22485dc9a4bcfe2105b6.tar.zst
freebsd-ports-gnome-672ab4dd80b28e06379b22485dc9a4bcfe2105b6.zip
Use building configuration independent pty range
PR: 23308
-rw-r--r--misc/screen/Makefile2
-rw-r--r--misc/screen/files/patch-ad13
-rw-r--r--sysutils/screen/Makefile2
-rw-r--r--sysutils/screen/files/patch-ad13
4 files changed, 24 insertions, 6 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index dabd7a8d9927..f5c07e01065f 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -7,7 +7,7 @@
PORTNAME= screen
PORTVERSION= 3.9.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
diff --git a/misc/screen/files/patch-ad b/misc/screen/files/patch-ad
index 652b9565f0c2..4c2627ecabbe 100644
--- a/misc/screen/files/patch-ad
+++ b/misc/screen/files/patch-ad
@@ -1,5 +1,5 @@
---- configure.old Wed Jun 14 18:04:30 2000
-+++ configure Tue Sep 5 19:26:25 2000
+--- configure.orig Wed Jun 14 18:04:30 2000
++++ configure Mon Dec 11 05:52:29 2000
@@ -2070,29 +2070,6 @@
cat conftest.$ac_ext >&5
rm -rf conftest*
@@ -48,3 +48,12 @@
}
EOF
if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+@@ -2270,7 +2245,7 @@
+ p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
+ p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
+ cat >> confdefs.h <<EOF
+-#define PTYRANGE0 "$p0"
++#define PTYRANGE0 "pqrsPQRS"
+ EOF
+
+ cat >> confdefs.h <<EOF
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index dabd7a8d9927..f5c07e01065f 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -7,7 +7,7 @@
PORTNAME= screen
PORTVERSION= 3.9.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
diff --git a/sysutils/screen/files/patch-ad b/sysutils/screen/files/patch-ad
index 652b9565f0c2..4c2627ecabbe 100644
--- a/sysutils/screen/files/patch-ad
+++ b/sysutils/screen/files/patch-ad
@@ -1,5 +1,5 @@
---- configure.old Wed Jun 14 18:04:30 2000
-+++ configure Tue Sep 5 19:26:25 2000
+--- configure.orig Wed Jun 14 18:04:30 2000
++++ configure Mon Dec 11 05:52:29 2000
@@ -2070,29 +2070,6 @@
cat conftest.$ac_ext >&5
rm -rf conftest*
@@ -48,3 +48,12 @@
}
EOF
if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+@@ -2270,7 +2245,7 @@
+ p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
+ p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
+ cat >> confdefs.h <<EOF
+-#define PTYRANGE0 "$p0"
++#define PTYRANGE0 "pqrsPQRS"
+ EOF
+
+ cat >> confdefs.h <<EOF