|
|
Makefile: add workaround for distros still using older libgit2 versions - stagit-gopher - static git page generator for gopher |
|
|
 |
git clone git://git.codemadness.org/stagit-gopher (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit a67bac151fe0a30eccfcf6593f1666d0995085db |
|
|
 |
parent 858e1f2a79484adaf430dbd63a836a652fc7527b |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
Date: Tue, 26 Jul 2022 23:51:29 +0200 |
|
|
|
|
|
|
|
Makefile: add workaround for distros still using older libgit2 versions |
|
|
|
|
|
|
|
Noticed on Void Linux, Debian, etc. |
|
|
|
|
|
|
|
Diffstat: |
|
|
|
M Makefile | 4 ++++ |
|
|
|
|
|
|
|
1 file changed, 4 insertions(+), 0 deletions(-) |
|
|
|
--- |
|
|
 |
diff --git a/Makefile b/Makefile |
|
|
|
@@ -16,6 +16,10 @@ STAGIT_CFLAGS = ${LIBGIT_INC} ${CFLAGS} |
|
|
|
STAGIT_LDFLAGS = ${LIBGIT_LIB} ${LDFLAGS} |
|
|
|
STAGIT_CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE |
|
|
|
|
|
|
|
+# Uncomment to enable workaround for older libgit2 which don't support this |
|
|
|
+# option. This workaround will be removed in the future *pinky promise*. |
|
|
|
+#STAGIT_CFLAGS += -DGIT_OPT_SET_OWNER_VALIDATION=-1 |
|
|
|
+ |
|
|
|
SRC = \ |
|
|
|
stagit-gopher.c\ |
|
|
|
stagit-gopher-index.c |
|