Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.39 2013/01/26 21:37:54 adam Exp $
# $NetBSD: Makefile,v 1.40 2013/08/07 16:46:23 drochner Exp $
DISTNAME= lcms-1.19
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lcms/}

View File

@@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.24 2010/06/16 15:17:58 drochner Exp $
$NetBSD: distinfo,v 1.25 2013/08/07 16:46:23 drochner Exp $
SHA1 (lcms-1.19.tar.gz) = d5b075ccffc0068015f74f78e4bc39138bcfe2d4
RMD160 (lcms-1.19.tar.gz) = 530615c061dccdcb64d75c6fab148dd565bb6c91
Size (lcms-1.19.tar.gz) = 927752 bytes
SHA1 (patch-aa) = 3144d0b902ad77cfaed8b02e96f6f6f18644bc07
SHA1 (patch-ab) = 6238598248d0321fe40bc09919ad8fbe5cdb887d

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-aa,v 1.13 2013/08/07 16:46:23 drochner Exp $
buffer overflows
--- samples/icctrans.c.orig 2009-10-30 15:57:45.000000000 +0000
+++ samples/icctrans.c
@@ -500,7 +500,7 @@ void PrintRange(const char* C, double v,
Prefix[0] = 0;
if (!lTerse)
- sprintf(Prefix, "%s=", C);
+ snprintf(Prefix, sizeof(Prefix), "%s=", C);
if (InHexa)
{
@@ -648,7 +648,7 @@ void PrintResults(WORD Encoded[], icColo
static
void GetLine(char* Buffer)
{
- scanf("%s", Buffer);
+ scanf("%4095s", Buffer);
if (toupper(Buffer[0]) == 'Q') { // Quit?

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.12 2013/08/07 16:46:23 drochner Exp $
buffer overflow
--- tifficc/tiffdiff.c.orig 2009-10-30 15:57:46.000000000 +0000
+++ tifficc/tiffdiff.c
@@ -633,7 +633,7 @@ void CreateCGATS(const char* TiffName1,
cmsIT8SetSheetType(hIT8, "TIFFDIFF");
- sprintf(Buffer, "Differences between %s and %s", TiffName1, TiffName2);
+ snprintf(Buffer, sizeof(Buffer), "Differences between %s and %s", TiffName1, TiffName2);
cmsIT8SetComment(hIT8, Buffer);