aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2006-05-30 19:55:35 +0800
committercy <cy@FreeBSD.org>2006-05-30 19:55:35 +0800
commit91fa4b1af3e471e955008d5cfaef3a1c2ac13642 (patch)
tree43500eda91bd5530e310273142ebf61f353b913d /sysutils
parent61195f87b3899c5cfdae087822eef73258f38a58 (diff)
downloadfreebsd-ports-gnome-91fa4b1af3e471e955008d5cfaef3a1c2ac13642.tar.gz
freebsd-ports-gnome-91fa4b1af3e471e955008d5cfaef3a1c2ac13642.tar.zst
freebsd-ports-gnome-91fa4b1af3e471e955008d5cfaef3a1c2ac13642.zip
Fix configure step so that it doesn't dump core on FreeBSD/amd64 due to a
missing prototype. Submitted by: ru
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/screen/Makefile2
-rw-r--r--sysutils/screen/files/patch-ad9
2 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index 0eb1dbd07b0c..7cdb328035b4 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -7,7 +7,7 @@
PORTNAME= screen
PORTVERSION= 4.0.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils
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 8e5a4af1448b..a5a9dd9fa1fa 100644
--- a/sysutils/screen/files/patch-ad
+++ b/sysutils/screen/files/patch-ad
@@ -1,5 +1,5 @@
---- configure.orig Mon Jan 26 15:55:18 2004
-+++ configure Mon Jan 26 15:58:50 2004
+--- configure.orig Fri Dec 5 15:46:53 2003
++++ configure Sat Mar 4 10:18:24 2006
@@ -4746,48 +4746,6 @@
sed 's/^/| /' conftest.$ac_ext >&5
@@ -58,16 +58,17 @@
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
-@@ -4927,7 +4883,7 @@
+@@ -4927,7 +4883,8 @@
main()
{
- exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
++ char *tgoto(const char *, int, int);
+ exit(strcmp(tgoto("%d%d", 0, 1), "1") ? 0 : 1);
}
_ACEOF
rm -f conftest$ac_exeext
-@@ -5314,18 +5270,15 @@
+@@ -5314,18 +5271,15 @@
fi
rm -f conftest*