pkgsrc/misc/openoffice2/patches/patch-cn
hira 9f4c625a49 - Fix mutex handling in patch-ck.
- Set PTHREAD_DIAGASSERT to "AEL" in startup script.
 - Remove PTHREAD_DIAGASSERT from build environment.

This should fix PR pkg/36364.  Bump PKGREVISION.
2007-06-10 04:55:06 +00:00

17 lines
450 B
Text

$NetBSD: patch-cn,v 1.1 2007/06/10 04:55:06 hira Exp $
--- desktop/scripts/soffice.sh.orig 2007-06-10 11:44:31.000000000 +0900
+++ desktop/scripts/soffice.sh 2007-06-10 11:45:05.000000000 +0900
@@ -55,6 +55,12 @@
export JITC_PROCESSOR_TYPE
fi
+# XXX: Ignore "unlocking unlocked mutex" error.
+if [ $sd_platform = "NetBSD" ]; then
+ PTHREAD_DIAGASSERT=AEL
+ export PTHREAD_DIAGASSERT
+fi
+
# set -x
# resolve installation directory