iMakefile: add workaround for distros still using older libgit2 versions - stagit-gemini - Stagit for gemini protocol Openbsd Err thinkerwim.openbsd.amsterdam 70 hgit clone git://thinkerwim.org/stagit-gemini.git URL:git://thinkerwim.org/stagit-gemini.git thinkerwim.org 70 1Log /git/stagit-gemini/log.gph thinkerwim.org 70 1Files /git/stagit-gemini/files.gph thinkerwim.org 70 1Refs /git/stagit-gemini/refs.gph thinkerwim.org 70 1README /git/stagit-gemini/file/README.gph thinkerwim.org 70 1LICENSE /git/stagit-gemini/file/LICENSE.gph thinkerwim.org 70 i--- Err thinkerwim.openbsd.amsterdam 70 1commit a67bac151fe0a30eccfcf6593f1666d0995085db /git/stagit-gemini/commit/a67bac151fe0a30eccfcf6593f1666d0995085db.gph thinkerwim.org 70 1parent 858e1f2a79484adaf430dbd63a836a652fc7527b /git/stagit-gemini/commit/858e1f2a79484adaf430dbd63a836a652fc7527b.gph thinkerwim.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org thinkerwim.org 70 iDate: Tue, 26 Jul 2022 23:51:29 +0200 Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iMakefile: add workaround for distros still using older libgit2 versions Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iNoticed on Void Linux, Debian, etc. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iDiffstat: Err thinkerwim.openbsd.amsterdam 70 i M Makefile | 4 ++++ Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i1 file changed, 4 insertions(+), 0 deletions(-) Err thinkerwim.openbsd.amsterdam 70 i--- Err thinkerwim.openbsd.amsterdam 70 1diff --git a/Makefile b/Makefile /git/stagit-gemini/file/Makefile.gph thinkerwim.org 70 i@@ -16,6 +16,10 @@ STAGIT_CFLAGS = ${LIBGIT_INC} ${CFLAGS} Err thinkerwim.openbsd.amsterdam 70 i STAGIT_LDFLAGS = ${LIBGIT_LIB} ${LDFLAGS} Err thinkerwim.openbsd.amsterdam 70 i STAGIT_CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i+# Uncomment to enable workaround for older libgit2 which don't support this Err thinkerwim.openbsd.amsterdam 70 i+# option. This workaround will be removed in the future *pinky promise*. Err thinkerwim.openbsd.amsterdam 70 i+#STAGIT_CFLAGS += -DGIT_OPT_SET_OWNER_VALIDATION=-1 Err thinkerwim.openbsd.amsterdam 70 i+ Err thinkerwim.openbsd.amsterdam 70 i SRC = \ Err thinkerwim.openbsd.amsterdam 70 i stagit-gopher.c\ Err thinkerwim.openbsd.amsterdam 70 i stagit-gopher-index.c Err thinkerwim.openbsd.amsterdam 70 .