Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/netpbm/files: netpbm-10.66-wordaccess_be_aligned.patch
Date: Wed, 29 Apr 2015 01:58:15
Message-Id: 20150429015809.30560977@oystercatcher.gentoo.org
1 vapier 15/04/29 01:58:05
2
3 Modified: netpbm-10.66-wordaccess_be_aligned.patch
4 Log:
5 Add metadata from upstream svn to the patch #547252 by Jack Morgan.
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
8
9 Revision Changes Path
10 1.2 media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch?r1=1.1&r2=1.2
15
16 Index: netpbm-10.66-wordaccess_be_aligned.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/netpbm/files/netpbm-10.66-wordaccess_be_aligned.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- netpbm-10.66-wordaccess_be_aligned.patch 28 Apr 2015 03:04:13 -0000 1.1
23 +++ netpbm-10.66-wordaccess_be_aligned.patch 29 Apr 2015 01:58:05 -0000 1.2
24 @@ -1,7 +1,17 @@
25 -diff --git a/lib/util/wordaccess_be_aligned.h b/lib/util/wordaccess_be_aligned.h
26 -index 0d5809e..f3bbb84 100644
27 ---- a/lib/util/wordaccess_be_aligned.h.orig
28 -+++ b/lib/util/wordaccess_be_aligned.h
29 +https://bugs.gentoo.org/547252
30 +
31 +------------------------------------------------------------------------
32 +r2395 | giraffedata | 2015-01-23 13:51:17 -0500 (Fri, 23 Jan 2015) | 1 line
33 +
34 +Fix syntax error
35 +
36 +build: fix compile failure in wordint_access_be.h with
37 +Bigendian target platforms.
38 +
39 +Index: trunk/lib/util/wordaccess_be_aligned.h
40 +===================================================================
41 +--- trunk/lib/util/wordaccess_be_aligned.h (revision 2394)
42 ++++ trunk/lib/util/wordaccess_be_aligned.h (revision 2395)
43 @@ -24,7 +24,7 @@ bytesToWordint(wordintBytes bytes) {
44 static __inline__ void
45 wordintToBytes(wordintBytes * const bytesP,
46 @@ -10,4 +20,4 @@
47 + uint16_t const hi = ((wordInt >> 48) & 0xFF);
48 uint16_t const mh = ((wordInt >> 32) & 0xFF);
49 uint16_t const ml = ((wordInt >> 24) & 0xFF);
50 - uint16_t const lo = ((wordInt >> 0) & 0xFF);
51 + uint16_t const lo = ((wordInt >> 0) & 0xFF);