SF.net SVN: gar:[23733] csw/mgar/pkg/git/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Fri May 30 19:20:19 CEST 2014


Revision: 23733
          http://sourceforge.net/p/gar/code/23733
Author:   bdwalton
Date:     2014-05-30 17:20:15 +0000 (Fri, 30 May 2014)
Log Message:
-----------
git/trunk: add another endianness compatibility fix

Modified Paths:
--------------
    csw/mgar/pkg/git/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/git/trunk/files/0008-A-further-small-tweak-for-endianess-detection.patch

Modified: csw/mgar/pkg/git/trunk/Makefile
===================================================================
--- csw/mgar/pkg/git/trunk/Makefile	2014-05-30 16:37:14 UTC (rev 23732)
+++ csw/mgar/pkg/git/trunk/Makefile	2014-05-30 17:20:15 UTC (rev 23733)
@@ -102,6 +102,7 @@
 # to the selection of available utf8 locales.
 PATCHFILES_isa-sparcv8 += 0005-Force-en_US.UTF-8-for-a-git-svn-test.patch
 PATCHFILES += 0007-endianess-fix.patch
+PATCHFILES += 0008-A-further-small-tweak-for-endianess-detection.patch
 
 fdirs = $(bindir_install) $(mandir) $(libexecdir_install)
 define _git_files

Added: csw/mgar/pkg/git/trunk/files/0008-A-further-small-tweak-for-endianess-detection.patch
===================================================================
--- csw/mgar/pkg/git/trunk/files/0008-A-further-small-tweak-for-endianess-detection.patch	                        (rev 0)
+++ csw/mgar/pkg/git/trunk/files/0008-A-further-small-tweak-for-endianess-detection.patch	2014-05-30 17:20:15 UTC (rev 23733)
@@ -0,0 +1,26 @@
+From cd9dd899f792e478bd90852ef8498ad04d69b0a7 Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Fri, 30 May 2014 14:51:03 +0200
+Subject: [PATCH] A further small tweak for endianess detection
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ compat/bswap.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/compat/bswap.h b/compat/bswap.h
+index c4293db..f6fd9a6 100644
+--- a/compat/bswap.h
++++ b/compat/bswap.h
+@@ -120,7 +120,7 @@ static inline uint64_t git_bswap64(uint64_t x)
+ 
+ # if defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN)
+ #  define GIT_BYTE_ORDER GIT_BIG_ENDIAN
+-# elif defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN)
++# elif defined(_LITTLE_ENDIAN) && !defined(_BIG_ENDIAN)
+ #  define GIT_BYTE_ORDER GIT_LITTLE_ENDIAN
+ # else
+ #  error "Cannot determine endianness"
+-- 
+1.8.4.1
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list