aboutsummaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorJens Schweikhardt <schweikh@FreeBSD.org>2003-03-29 13:06:59 +0000
committerJens Schweikhardt <schweikh@FreeBSD.org>2003-03-29 13:06:59 +0000
commit3905eb963a0abd211567df49b81667e66b5fa52a (patch)
tree47b23e18b55485bed687a170d94c052fa016b829 /lang/ocaml
parent0e3cf186753b614dc2cc119cb171753b1e403643 (diff)
downloadports-3905eb963a0abd211567df49b81667e66b5fa52a.tar.gz
ports-3905eb963a0abd211567df49b81667e66b5fa52a.zip
New patch to unbreak the build (configure step runs thread program that
never terminates and hogs the CPU). Approved by: MAINTAINER timeout PR: ports/45233
Notes
Notes: svn path=/head/; revision=77680
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/files/patch-stack_overflow15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/ocaml/files/patch-stack_overflow b/lang/ocaml/files/patch-stack_overflow
new file mode 100644
index 000000000000..a9f951b363bc
--- /dev/null
+++ b/lang/ocaml/files/patch-stack_overflow
@@ -0,0 +1,15 @@
+--- configure.orig Tue Mar 18 22:40:03 2003
++++ configure Tue Mar 18 22:40:38 2003
+@@ -962,9 +962,9 @@
+
+ case "$arch,$model,$system" in
+ i386,*,*)
+- case "$host" in # Check for FreeBSD 4.5 bug
+- *-*-freebsd*|*-*-openbsd*) check_pthread=yes ;;
+- *) check_pthread=no ;;
++ case "$host" in
++ *-*-openbsd*) check_pthread=yes ;;
++ *) check_pthread=no ;;
+ esac
+ if ./runtest -DTARGET_$arch -DSYS_$system stackov.c \
+ && test $check_pthread = no || cclibs="-pthread $cclibs" \