summarylogtreecommitdiffstats
path: root/libs.patch
diff options
context:
space:
mode:
authorMGislv2022-02-03 22:15:12 +0100
committerMGislv2022-02-03 22:15:12 +0100
commitea9b90e1aa012c8768dbca48cca0229644bc927a (patch)
treed9c20cbc7babd8f53d812feb270c9a41a121499e /libs.patch
parent3eb4dbb3f788b0c09e681f2c44c8c2ff0900e32e (diff)
downloadaur-stag-git.tar.gz
Fix crash (maybe)
Diffstat (limited to 'libs.patch')
-rw-r--r--libs.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/libs.patch b/libs.patch
new file mode 100644
index 00000000000..ab58855e938
--- /dev/null
+++ b/libs.patch
@@ -0,0 +1,21 @@
+--- a/Makefile
++++ b/Makefile
+@@ -4,14 +4,13 @@
+ # This file is public domain as declared by Sturm Mabie.
+ #
+
+-CC=gcc
++CC=cc
+ PROG=stag
+-CURSES=-lncurses -lmenu -lform
++CURSES=-lncurses -lmenu -lform
+ CURSESW=-lncursesw -lmenuw -lformw -D_CURSESW_WIDE
+ FILES=ui.c stag.c tagger.c strlcpy.c strlcat.c basename.c dirname.c kb.c
+-CFLAGS+=-ansi -pedantic -Wall -D_BSD_SOURCE
+-CPPFLAGS+=-I/usr/local/include `taglib-config --cflags`
+-LDFLAGS+=-L/usr/local/lib `taglib-config --libs` -ltag_c -lstdc++
++CPPFLAGS+=-I/usr/include `taglib-config --cflags`
++LDFLAGS+=-L/usr/lib `taglib-config --libs` -ltag_c -lstdc++
+
+ wide:
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(CURSESW) $(FILES) -o $(PROG)