update to LibRaw-0.17.1

This commit is contained in:
sthen 2016-02-29 23:50:13 +00:00
parent 26a19f8d91
commit b1f35674bf
5 changed files with 18 additions and 41 deletions

View File

@ -1,18 +1,17 @@
# $OpenBSD: Makefile,v 1.16 2016/02/21 16:17:25 jsg Exp $
# $OpenBSD: Makefile,v 1.17 2016/02/29 23:50:13 sthen Exp $
COMMENT = library for reading RAW files
BROKEN-arm = undefined reference to __sync_fetch_and_add_4
BROKEN-hppa = undefined reference to __sync_fetch_and_add_4
BROKEN-sparc = undefined reference to __sync_fetch_and_add_4
V = 0.16.0
V = 0.17.1
DISTNAME = LibRaw-${V}
PKGNAME = ${DISTNAME:L}
CATEGORIES = graphics
REVISION = 1
SHARED_LIBS += raw 0.0 # 10.0
SHARED_LIBS += raw_r 0.0 # 10.0
SHARED_LIBS += raw 1.0 # 15.0
SHARED_LIBS += raw_r 1.0 # 15.0
HOMEPAGE = http://www.libraw.org/

View File

@ -1,2 +1,2 @@
SHA256 (LibRaw-0.16.0.tar.gz) = cfQ4cewlNTRcXJt0jweBPkmRUXD5UQtyGivmR4Qmz5Y=
SIZE (LibRaw-0.16.0.tar.gz) = 1472935
SHA256 (LibRaw-0.17.1.tar.gz) = 5ZllGkzDfgDPwtK1a+h8Ok5Nriw2C2gP6as/k9B83qE=
SIZE (LibRaw-0.17.1.tar.gz) = 1472341

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-dcraw_dcraw_c,v 1.1 2015/05/31 06:45:29 kirby Exp $
fix CVE-2015-3885
Upstream commit 7f5615e7355fab256e22fb7db0b739850d17a0b1
--- dcraw/dcraw.c.orig Fri Jan 17 01:27:55 2014
+++ dcraw/dcraw.c Tue May 26 13:09:53 2015
@@ -768,7 +768,8 @@ struct jhead {
int CLASS ljpeg_start (struct jhead *jh, int info_only)
{
- int c, tag, len;
+ int c, tag;
+ ushort len;
uchar data[0x10000];
const uchar *dp;

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-internal_dcraw_common_cpp,v 1.1 2015/05/31 06:45:29 kirby Exp $
fix CVE-2015-3885
Upstream commit 7f5615e7355fab256e22fb7db0b739850d17a0b1
--- internal/dcraw_common.cpp.orig Fri Jan 17 17:43:14 2014
+++ internal/dcraw_common.cpp Tue May 26 13:09:53 2015
@@ -567,7 +567,8 @@ void CLASS canon_load_raw()
int CLASS ljpeg_start (struct jhead *jh, int info_only)
{
- int c, tag, len;
+ int c, tag;
+ ushort len;
uchar data[0x10000];
const uchar *dp;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-internal_libraw_x3f_cpp,v 1.1 2016/02/29 23:50:13 sthen Exp $
remove unicode BOM
--- internal/libraw_x3f.cpp.orig Tue Jan 26 22:00:57 2016
+++ internal/libraw_x3f.cpp Tue Jan 26 22:01:05 2016
@@ -1,4 +1,4 @@
-/* Library for accessing X3F Files
+/*
----------------------------------------------------------------
BSD-style License
----------------------------------------------------------------