summaryrefslogtreecommitdiffstats
path: root/development/highlight/lua-qt.patch
diff options
context:
space:
mode:
author Ozan Türkyılmaz2022-09-08 08:40:38 +0200
committer Willy Sudiarto Raharjo2022-09-10 10:19:06 +0200
commit5327367fe189e44d59578b5c466efd8ca1bb09ac (patch)
treef1233a3485372b27b900a3bedfb71f5ca48a5ced /development/highlight/lua-qt.patch
parent223fa1ca6b3e25aaa3651c82b62e1f18cbbf0664 (diff)
downloadslackbuilds-5327367fe189e44d59578b5c466efd8ca1bb09ac.tar.gz
development/highlight New Maintainer, Updated to 4.2, Fix linking failure when lua5.3 is installed.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/highlight/lua-qt.patch')
-rw-r--r--development/highlight/lua-qt.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/development/highlight/lua-qt.patch b/development/highlight/lua-qt.patch
new file mode 100644
index 0000000000..6078f07dd9
--- /dev/null
+++ b/development/highlight/lua-qt.patch
@@ -0,0 +1,25 @@
+Only in highlight-4.1/src/gui-qt: .highlight.pro.un~
+diff -cr highlight-4.1.DIST/src/gui-qt/highlight.pro highlight-4.1/src/gui-qt/highlight.pro
+*** highlight-4.1.DIST/src/gui-qt/highlight.pro 2021-05-10 18:47:34.000000000 +0100
+--- highlight-4.1/src/gui-qt/highlight.pro 2022-07-27 14:39:31.295908472 +0100
+***************
+*** 36,44 ****
+ unix {
+ DESTDIR = ../
+ LIBS += -L.. -lhighlight
+! LIBS += -llua
+ CONFIG += link_pkgconfig
+! PKGCONFIG += lua
+
+ # to make it run within Qt Creator
+ !contains(DEFINES, DATA_DIR.*) {
+--- 36,44 ----
+ unix {
+ DESTDIR = ../
+ LIBS += -L.. -lhighlight
+! LIBS += -llua5.3
+ CONFIG += link_pkgconfig
+! PKGCONFIG += lua53
+
+ # to make it run within Qt Creator
+ !contains(DEFINES, DATA_DIR.*) {