pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/netpbm/patches Add build fix for big-endian h...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8a5f729856b
branches: trunk
changeset: 645110:b8a5f729856b
user: jdc <jdc%pkgsrc.org@localhost>
date: Fri Jan 23 11:26:40 2015 +0000
description:
Add build fix for big-endian hosts (sent upstream).
diffstat:
graphics/netpbm/patches/patch-wordaccess_be_aligned.h | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r a97e6cef66b7 -r b8a5f729856b graphics/netpbm/patches/patch-wordaccess_be_aligned.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-wordaccess_be_aligned.h Fri Jan 23 11:26:40 2015 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-wordaccess_be_aligned.h,v 1.1 2015/01/23 11:26:40 jdc Exp $
+
+--- lib/util/wordaccess_be_aligned.h.dist 2014-09-01 22:22:28.000000000 +0100
++++ lib/util/wordaccess_be_aligned.h 2015-01-23 09:22:52.000000000 +0000
+@@ -24,7 +24,7 @@
+ static __inline__ void
+ wordintToBytes(wordintBytes * const bytesP,
+ wordint const wordInt) {
+- uint16_t const hi = ((wordInt >> 48) & 0xFF)
++ uint16_t const hi = ((wordInt >> 48) & 0xFF);
+ uint16_t const mh = ((wordInt >> 32) & 0xFF);
+ uint16_t const ml = ((wordInt >> 24) & 0xFF);
+ uint16_t const lo = ((wordInt >> 0) & 0xFF);
Home |
Main Index |
Thread Index |
Old Index