git 1.5.5.1 with the basics. No http suport and no gui stuff.

This commit is contained in:
Tom G. Christensen
2008-05-12 11:20:42 +00:00
committed by Tom G. Christensen
parent 33a392e973
commit 0366314777
6 changed files with 125 additions and 31 deletions

View File

@@ -0,0 +1,24 @@
--- git-1.5.5.1/git-compat-util.h.socklen_t 2008-05-11 20:17:59.225343000 +0200
+++ git-1.5.5.1/git-compat-util.h 2008-05-11 20:20:01.765932000 +0200
@@ -453,4 +453,8 @@
# define FORCE_DIR_SET_GID 0
#endif
+#ifdef NO_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
#endif
--- git-1.5.5.1.hack/Makefile.socklen_t 2008-05-11 20:26:52.657848000 +0200
+++ git-1.5.5.1.hack/Makefile 2008-05-11 20:28:06.418161000 +0200
@@ -852,6 +852,10 @@
LIB_OBJS += compat/inet_pton.o
endif
+ifdef NO_SOCKLEN_T
+ BASIC_CFLAGS += -DNO_SOCKLEN_T
+endif
+
ifdef NO_ICONV
BASIC_CFLAGS += -DNO_ICONV
endif

View File

@@ -0,0 +1,25 @@
--- git-1.5.5.1.hack/Makefile.sunos56 2008-04-21 00:17:13.000000000 +0200
+++ git-1.5.5.1.hack/Makefile 2008-05-11 20:21:37.326327000 +0200
@@ -573,6 +573,22 @@
NO_MEMMEM = YesPlease
NO_HSTRERROR = YesPlease
NO_MKDTEMP = YesPlease
+ ifeq ($(uname_R),5.6)
+ NEEDS_LIBICONV = YesPlease
+ NO_UNSETENV = YesPlease
+ NO_SETENV = YesPlease
+ NO_C99_FORMAT = YesPlease
+ NO_STRTOUMAX = YesPlease
+ NO_D_TYPE_IN_DIRENT = YesPlease
+ NO_SOCKADDR_STORAGE = YesPlease
+ NO_STRCASESTR = YesPlease
+ NO_STRLCPY = YesPlease
+ NO_STRTOUMAX = YesPlease
+ NO_IPV6 = YesPlease
+ NO_INET_NTOP = YesPlease
+ NO_INET_PTON = YesPlease
+ NO_SOCKLEN_T = YesPlease
+ endif
ifeq ($(uname_R),5.8)
NEEDS_LIBICONV = YesPlease
NO_UNSETENV = YesPlease