libraw: fix narrowing patch

The patch was missing to modify the last constant 0x10.
This commit is contained in:
Juergen Buchmueller 2016-09-14 20:25:58 +02:00
parent 73a371bba0
commit 16113485f9
2 changed files with 3 additions and 2 deletions

View file

@ -29,6 +29,7 @@ Change the 0x?? constants to characters by using `\x??' notation.
- +0,+1,+1,+2,0,0x10, +0,+1,+2,-1,1,0x40, +0,+1,+2,+0,0,0x60,
- +0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
- +1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
- +1,+0,+2,+1,0,0x10
+ -2,-2,+0,-1,0,'\x01', -2,-2,+0,+0,1,'\x01', -2,-1,-1,+0,0,'\x01',
+ -2,-1,+0,-1,0,'\x02', -2,-1,+0,+0,0,'\x03', -2,-1,+0,+1,1,'\x01',
+ -2,+0,+0,-1,0,'\x06', -2,+0,+0,+0,1,'\x02', -2,+0,+0,+1,0,'\x03',
@ -50,6 +51,6 @@ Change the 0x?? constants to characters by using `\x??' notation.
+ +0,+1,+1,+2,0,'\x10', +0,+1,+2,-1,1,'\x40', +0,+1,+2,+0,0,'\x60',
+ +0,+1,+2,+1,0,'\x20', +0,+1,+2,+2,0,'\x10', +1,-2,+1,+0,0,'\x80',
+ +1,-1,+1,+1,0,'\x88', +1,+0,+1,+2,0,'\x08', +1,+0,+2,-1,0,'\x40',
+1,+0,+2,+1,0,0x10
+ +1,+0,+2,+1,0,'\x10'
}, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
ushort (*brow[5])[4], *pix;

View file

@ -1,7 +1,7 @@
# Template file for 'libraw'
pkgname=libraw
version=0.17.2
revision=2
revision=3
wrksrc=LibRaw-${version}
build_style=gnu-configure
hostmakedepends="pkg-config"