1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/print/acroread5/files/acroread.diff
Thomas Gellekum 72ccfa5b4d Set LC_CTYPE=C to prevent coredumps in multibyte locales.
Submitted by:	CHOI Junho <junker@jazz.snu.ac.kr>
1998-11-20 10:26:12 +00:00

21 lines
504 B
Diff

--- acroread.orig Fri Nov 20 17:44:30 1998
+++ acroread Fri Nov 20 17:45:11 1998
@@ -205,7 +205,7 @@
ACRO_CONFIG=intelbsdi
export ACRO_CONFIG
;;
- Linux)
+ FreeBSD|Linux)
ACRO_CONFIG=intellinux
export ACRO_CONFIG
;;
@@ -309,6 +309,8 @@
intellinux)
LD_LIBRARY_PATH="`prepend "$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib:$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib" "$LD_LIBRARY_PATH"`"
export LD_LIBRARY_PATH
+ LC_CTYPE="C"
+ export LC_CTYPE
;;
intelbsdi)
;;