aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2019-12-29 11:31:25 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2019-12-29 11:31:25 +0000
commit88d4aaeba0df459088b454cb8bb21db231900237 (patch)
treee102b6e10ea0681d1c3bcfbde5baa538a7608c4c /irc
parent4957a8a5b20cd17f4dd65b4fdc4ee8c0321a1ac5 (diff)
downloadports-88d4aaeba0df459088b454cb8bb21db231900237.tar.gz
ports-88d4aaeba0df459088b454cb8bb21db231900237.zip
- fixes default charset for all translations
Notes
Notes: svn path=/head/; revision=521270
Diffstat (limited to 'irc')
-rw-r--r--irc/iroffer-dinoex/Makefile1
-rw-r--r--irc/iroffer-dinoex/files/patch-Lang21
2 files changed, 22 insertions, 0 deletions
diff --git a/irc/iroffer-dinoex/Makefile b/irc/iroffer-dinoex/Makefile
index 8f4a60406f24..e6052eb236ae 100644
--- a/irc/iroffer-dinoex/Makefile
+++ b/irc/iroffer-dinoex/Makefile
@@ -2,6 +2,7 @@
PORTNAME= iroffer
PORTVERSION= 3.32
+PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= https://iroffer.net/
PKGNAMESUFFIX= -dinoex${PKGNAMESUFFIX2}
diff --git a/irc/iroffer-dinoex/files/patch-Lang b/irc/iroffer-dinoex/files/patch-Lang
new file mode 100644
index 000000000000..aa213fb35d99
--- /dev/null
+++ b/irc/iroffer-dinoex/files/patch-Lang
@@ -0,0 +1,21 @@
+diff -u -r1.17 Lang
+--- Lang 20 Dec 2018 07:17:50 -0000 1.17
++++ Lang 29 Dec 2019 11:16:25 -0000
+@@ -32,14 +32,12 @@
+ then
+ charset="${2}"
+ else
+- # autodetect
++ charset="utf-8"
+ case "${LANG}" in
+- *.ISO8859-*)
++ *.ISO8859-*|*.ISO_8859-*)
++ # autodetect
+ charset="latin1"
+ ;;
+- *.UTF-8*|*.utf-8*)
+- charset="utf-8"
+- ;;
+ esac
+ fi
+ utf8="cat"