1
0
forked from ports/opt

hexchat: fix soname for enchant dynlib loading

This commit is contained in:
Danny Rawlins 2018-02-08 00:30:06 +11:00
parent 912d745b60
commit 40be8daa8f
4 changed files with 32 additions and 5 deletions

View File

@ -1,2 +1,3 @@
8f1ac351752d149a98aa3a77d40e1f7c hexchat-2.12.4.tar.xz
3ac82bdef880de4bd8c7ead4ea3328bf hexchat-enchant2.0.patch
9a6e7bbdbdfe87bd897121413fe657e7 hexchat-enchant2.0_name.patch

View File

@ -1,6 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/RwHNC4xhb07BhrDOHxToqigYcqyz0HSPfPF4FfYEQ1iumJ2073WTRipD3btTRP+MB715Xr7cT9EHgGDPo6g9Q4=
SHA256 (Pkgfile) = 3e678d73a0aa289f7168c7645e5f536e408db8f35b0276fe3b9d15a673c3cbff
RWSE3ohX2g5d/ZX78J/Xv8j7kDzx/MOBbgbN/whu6787t1KT4PNg1nVk2/5+kfTj5NbphwQQeDD+2ARfB2hiquJcLoBe2ISbOQs=
SHA256 (Pkgfile) = c5604b8f867783e1327c69a402d528fdb9e71afc6e306346421bccb80f356944
SHA256 (.footprint) = 23bf408e9ed745eb12003a6b2270de16b3a651b03374c34b29edec11ceac6cdd
SHA256 (hexchat-2.12.4.tar.xz) = fa35913158bbc7d0d99de79371b6df3e8d21802f1d2c7c92f0e5db694acf2c3a
SHA256 (hexchat-enchant2.0.patch) = d5f1e70b696337b15d40386292748483d2b27631a9bba6cfa5c97eae4f6987f1
SHA256 (hexchat-enchant2.0_name.patch) = b9687999f8e013716ec997458de1db0d3618382a6963d5f6eb578fea253daa24

View File

@ -1,20 +1,21 @@
# Description: GTK+ based IRC client.
# URL: http://hexchat.github.io/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
# Depends on: autoconf-archive gtk iso-codes libnotify pciutils xorg-libxdamage
# Optional: enchant libcanberra lua
name=hexchat
version=2.12.4
release=2
release=3
source=(http://dl.hexchat.net/hexchat/$name-$version.tar.xz
hexchat-enchant2.0.patch)
hexchat-enchant2.0.patch
hexchat-enchant2.0_name.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/hexchat-enchant2.0.patch
patch -p1 -i $SRC/hexchat-enchant2.0_name.patch
local LUA
if [ "$(pkginfo -i | grep '^lua ')" ]; then

View File

@ -0,0 +1,24 @@
From 234fe8698781f149df0e6928e48859f66b5e947b Mon Sep 17 00:00:00 2001
From: Patrick Griffis <tingping@tingping.se>
Date: Tue, 6 Feb 2018 16:57:30 -0500
Subject: [PATCH] Fix Enchant 2.1.3+ support
They changed the lib name yet again...
Closes #2117
---
src/fe-gtk/sexy-spell-entry.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c
index bd31d2239..dce19b829 100644
--- a/src/fe-gtk/sexy-spell-entry.c
+++ b/src/fe-gtk/sexy-spell-entry.c
@@ -167,6 +167,7 @@ initialize_enchant (void)
#ifdef G_OS_UNIX
"libenchant.so.1",
"libenchant.so.2",
+ "libenchant-2.so.2",
#endif
#ifdef __APPLE__
"libenchant.dylib",