Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2019 11:31:25 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521270 - in head/irc/iroffer-dinoex: . files
Message-ID:  <201912291131.xBTBVP1K046574@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sun Dec 29 11:31:25 2019
New Revision: 521270
URL: https://svnweb.freebsd.org/changeset/ports/521270

Log:
  - fixes default charset for all translations

Added:
  head/irc/iroffer-dinoex/files/patch-Lang   (contents, props changed)
Modified:
  head/irc/iroffer-dinoex/Makefile

Modified: head/irc/iroffer-dinoex/Makefile
==============================================================================
--- head/irc/iroffer-dinoex/Makefile	Sun Dec 29 11:14:58 2019	(r521269)
+++ head/irc/iroffer-dinoex/Makefile	Sun Dec 29 11:31:25 2019	(r521270)
@@ -2,6 +2,7 @@
 
 PORTNAME=	iroffer
 PORTVERSION=	3.32
+PORTREVISION=	1
 CATEGORIES=	irc
 MASTER_SITES=	https://iroffer.net/
 PKGNAMESUFFIX=	-dinoex${PKGNAMESUFFIX2}

Added: head/irc/iroffer-dinoex/files/patch-Lang
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/iroffer-dinoex/files/patch-Lang	Sun Dec 29 11:31:25 2019	(r521270)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912291131.xBTBVP1K046574>