You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
117 lines
4.1 KiB
117 lines
4.1 KiB
Index: Documentation/Makefile |
|
--- Documentation/Makefile.orig 2018-06-21 19:18:50.000000000 +0200 |
|
+++ Documentation/Makefile 2018-06-22 08:54:05.104012000 +0200 |
|
@@ -123,12 +123,12 @@ |
|
|
|
MAKEINFO = makeinfo |
|
INSTALL_INFO = install-info |
|
-DOCBOOK2X_TEXI = docbook2x-texi |
|
+DOCBOOK2X_TEXI = docbook2texi |
|
DBLATEX = dblatex |
|
ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex |
|
DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty |
|
ifndef PERL_PATH |
|
- PERL_PATH = /usr/bin/perl |
|
+ PERL_PATH = perl |
|
endif |
|
|
|
-include ../config.mak.autogen |
|
Index: Makefile |
|
--- Makefile.orig 2018-06-21 19:18:50.000000000 +0200 |
|
+++ Makefile 2018-06-22 08:55:27.257239000 +0200 |
|
@@ -518,15 +518,15 @@ |
|
|
|
prefix = $(HOME) |
|
bindir = $(prefix)/bin |
|
-mandir = $(prefix)/share/man |
|
+mandir = $(prefix)/man |
|
infodir = $(prefix)/share/info |
|
-gitexecdir = libexec/git-core |
|
+gitexecdir = libexec/git |
|
mergetoolsdir = $(gitexecdir)/mergetools |
|
sharedir = $(prefix)/share |
|
gitwebdir = $(sharedir)/gitweb |
|
perllibdir = $(sharedir)/perl5 |
|
localedir = $(sharedir)/locale |
|
-template_dir = share/git-core/templates |
|
+template_dir = share/git/templates |
|
htmldir = $(prefix)/share/doc/git-doc |
|
ETC_GITCONFIG = $(sysconfdir)/gitconfig |
|
ETC_GITATTRIBUTES = $(sysconfdir)/gitattributes |
|
@@ -1269,10 +1269,10 @@ |
|
else |
|
ifdef CURLDIR |
|
# Try "-Wl,-rpath=$(CURLDIR)/$(lib)" in such a case. |
|
- BASIC_CFLAGS += -I$(CURLDIR)/include |
|
- CURL_LIBCURL = -L$(CURLDIR)/$(lib) $(CC_LD_DYNPATH)$(CURLDIR)/$(lib) -lcurl |
|
+ BASIC_CFLAGS += `$(CURLDIR)/bin/curl-config --cflags` |
|
+ CURL_LIBCURL = `$(CURLDIR)/bin/curl-config --libs` |
|
else |
|
- CURL_LIBCURL = -lcurl |
|
+ CURL_LIBCURL = -lcurl -lssl -lcrypto |
|
endif |
|
ifdef NEEDS_SSL_WITH_CURL |
|
CURL_LIBCURL += -lssl |
|
@@ -2724,6 +2724,12 @@ |
|
$(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' |
|
$(INSTALL) -m 644 $(SCRIPT_LIB) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' |
|
$(INSTALL) $(install_bindir_programs) '$(DESTDIR_SQ)$(bindir_SQ)' |
|
+ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(prefix)/lib' |
|
+ $(INSTALL) -m 644 $(LIB_FILE) '$(DESTDIR_SQ)$(prefix)/lib/libgit.a' |
|
+ $(INSTALL) -m 644 $(XDIFF_LIB) '$(DESTDIR_SQ)$(prefix)/lib/libgit-xdiff.a' |
|
+ $(INSTALL) -m 644 $(VCSSVN_LIB) '$(DESTDIR_SQ)$(prefix)/lib/libgit-vcssvn.a' |
|
+ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(prefix)/include/git' |
|
+ for h in $(LIB_H); do b=`echo $$h | sed -e 's;/*[^/][^/]*$$;;'`; $(INSTALL) -d -m 755 $(DESTDIR_SQ)$(prefix)/include/git/$$b; $(INSTALL) -m 644 $$h $(DESTDIR_SQ)$(prefix)/include/git/$$h; done |
|
$(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install |
|
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(mergetools_instdir_SQ)' |
|
$(INSTALL) -m 644 mergetools/* '$(DESTDIR_SQ)$(mergetools_instdir_SQ)' |
|
Index: builtin/grep.c |
|
--- builtin/grep.c.orig 2018-06-21 19:18:50.000000000 +0200 |
|
+++ builtin/grep.c 2018-06-22 08:54:05.104856000 +0200 |
|
@@ -34,9 +34,6 @@ |
|
#define GREP_NUM_THREADS_DEFAULT 8 |
|
static int num_threads; |
|
|
|
-#ifndef NO_PTHREADS |
|
-static pthread_t *threads; |
|
- |
|
/* We use one producer thread and THREADS consumer |
|
* threads. The producer adds struct work_items to 'todo' and the |
|
* consumers pick work items from the same array. |
|
@@ -47,6 +44,9 @@ |
|
struct strbuf out; |
|
}; |
|
|
|
+#ifndef NO_PTHREADS |
|
+static pthread_t *threads; |
|
+ |
|
/* In the range [todo_done, todo_start) in 'todo' we have work_items |
|
* that have been or are processed by a consumer thread. We haven't |
|
* written the result for these to stdout yet. |
|
Index: config.mak.in |
|
--- config.mak.in.orig 2018-06-21 19:18:50.000000000 +0200 |
|
+++ config.mak.in 2018-06-22 08:54:05.104964000 +0200 |
|
@@ -14,9 +14,9 @@ |
|
prefix = @prefix@ |
|
exec_prefix = @exec_prefix@ |
|
bindir = @bindir@ |
|
-gitexecdir = @libexecdir@/git-core |
|
+gitexecdir = @libexecdir@/git |
|
datarootdir = @datarootdir@ |
|
-template_dir = @datadir@/git-core/templates |
|
+template_dir = @datadir@/git/templates |
|
sysconfdir = @sysconfdir@ |
|
docdir = @docdir@ |
|
|
|
Index: templates/Makefile |
|
--- templates/Makefile.orig 2018-06-21 19:18:50.000000000 +0200 |
|
+++ templates/Makefile 2018-06-22 08:54:05.105079000 +0200 |
|
@@ -8,7 +8,7 @@ |
|
TAR ?= tar |
|
RM ?= rm -f |
|
prefix ?= $(HOME) |
|
-template_instdir ?= $(prefix)/share/git-core/templates |
|
+template_instdir ?= $(prefix)/share/git/templates |
|
# DESTDIR= |
|
|
|
ifndef SHELL_PATH
|
|
|