From 0110bec4e0478bd9b38c4a8d7f28ce9e220e2b64 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sat, 21 Mar 2020 23:33:14 +0200 Subject: [PATCH] libgmime: fix iconv-detect.h --- packages/libgmime/build.sh | 4 ++++ packages/libgmime/iconv-detect.h | 6 ++++++ packages/libgmime/iconv-detect.h.patch | 9 --------- 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 packages/libgmime/iconv-detect.h delete mode 100644 packages/libgmime/iconv-detect.h.patch diff --git a/packages/libgmime/build.sh b/packages/libgmime/build.sh index c3eb7fff3..43ee11bf1 100644 --- a/packages/libgmime/build.sh +++ b/packages/libgmime/build.sh @@ -15,3 +15,7 @@ ac_cv_have_iconv_detect_h=yes --disable-glibtest --disable-crypto " + +termux_step_pre_configure() { + cp "$TERMUX_PKG_BUILDER_DIR"/iconv-detect.h ./ +} diff --git a/packages/libgmime/iconv-detect.h b/packages/libgmime/iconv-detect.h new file mode 100644 index 000000000..569da106b --- /dev/null +++ b/packages/libgmime/iconv-detect.h @@ -0,0 +1,6 @@ +/* This is an auto-generated header, DO NOT EDIT! */ + +#define ICONV_ISO_INT_FORMAT "iso-%u-%u" +#define ICONV_ISO_STR_FORMAT "iso-%u-%s" +#define ICONV_SHIFT_JIS "shift-jis" +#define ICONV_10646 "UCS-4BE" diff --git a/packages/libgmime/iconv-detect.h.patch b/packages/libgmime/iconv-detect.h.patch deleted file mode 100644 index b5e4e671d..000000000 --- a/packages/libgmime/iconv-detect.h.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -N -a -u -r ../gmime-2.6.23/iconv-detect.h ./iconv-detect.h ---- ../gmime-2.6.23/iconv-detect.h 1970-01-01 01:00:00.000000000 +0100 -+++ ./iconv-detect.h 2017-04-06 18:24:52.423896227 +0200 -@@ -0,0 +1,5 @@ -+/* This is an auto-generated header, DO NOT EDIT! */ -+ -+#define ICONV_ISO_INT_FORMAT "iso-%u-%u" -+#define ICONV_ISO_STR_FORMAT "iso-%u-%s" -+#define ICONV_10646 "UCS-4BE"