From 7fd1f9e84b395eda1164bded9400f90e9134e110 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 19 Mar 2008 04:11:10 +0200 Subject: [PATCH] git: Marked as cross-compileable when requested Note: For being able to cross-compile git we have to omit check for formatted IO functions support C99 size specifiers, by using a config cache tweak, asuming that the support is available. --- develop/git/git.conf | 5 +++++ develop/git/git.desc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/develop/git/git.conf b/develop/git/git.conf index 85aa1db48..25073e673 100644 --- a/develop/git/git.conf +++ b/develop/git/git.conf @@ -12,6 +12,11 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +if atstage cross; then + # omit check for formatted IO functions support C99 size specifiers + var_append configcache ' ' "ac_cv_c_c99_format=yes" +fi + # disable git-gui if there is no tcl/tk support if ! pkginstalled tk; then var_append extraconfopt ' ' "--without-tcltk" diff --git a/develop/git/git.desc b/develop/git/git.desc index ac09576c4..040ba869b 100644 --- a/develop/git/git.desc +++ b/develop/git/git.desc @@ -27,6 +27,6 @@ [L] GPL [S] Stable [V] 1.7.2.3 -[P] X -----5---9 209.700 +[P] X -?---5---9 209.700 [D] 4072940637 git-1.7.2.3.tar.bz2 http://www.kernel.org/pub/software/scm/git/