aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2019-12-29 19:31:25 +0800
committerdinoex <dinoex@FreeBSD.org>2019-12-29 19:31:25 +0800
commitb1a3d8f41c7fbe9d1d311f5a945462ff0d54c32b (patch)
treee102b6e10ea0681d1c3bcfbde5baa538a7608c4c /irc
parentdac1406520f9a1152de8ff7050f4d1031fe12c57 (diff)
downloadfreebsd-ports-gnome-b1a3d8f41c7fbe9d1d311f5a945462ff0d54c32b.tar.gz
freebsd-ports-gnome-b1a3d8f41c7fbe9d1d311f5a945462ff0d54c32b.tar.zst
freebsd-ports-gnome-b1a3d8f41c7fbe9d1d311f5a945462ff0d54c32b.zip
- fixes default charset for all translations
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"