From cf84430a0f1132c8f986088fe7a8b54abad71422 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 6 May 2016 05:43:12 -0400 Subject: [PATCH] finch: Fix ssl plugin to link against libpurple Fixes ssl not working mentioned in #95. --- packages/finch/build.sh | 2 +- packages/finch/ssl-makefile.patch | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 packages/finch/ssl-makefile.patch diff --git a/packages/finch/build.sh b/packages/finch/build.sh index 18b052f67..f3821dcc7 100644 --- a/packages/finch/build.sh +++ b/packages/finch/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://pidgin.im/ TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client" TERMUX_PKG_VERSION=2.10.12 -TERMUX_PKG_BUILD_REVISION=2 +TERMUX_PKG_BUILD_REVISION=3 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/pidgin/Pidgin/${TERMUX_PKG_VERSION}/pidgin-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_DEPENDS="libgnutls, libxml2, ncurses-ui-libs, glib" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtkui --disable-gstreamer --disable-vv --disable-idn --disable-meanwhile --disable-avahi --disable-dbus --disable-perl --disable-tcl --without-zephyr --with-ncurses-headers=$TERMUX_PREFIX/include --without-python" diff --git a/packages/finch/ssl-makefile.patch b/packages/finch/ssl-makefile.patch new file mode 100644 index 000000000..3730e86f1 --- /dev/null +++ b/packages/finch/ssl-makefile.patch @@ -0,0 +1,19 @@ +diff -u -r ../pidgin-2.10.12/libpurple/plugins/ssl/Makefile.in ./libpurple/plugins/ssl/Makefile.in +--- ../pidgin-2.10.12/libpurple/plugins/ssl/Makefile.in 2015-12-31 18:19:51.000000000 -0500 ++++ ./libpurple/plugins/ssl/Makefile.in 2016-05-06 05:14:11.266023479 -0400 +@@ -632,13 +632,13 @@ + $(AM_V_CCLD)$(nss_prefs_la_LINK) $(am_nss_prefs_la_rpath) $(nss_prefs_la_OBJECTS) $(nss_prefs_la_LIBADD) $(LIBS) + + ssl-gnutls.la: $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_DEPENDENCIES) $(EXTRA_ssl_gnutls_la_DEPENDENCIES) +- $(AM_V_CCLD)$(ssl_gnutls_la_LINK) $(am_ssl_gnutls_la_rpath) $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_LIBADD) $(LIBS) ++ $(AM_V_CCLD)$(ssl_gnutls_la_LINK) $(am_ssl_gnutls_la_rpath) $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_LIBADD) $(LIBS) -lpurple + + ssl-nss.la: $(ssl_nss_la_OBJECTS) $(ssl_nss_la_DEPENDENCIES) $(EXTRA_ssl_nss_la_DEPENDENCIES) + $(AM_V_CCLD)$(ssl_nss_la_LINK) $(am_ssl_nss_la_rpath) $(ssl_nss_la_OBJECTS) $(ssl_nss_la_LIBADD) $(LIBS) + + ssl.la: $(ssl_la_OBJECTS) $(ssl_la_DEPENDENCIES) $(EXTRA_ssl_la_DEPENDENCIES) +- $(AM_V_CCLD)$(ssl_la_LINK) $(am_ssl_la_rpath) $(ssl_la_OBJECTS) $(ssl_la_LIBADD) $(LIBS) ++ $(AM_V_CCLD)$(ssl_la_LINK) $(am_ssl_la_rpath) $(ssl_la_OBJECTS) $(ssl_la_LIBADD) $(LIBS) -lpurple + + mostlyclean-compile: + -rm -f *.$(OBJEXT)