pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q1]: pkgsrc/misc/rhash Pullup ticket #5277 - requested by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee0900dbc906
branches: pkgsrc-2017Q1
changeset: 360252:ee0900dbc906
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Apr 16 15:12:32 2017 +0000
description:
Pullup ticket #5277 - requested by sevan
misc/rhash: build fix
Revisions pulled up:
- misc/rhash/distinfo 1.6
- misc/rhash/patches/patch-librhash_byte__order.h 1.4
---
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.
diffstat:
misc/rhash/distinfo | 4 ++--
misc/rhash/patches/patch-librhash_byte__order.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r fc7cdc4ebfb8 -r ee0900dbc906 misc/rhash/distinfo
--- a/misc/rhash/distinfo Sun Apr 16 15:11:12 2017 +0000
+++ b/misc/rhash/distinfo Sun Apr 16 15:12:32 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2016/11/14 14:10:04 wiz Exp $
+$NetBSD: distinfo,v 1.5.4.1 2017/04/16 15:12:32 bsiegert 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
diff -r fc7cdc4ebfb8 -r ee0900dbc906 misc/rhash/patches/patch-librhash_byte__order.h
--- a/misc/rhash/patches/patch-librhash_byte__order.h Sun Apr 16 15:11:12 2017 +0000
+++ b/misc/rhash/patches/patch-librhash_byte__order.h Sun Apr 16 15:12:32 2017 +0000
@@ -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.3.4.1 2017/04/16 15:12:32 bsiegert Exp $
Use bswap builtins for clang. Prefer builtin over inline assembler.
Recognize BSDish endian macros.
@@ -20,7 +20,7 @@
#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 @@
#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