irssi: add patch to fix static linking
authorRodrigo Rebello <rprebello@gmail.com>
Tue, 21 Mar 2017 03:45:53 +0000 (00:45 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Mar 2017 21:51:13 +0000 (22:51 +0100)
commitfc741ba9b3c8b5cd602a01f53798ca577a4975dd
treeb16cb6b425b9e0c6812fa79472a0759395f24091
parent8ae1804ff63b7c3af054f6a3a670c07c205f8890
irssi: add patch to fix static linking

An upstream change which removed the option to build Irssi without SSL
support (v1.0.0 and later) also eliminated the use of PKG_CHECK_MODULES
to find the OpenSSL library, relying only on a test with AC_CHECK_LIB
for that purpose.

This unfortunately broke static linking since the flag to link with
zlib, used by OpenSSL, is missed completely.

The newly added patch therefore adds PKG_CHECK_MODULES back into the
configure script.

Fixes:

  http://autobuild.buildroot.net/results/e8b51f65525246d1205a26859d418393aaebf48c/
  http://autobuild.buildroot.net/results/35d952b3b36e295723bf8ed1badb4c9439201822/
  http://autobuild.buildroot.net/results/ea8af1458edf3ce0e2b1c444d2ae29ac1e5d2fbf/
  [...]

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/irssi/0001-Get-back-to-using-pkg-config-to-check-for-OpenSSL.patch [new file with mode: 0644]
package/irssi/irssi.mk