pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/rhash
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Apr 13 09:40:37 UTC 2017
Modified Files:
pkgsrc/misc/rhash: distinfo
pkgsrc/misc/rhash/patches: patch-librhash_byte__order.h
Log Message:
Don't assume _BIG_ENDIAN and _LITTLE_ENDIAN have values. Fixes SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/rhash/distinfo
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/misc/rhash/patches/patch-librhash_byte__order.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/rhash/distinfo
diff -u pkgsrc/misc/rhash/distinfo:1.5 pkgsrc/misc/rhash/distinfo:1.6
--- pkgsrc/misc/rhash/distinfo:1.5 Mon Nov 14 14:10:04 2016
+++ pkgsrc/misc/rhash/distinfo Thu Apr 13 09:40:36 2017
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2016/11/14 14:10:04 wiz Exp $
+$NetBSD: distinfo,v 1.6 2017/04/13 09:40:36 jperkin Exp $
SHA1 (rhash-1.3.4.tar.gz) = fc4610084b8b5a8d20ef0b788381709921ada8bb
RMD160 (rhash-1.3.4.tar.gz) = 00225455818941f6e59b398854f128687465448b
SHA512 (rhash-1.3.4.tar.gz) = 1d6af41f98588005ad2dcabdf479a30f7e4e6b59d56b322702827470e6eaa9a6905e9c1424f778b90488f04e719aa3b2985b92820b7da40ae30f2968339990c0
Size (rhash-1.3.4.tar.gz) = 309181 bytes
-SHA1 (patch-librhash_byte__order.h) = c91d5e8306ad44c3e3492023c3131337f6a77b16
+SHA1 (patch-librhash_byte__order.h) = 04b5b1f75ec2e20e301f9cf1a055df1b260a8912
Index: pkgsrc/misc/rhash/patches/patch-librhash_byte__order.h
diff -u pkgsrc/misc/rhash/patches/patch-librhash_byte__order.h:1.3 pkgsrc/misc/rhash/patches/patch-librhash_byte__order.h:1.4
--- pkgsrc/misc/rhash/patches/patch-librhash_byte__order.h:1.3 Mon Nov 14 14:10:04 2016
+++ pkgsrc/misc/rhash/patches/patch-librhash_byte__order.h Thu Apr 13 09:40:37 2017
@@ -1,4 +1,4 @@
-$NetBSD: patch-librhash_byte__order.h,v 1.3 2016/11/14 14:10:04 wiz Exp $
+$NetBSD: patch-librhash_byte__order.h,v 1.4 2017/04/13 09:40:37 jperkin Exp $
Use bswap builtins for clang. Prefer builtin over inline assembler.
Recognize BSDish endian macros.
@@ -20,7 +20,7 @@ Recognize BSDish endian macros.
#if (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && \
- __BYTE_ORDER == __LITTLE_ENDIAN) || \
+ __BYTE_ORDER == __LITTLE_ENDIAN) || (defined(_BYTE_ORDER) && defined(_LITTLE_ENDIAN) && \
-+ _BYTE_ORDER == _LITTLE_ENDIAN) || \
++ _BYTE_ORDER == _LITTLE_ENDIAN + 0) || \
defined(CPU_IA32) || defined(CPU_X64) || \
defined(__ia64) || defined(__ia64__) || defined(__alpha__) || defined(_M_ALPHA) || \
defined(vax) || defined(MIPSEL) || defined(_ARM_) || defined(__arm__)
@@ -30,7 +30,7 @@ Recognize BSDish endian macros.
#elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \
- __BYTE_ORDER == __BIG_ENDIAN) || \
+ __BYTE_ORDER == __BIG_ENDIAN) || (defined(_BYTE_ORDER) && defined(_BIG_ENDIAN) && \
-+ _BYTE_ORDER == _BIG_ENDIAN) || \
++ _BYTE_ORDER == _BIG_ENDIAN + 0) || \
defined(__sparc) || defined(__sparc__) || defined(sparc) || \
defined(_ARCH_PPC) || defined(_ARCH_PPC64) || defined(_POWER) || \
defined(__POWERPC__) || defined(POWERPC) || defined(__powerpc) || \
Home |
Main Index |
Thread Index |
Old Index