Blame SOURCES/highlight-3.13-lua.patch

4f82e4
diff -up highlight-3.13/src/gui-qt/highlight.pro.mk highlight-3.13/src/gui-qt/highlight.pro
4f82e4
--- highlight-3.13/src/gui-qt/highlight.pro.mk	2013-02-19 18:43:29.139258245 +0100
4f82e4
+++ highlight-3.13/src/gui-qt/highlight.pro	2013-02-19 18:44:26.651647337 +0100
4f82e4
@@ -31,9 +31,9 @@ unix:LIBS += -L.. -lhighlight
4f82e4
 
4f82e4
 # If Lua 5.2 is not default on your system yet you have to omit 5.1 here:
4f82e4
 unix {
4f82e4
-    LIBS += -llua5.1
4f82e4
+    LIBS += -llua
4f82e4
     CONFIG += link_pkgconfig
4f82e4
-    PKGCONFIG += lua5.1
4f82e4
+    PKGCONFIG += lua
4f82e4
 }
4f82e4
 
4f82e4
 win32:QMAKE_POST_LINK = f:/upx/upx.exe --best ../../highlight-gui.exe
4f82e4
diff -up highlight-3.13/src/makefile.mk highlight-3.13/src/makefile
4f82e4
--- highlight-3.13/src/makefile.mk	2013-02-01 21:37:56.000000000 +0100
4f82e4
+++ highlight-3.13/src/makefile	2013-02-19 18:33:33.025879310 +0100
4f82e4
@@ -34,10 +34,10 @@ INCLUDE_DIR=./include/
4f82e4
 
4f82e4
 
4f82e4
 # If Lua 5.2 is not default on your system yet you have to omit 5.1:
4f82e4
-LUA_CFLAGS=$(shell pkg-config --cflags lua5.1)
4f82e4
+LUA_CFLAGS=$(shell pkg-config --cflags lua)
4f82e4
 
4f82e4
 # default lua lib
4f82e4
-LUA_LIBS=$(shell pkg-config --libs lua5.1)
4f82e4
+LUA_LIBS=$(shell pkg-config --libs lua)
4f82e4
 # luajit lib
4f82e4
 #LUA_LIBS=$(shell pkg-config --libs luajit)
4f82e4