From 32a4badf283cfc78f3ce9587ec79fac1620d7d06 Mon Sep 17 00:00:00 2001 From: Johannes Brechtmann Date: Wed, 15 Aug 2018 13:52:40 +0200 Subject: [PATCH] hexchat: fix cross MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #1791 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- srcpkgs/hexchat/patches/perl-link.patch | 20 ++++++++++++++++++++ srcpkgs/hexchat/template | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/hexchat/patches/perl-link.patch diff --git a/srcpkgs/hexchat/patches/perl-link.patch b/srcpkgs/hexchat/patches/perl-link.patch new file mode 100644 index 0000000000..f536ef2fb1 --- /dev/null +++ b/srcpkgs/hexchat/patches/perl-link.patch @@ -0,0 +1,20 @@ +--- plugins/perl/meson.build.orig 2018-08-15 13:30:17.108881970 +0200 ++++ plugins/perl/meson.build 2018-08-15 13:30:36.682882751 +0200 +@@ -39,7 +39,7 @@ + perl_ldflags = [] + perl_rpath = '' + foreach flag : ret.stdout().strip().split(' ') +- if flag.startswith('-L') or flag.startswith('-l') ++ if flag.startswith('-l') + perl_ldflags += flag + endif + if flag.startswith('-Wl,-rpath,') +@@ -52,6 +52,8 @@ + endif + endforeach + ++perl_ldflags += '-L${XBPS_CROSS_BASE}/usr/lib/perl5/core_perl/CORE' ++ + perl_cflags += [ + # Perl has its own 'config.h' that we must override + # TODO: Just rename ours to something more unique. diff --git a/srcpkgs/hexchat/template b/srcpkgs/hexchat/template index 718633b630..dfa04fb8bc 100644 --- a/srcpkgs/hexchat/template +++ b/srcpkgs/hexchat/template @@ -1,7 +1,7 @@ # Template file for 'hexchat' pkgname=hexchat version=2.14.1 -revision=4 +revision=5 build_style=meson configure_args="-Dwith-dbus=true -Dwith-ssl=true -Dwith-text=false -Dwith-perl=true -Dwith-python=python3"