summaryrefslogtreecommitdiff
path: root/hexchat/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-04-11 01:07:35 +1000
committerDanny Rawlins <contact@romster.me>2021-04-11 01:16:57 +1000
commitba35b07af199eb3001e8a60c3e7a3357311c4cb4 (patch)
treea4d95944cb4f27417869e2afdf2b8725566eccb2 /hexchat/Pkgfile
parent8d423c41e3808ddc65c3ead694ff643dd92b1f2a (diff)
downloadopt-ba35b07af199eb3001e8a60c3e7a3357311c4cb4.tar.gz
opt-ba35b07af199eb3001e8a60c3e7a3357311c4cb4.tar.xz
hexchat: lua fix compile and fix font height
Diffstat (limited to 'hexchat/Pkgfile')
-rw-r--r--hexchat/Pkgfile13
1 files changed, 11 insertions, 2 deletions
diff --git a/hexchat/Pkgfile b/hexchat/Pkgfile
index 7c05748c5..8088820a1 100644
--- a/hexchat/Pkgfile
+++ b/hexchat/Pkgfile
@@ -6,12 +6,21 @@
name=hexchat
version=2.14.3
-release=1
-source=(https://dl.hexchat.net/hexchat/$name-$version.tar.xz)
+release=2
+source=(https://dl.hexchat.net/hexchat/$name-$version.tar.xz
+ 0001-python-cffi.patch
+ 0002-python-3-8.patch
+ 0003-Use-pango_font_metrics_get_height-to-calculate-font-height.patch
+ 0004-fix_segfault_on_lua_pop_with_Lua_5.4.3.patch)
build() {
cd $name-$version
+ patch -p1 -i $SRC/0001-python-cffi.patch
+ patch -p1 -i $SRC/0002-python-3-8.patch
+ patch -p1 -i $SRC/0003-Use-pango_font_metrics_get_height-to-calculate-font-height.patch
+ patch -p1 -i $SRC/0004-fix_segfault_on_lua_pop_with_Lua_5.4.3.patch
+
# Lua scripting plugin, value is pkg-config name
prt-get isinst lua && PKGMK_HEXCHAT+=' -Dwith-lua=lua' || PKGMK_HEXCHAT+=' -Dwith-lua=false'

Generated by cgit