aboutsummaryrefslogtreecommitdiff
path: root/devel/tvision/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-11 21:24:17 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-11 21:24:17 +0000
commit3838f0c5a0a3ce0ed1cb47f280de1ea224cefa50 (patch)
treef312df5bd8133f412351dc730911817ecbb82193 /devel/tvision/files
parent91829143b8ff50c3699a30192808f4cc3c09a199 (diff)
downloadports-3838f0c5a0a3ce0ed1cb47f280de1ea224cefa50.tar.gz
ports-3838f0c5a0a3ce0ed1cb47f280de1ea224cefa50.zip
Notes
Diffstat (limited to 'devel/tvision/files')
-rw-r--r--devel/tvision/files/patch-lib::dialogs.h11
-rw-r--r--devel/tvision/files/patch-ltmain.sh41
2 files changed, 41 insertions, 11 deletions
diff --git a/devel/tvision/files/patch-lib::dialogs.h b/devel/tvision/files/patch-lib::dialogs.h
deleted file mode 100644
index fbae06e03a21..000000000000
--- a/devel/tvision/files/patch-lib::dialogs.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/dialogs.h.old Tue Jun 19 18:29:26 2001
-+++ lib/dialogs.h Tue Jun 19 18:29:41 2001
-@@ -407,7 +407,7 @@
-
- TSItem( const char *aValue, TSItem *aNext )
- { value = newStr(aValue); next = aNext; }
-- ~TSItem() { delete (void *)value; }
-+ ~TSItem() { delete value; }
-
- const char *value;
- TSItem *next;
diff --git a/devel/tvision/files/patch-ltmain.sh b/devel/tvision/files/patch-ltmain.sh
new file mode 100644
index 000000000000..4accdcdc8db7
--- /dev/null
+++ b/devel/tvision/files/patch-ltmain.sh
@@ -0,0 +1,41 @@
+--- ltmain.sh.orig Sun Sep 23 00:01:27 2001
++++ ltmain.sh Fri Mar 8 04:56:54 2002
+@@ -1043,14 +1043,14 @@
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -2441,7 +2441,7 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
+ *)
+@@ -4210,10 +4210,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"