From 43b1791ec601732ac31195df96781a848360a9ac Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 21 Sep 2021 13:03:01 +0300 Subject: chore(3p/git): Unvendor git and track patches instead This was vendored a long time ago under the expectation that keeping it in sync with cgit would be easier this way, but it has proven not to be a big issue. On the other hand, a vendored copy of git is an annoying maintenance burden. It is much easier to rebase the single (dottime) patch that we have. This removes the vendored copy of git and instead passes the git source code to cgit via `pkgs.srcOnly`, which includes the applied patch so that cgit can continue rendering dottime. Change-Id: If31f62dea7ce688fd1b9050204e9378019775f2b --- third_party/git/config.mak.dev | 47 ------------------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 third_party/git/config.mak.dev (limited to 'third_party/git/config.mak.dev') diff --git a/third_party/git/config.mak.dev b/third_party/git/config.mak.dev deleted file mode 100644 index 89b218d11a53..000000000000 --- a/third_party/git/config.mak.dev +++ /dev/null @@ -1,47 +0,0 @@ -ifeq ($(filter no-error,$(DEVOPTS)),) -DEVELOPER_CFLAGS += -Werror -endif -ifneq ($(filter pedantic,$(DEVOPTS)),) -DEVELOPER_CFLAGS += -pedantic -# don't warn for each N_ use -DEVELOPER_CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0 -endif -DEVELOPER_CFLAGS += -Wall -DEVELOPER_CFLAGS += -Wdeclaration-after-statement -DEVELOPER_CFLAGS += -Wformat-security -DEVELOPER_CFLAGS += -Wold-style-definition -DEVELOPER_CFLAGS += -Woverflow -DEVELOPER_CFLAGS += -Wpointer-arith -DEVELOPER_CFLAGS += -Wstrict-prototypes -DEVELOPER_CFLAGS += -Wunused -DEVELOPER_CFLAGS += -Wvla - -ifndef COMPILER_FEATURES -COMPILER_FEATURES := $(shell ./detect-compiler $(CC)) -endif - -ifneq ($(filter clang4,$(COMPILER_FEATURES)),) -DEVELOPER_CFLAGS += -Wtautological-constant-out-of-range-compare -endif - -ifneq ($(or $(filter gcc6,$(COMPILER_FEATURES)),$(filter clang4,$(COMPILER_FEATURES))),) -DEVELOPER_CFLAGS += -Wextra -# if a function is public, there should be a prototype and the right -# header file should be included. If not, it should be static. -DEVELOPER_CFLAGS += -Wmissing-prototypes -ifeq ($(filter extra-all,$(DEVOPTS)),) -# These are disabled because we have these all over the place. -DEVELOPER_CFLAGS += -Wno-empty-body -DEVELOPER_CFLAGS += -Wno-missing-field-initializers -DEVELOPER_CFLAGS += -Wno-sign-compare -DEVELOPER_CFLAGS += -Wno-unused-parameter -endif -endif - -# uninitialized warnings on gcc 4.9.2 in xdiff/xdiffi.c and config.c -# not worth fixing since newer compilers correctly stop complaining -ifneq ($(filter gcc4,$(COMPILER_FEATURES)),) -ifeq ($(filter gcc5,$(COMPILER_FEATURES)),) -DEVELOPER_CFLAGS += -Wno-uninitialized -endif -endif -- cgit 1.4.1