summaryrefslogtreecommitdiff
path: root/print/tex-ptexenc/files/patch-ptexenc.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-03-15 15:07:27 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-03-25 19:11:13 +0100
commit993771b186bca2a5de9fa00f7f6788763306417c (patch)
tree2ee12f866f5b799afea017aec3adb8e4030034b9 /print/tex-ptexenc/files/patch-ptexenc.c
parentlang/php84: Correct php_fpm in rc.d script (diff)
*/tex*: Update version 20240312=>20250308
- devel/tex-kpathsea: Update version 6.4.0=>6.4.1 - devel/tex-libtexluajit: Update version 2.1.0=>2.1.81742 - print/tex-ptexenc: Update version 1.4.6=>1.5.1 - korean/ko.TeX: Replace @exec/@unexec with @postexec/@postunexec Sponsored by: Nepustil
Diffstat (limited to 'print/tex-ptexenc/files/patch-ptexenc.c')
-rw-r--r--print/tex-ptexenc/files/patch-ptexenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/tex-ptexenc/files/patch-ptexenc.c b/print/tex-ptexenc/files/patch-ptexenc.c
index 72b2be8560b5..0b4ea9e97e93 100644
--- a/print/tex-ptexenc/files/patch-ptexenc.c
+++ b/print/tex-ptexenc/files/patch-ptexenc.c
@@ -1,4 +1,4 @@
---- ptexenc.c.orig 2023-01-01 05:42:55 UTC
+--- ptexenc.c.orig 2024-05-11 08:27:16 UTC
+++ ptexenc.c
@@ -16,6 +16,7 @@
#include <ptexenc/unicode-jp.h>
@@ -57,7 +57,7 @@
#define ESC '\033'
#ifndef NOFILE
-@@ -65,7 +102,7 @@ static int string_to_enc(const_string str)
+@@ -66,7 +103,7 @@ static int string_to_enc(const_string str)
static int string_to_enc(const_string str)
{
if (str == NULL) return ENC_UNKNOWN;
@@ -66,7 +66,7 @@
if (strcasecmp(str, "jis") == 0) return ENC_JIS;
if (strcasecmp(str, "euc") == 0) return ENC_EUC;
if (strcasecmp(str, "sjis") == 0) return ENC_SJIS;
-@@ -95,7 +132,7 @@ static int get_default_enc(void)
+@@ -97,7 +134,7 @@ static int get_default_enc(void)
} else if (enc != ENC_UNKNOWN) {
return enc;
}
@@ -75,7 +75,7 @@
}
static void set_file_enc(int enc)
-@@ -165,14 +202,14 @@ void enable_UPTEX (boolean enable)
+@@ -167,14 +204,14 @@ void enable_UPTEX (boolean enable)
{
UPTEX_enabled = enable;
if (enable) {