summaryrefslogtreecommitdiff
path: root/print/tex-ptexenc
diff options
context:
space:
mode:
Diffstat (limited to 'print/tex-ptexenc')
-rw-r--r--print/tex-ptexenc/Makefile2
-rw-r--r--print/tex-ptexenc/distinfo6
-rw-r--r--print/tex-ptexenc/files/patch-Makefile.in12
-rw-r--r--print/tex-ptexenc/files/patch-configure12
-rw-r--r--print/tex-ptexenc/files/patch-ptexenc.c8
5 files changed, 14 insertions, 26 deletions
diff --git a/print/tex-ptexenc/Makefile b/print/tex-ptexenc/Makefile
index b214e9e1684b..c9287a6a8b0c 100644
--- a/print/tex-ptexenc/Makefile
+++ b/print/tex-ptexenc/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ptexenc
-DISTVERSION= 1.4.6
+DISTVERSION= 1.5.1
CATEGORIES= print
MASTER_SITES= TEX_CTAN/systems/texlive/Source/${TEXLIVE_YEAR}
PKGNAMEPREFIX= tex-
diff --git a/print/tex-ptexenc/distinfo b/print/tex-ptexenc/distinfo
index 71891df8f5bc..3b71415b7402 100644
--- a/print/tex-ptexenc/distinfo
+++ b/print/tex-ptexenc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715472906
-SHA256 (TeX/texlive-20240312-source.tar.xz) = 7b6d87cf01661670fac45c93126bed97b9843139ed510f975d047ea938b6fe96
-SIZE (TeX/texlive-20240312-source.tar.xz) = 70140588
+TIMESTAMP = 1742051508
+SHA256 (TeX/texlive-20250308-source.tar.xz) = fffdb1a3d143c177a4398a2229a40d6a88f18098e5f6dcfd57648c9f2417490f
+SIZE (TeX/texlive-20250308-source.tar.xz) = 111136556
diff --git a/print/tex-ptexenc/files/patch-Makefile.in b/print/tex-ptexenc/files/patch-Makefile.in
deleted file mode 100644
index 1409fcb8b11a..000000000000
--- a/print/tex-ptexenc/files/patch-Makefile.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.in.orig 2024-05-12 00:15:23 UTC
-+++ Makefile.in
-@@ -591,7 +591,8 @@ nobase_include_HEADERS = \
- libptexenc_la_LIBADD = $(KPATHSEA_LIBS)
- nobase_include_HEADERS = \
- ptexenc/ptexenc.h \
-- ptexenc/unicode.h
-+ ptexenc/unicode.h \
-+ ptexenc/unicode-jp.h
-
- pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = ptexenc.pc
diff --git a/print/tex-ptexenc/files/patch-configure b/print/tex-ptexenc/files/patch-configure
index 0014cccd8055..8b27bb2c5911 100644
--- a/print/tex-ptexenc/files/patch-configure
+++ b/print/tex-ptexenc/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2024-02-11 08:19:52 UTC
+--- configure.orig 2025-01-25 18:41:15 UTC
+++ configure
-@@ -16100,7 +16100,7 @@ else case e in #(
+@@ -17035,7 +17035,7 @@ else case e in #(
printf %s "(cached) " >&6
else case e in #(
e) ac_check_lib_save_LIBS=$LIBS
@@ -9,7 +9,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-@@ -16140,7 +16140,7 @@ then :
+@@ -17075,7 +17075,7 @@ then :
then :
printf "%s\n" "#define HAVE_LIBICONV 1" >>confdefs.h
@@ -18,7 +18,7 @@
else case e in #(
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
-@@ -16150,7 +16150,7 @@ else case e in #(
+@@ -17085,7 +17085,7 @@ else case e in #(
printf %s "(cached) " >&6
else case e in #(
e) ac_check_lib_save_LIBS=$LIBS
@@ -27,7 +27,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-@@ -16190,7 +16190,7 @@ then :
+@@ -17125,7 +17125,7 @@ then :
then :
printf "%s\n" "#define HAVE_LIBICONV 1" >>confdefs.h
@@ -36,7 +36,7 @@
fi
;;
-@@ -18551,5 +18551,3 @@ fi
+@@ -19497,5 +19497,3 @@ fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
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) {