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"