pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libgit2
Module Name: pkgsrc
Committed By: pho
Date: Fri May 10 19:08:43 UTC 2024
Modified Files:
pkgsrc/devel/libgit2: Makefile
Log Message:
devel/libgit2: Fix build on NetBSD/aarch64
The package uses alloca(3), which is incompatible with -std=c99. Use -std=gnu99 instead.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/devel/libgit2/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libgit2/Makefile
diff -u pkgsrc/devel/libgit2/Makefile:1.78 pkgsrc/devel/libgit2/Makefile:1.79
--- pkgsrc/devel/libgit2/Makefile:1.78 Mon May 6 06:22:09 2024
+++ pkgsrc/devel/libgit2/Makefile Fri May 10 19:08:43 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2024/05/06 06:22:09 wiz Exp $
+# $NetBSD: Makefile,v 1.79 2024/05/10 19:08:43 pho Exp $
DISTNAME= libgit2-1.8.0
CATEGORIES= devel
@@ -14,7 +14,7 @@ USE_LANGUAGES= c
USE_TOOLS+= pkg-config
USE_CC_FEATURES+= c99
-FORCE_C_STD= c99
+FORCE_C_STD= gnu99 # src/cli/opt.c uses alloca(3)
CMAKE_ARGS+= -DREGEX_BACKEND="pcre2"
Home |
Main Index |
Thread Index |
Old Index