1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/japanese/groff/files/patch-src_roff_nroff_nroff.sh
Mathieu Arnold 1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00

21 lines
615 B
Bash

--- src/roff/nroff/nroff.sh~ Mon Mar 17 18:25:52 2003
+++ src/roff/nroff/nroff.sh Mon Mar 17 18:31:52 2003
@@ -5,7 +5,7 @@
# Default device.
# First try the "locale charmap" command, because it's most reliable.
# On systems where it doesn't exist, look at the environment variables.
-case "`locale charmap 2>/dev/null`" in
+case "`#locale charmap 2>/dev/null`" in
UTF-8)
T=-Tutf8 ;;
ISO-8859-1)
@@ -22,7 +22,7 @@
T=-Tlatin1 ;;
*.IBM-1047)
T=-Tcp1047 ;;
- ja_JP.ujis | ja_JP.eucJP)
+ ja_JP.EUC | ja_JP.eucJP)
T=-Tnippon ;;
*)
case "$LESSCHARSET" in