diff --git a/packages/libtranscript/build.sh b/packages/libtranscript/build.sh index ab09ab36c..b4c093e71 100644 --- a/packages/libtranscript/build.sh +++ b/packages/libtranscript/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A character-set conversion library" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=0.3.3 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://os.ghalkes.nl/dist/libtranscript-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SHA256=1f8c19f257da5d6fad0ed9a7e5bd2442819e910a19907c38e115116a3955f5fa TERMUX_PKG_BUILD_IN_SRC=true diff --git a/packages/libtranscript/mk-libtranscript.in.patch b/packages/libtranscript/mk-libtranscript.in.patch new file mode 100644 index 000000000..90fdc27b0 --- /dev/null +++ b/packages/libtranscript/mk-libtranscript.in.patch @@ -0,0 +1,17 @@ +--- a/mk/libtranscript.in ++++ b/mk/libtranscript.in +@@ -87,10 +87,10 @@ + -rpath $(libdir) + + src/modules/ascii.la:src/modules/ascii.lo src/libtranscript.la +- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/ascii.lo $(LDLIBS) -rpath $(libdir)/transcript1 ++ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/ascii.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1 + src/modules/unicode.la:src/modules/unicode_gb18030.lo src/modules/unicode_utf7.lo src/modules/unicode.lo src/libtranscript.la +- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/unicode_gb18030.lo src/modules/unicode_utf7.lo src/modules/unicode.lo $(LDLIBS) -rpath $(libdir)/transcript1 ++ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/unicode_gb18030.lo src/modules/unicode_utf7.lo src/modules/unicode.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1 + src/modules/iso2022.la:src/modules/iso2022.lo src/libtranscript.la +- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/iso2022.lo $(LDLIBS) -rpath $(libdir)/transcript1 ++ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/iso2022.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1 + src/modules/euctw.la:src/modules/euctw.lo src/libtranscript.la +- $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/euctw.lo $(LDLIBS) -rpath $(libdir)/transcript1 ++ $(SILENTLDLT) $(LIBTOOL) $(SILENCELT) --mode=link --tag=CC $(CC) -shared -module -avoid-version -shrext .ltc $(CFLAGS) $(LDFLAGS) -o $@ src/modules/euctw.lo $(LDLIBS) -Lsrc/.libs -ltranscript -rpath $(libdir)/transcript1