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