FYI, I have compiled/installed git 1.7.3.rc2 on my BSD/OS 4.3.1 machine
with the attached minor changes.

-- 
  Bruce Momjian  <br...@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +
*** ./git-1.7.3.rc2/Makefile.orig	Fri Sep 17 14:01:17 2010
--- ./git-1.7.3.rc2/Makefile	Fri Sep 17 14:36:57 2010
***************
*** 1141,1146 ****
--- 1141,1152 ----
  endif
  endif
  
+ NO_NSEC = YesPlease
+ NO_PREAD = YesPlease
+ NEEDS_LIBGEN = 
+ NO_TCLTK = YesPlease
+ NO_PYTHON = YesPlease
+ 
  -include config.mak.autogen
  -include config.mak
  
***************
*** 1244,1250 ****
  	PROGRAM_OBJS += daemon.o
  endif
  ifndef NO_OPENSSL
! 	OPENSSL_LIBSSL = -lssl
  	ifdef OPENSSLDIR
  		BASIC_CFLAGS += -I$(OPENSSLDIR)/include
  		OPENSSL_LINK = -L$(OPENSSLDIR)/$(lib) $(CC_LD_DYNPATH)$(OPENSSLDIR)/$(lib)
--- 1250,1256 ----
  	PROGRAM_OBJS += daemon.o
  endif
  ifndef NO_OPENSSL
! 	OPENSSL_LIBSSL = -lssl -lcrypto
  	ifdef OPENSSLDIR
  		BASIC_CFLAGS += -I$(OPENSSLDIR)/include
  		OPENSSL_LINK = -L$(OPENSSLDIR)/$(lib) $(CC_LD_DYNPATH)$(OPENSSLDIR)/$(lib)
***************
*** 1260,1266 ****
  	OPENSSL_LIBSSL =
  endif
  ifdef NEEDS_SSL_WITH_CRYPTO
! 	LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto -lssl
  else
  	LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto
  endif
--- 1266,1272 ----
  	OPENSSL_LIBSSL =
  endif
  ifdef NEEDS_SSL_WITH_CRYPTO
! 	LIB_4_CRYPTO = $(OPENSSL_LINK) -lssl -lcrypto
  else
  	LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto
  endif
***************
*** 1274,1281 ****
  	EXTLIBS += $(ICONV_LINK) -liconv
  endif
  ifdef NEEDS_LIBGEN
! 	EXTLIBS += -lgen
  endif
  ifdef NEEDS_SOCKET
  	EXTLIBS += -lsocket
  endif
--- 1280,1289 ----
  	EXTLIBS += $(ICONV_LINK) -liconv
  endif
  ifdef NEEDS_LIBGEN
! #	EXTLIBS += -lgen
  endif
+ EXTLIBS += -lpoll
+ 
  ifdef NEEDS_SOCKET
  	EXTLIBS += -lsocket
  endif
***************
*** 1498,1504 ****
  ifndef V
  	QUIET_CC       = @echo '   ' CC $@;
  	QUIET_AR       = @echo '   ' AR $@;
! 	QUIET_LINK     = @echo '   ' LINK $@;
  	QUIET_BUILT_IN = @echo '   ' BUILTIN $@;
  	QUIET_GEN      = @echo '   ' GEN $@;
  	QUIET_LNCP     = @echo '   ' LN/CP $@;
--- 1506,1513 ----
  ifndef V
  	QUIET_CC       = @echo '   ' CC $@;
  	QUIET_AR       = @echo '   ' AR $@;
! #	QUIET_LINK     = @echo '   ' LINK $@;
! QUIET_LINK=
  	QUIET_BUILT_IN = @echo '   ' BUILTIN $@;
  	QUIET_GEN      = @echo '   ' GEN $@;
  	QUIET_LNCP     = @echo '   ' LN/CP $@;
*** ./git-1.7.3.rc2/git-compat-util.h.orig	Fri Sep 17 12:25:09 2010
--- ./git-1.7.3.rc2/git-compat-util.h	Fri Sep 17 12:35:23 2010
***************
*** 106,112 ****
  #include <arpa/inet.h>
  #include <netdb.h>
  #include <pwd.h>
! #include <inttypes.h>
  #if defined(__CYGWIN__)
  #undef _XOPEN_SOURCE
  #include <grp.h>
--- 106,119 ----
  #include <arpa/inet.h>
  #include <netdb.h>
  #include <pwd.h>
! 
! typedef u_int64_t uint64_t;
! typedef u_int32_t uint32_t;
! typedef u_int16_t uint16_t;
! typedef long int intptr_t;
! typedef unsigned long int uintptr_t;
! 
! //#include <inttypes.h>
  #if defined(__CYGWIN__)
  #undef _XOPEN_SOURCE
  #include <grp.h>
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to