From: Peter Wagner <​tripolar@gmx.at> Date: Thu, 11 Jul 2013 14:17:11 +0000 (+0000) Subject: git: get rid of XDL_FAST_HASH, it does NOT work on big-endian systems, and uname... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ee1305b076a5999649419c687f220a1787ce2dd7;p=openwrt%2Fsvn-archive%2Fpackages.git git: get rid of XDL_FAST_HASH, it does NOT work on big-endian systems, and uname is no reliable way to determine which arch will run git closes #13611 SVN-Revision: 37239 --- diff --git a/net/git/Makefile b/net/git/Makefile index f89944f51..bb83e7348 100644 --- a/net/git/Makefile +++ b/net/git/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=git PKG_VERSION:=1.8.3.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://git-core.googlecode.com/files/ diff --git a/net/git/patches/200-disable_fasthash.patch b/net/git/patches/200-disable_fasthash.patch new file mode 100644 index 000000000..cd5d60376 --- /dev/null +++ b/net/git/patches/200-disable_fasthash.patch @@ -0,0 +1,14 @@ +diff --git a/config.mak.uname b/config.mak.uname +index d78fd3d..43f5c5e 100644 +--- a/config.mak.uname ++++ b/config.mak.uname +@@ -17,9 +17,6 @@ endif + # because maintaining the nesting to match is a pain. If + # we had "elif" things would have been much nicer... + +-ifeq ($(uname_M),x86_64) +- XDL_FAST_HASH = YesPlease +-endif + ifeq ($(uname_S),OSF1) + # Need this for u_short definitions et al + BASIC_CFLAGS += -D_OSF_SOURCE