diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2006-10-10 00:22:28 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2006-10-10 00:22:28 +0000 |
commit | 9b5e93934980fd738eeb37e63ce062dabc3bbb53 (patch) | |
tree | 20ce83b418ab97b6c5b3deed119b835c3697cc02 /graphics/libwmf | |
parent | ee854c07c56cf755dc1c6d0e075966cae2562900 (diff) | |
download | pkgsrc-9b5e93934980fd738eeb37e63ce062dabc3bbb53.tar.gz |
repair compilation on solaris (don't include stdint.h if it doesn't
exist)
Diffstat (limited to 'graphics/libwmf')
-rw-r--r-- | graphics/libwmf/distinfo | 4 | ||||
-rw-r--r-- | graphics/libwmf/patches/patch-ae | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/graphics/libwmf/distinfo b/graphics/libwmf/distinfo index 6256186c176..b0c855fa4e2 100644 --- a/graphics/libwmf/distinfo +++ b/graphics/libwmf/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.14 2006/08/20 21:38:45 salo Exp $ +$NetBSD: distinfo,v 1.15 2006/10/10 00:22:28 dmcmahill Exp $ SHA1 (libwmf-0.2.8.4.tar.gz) = 822ab3bd0f5e8f39ad732f2774a8e9f18fc91e89 RMD160 (libwmf-0.2.8.4.tar.gz) = 98cd631adb5bb332d9224d04bc8a265c105435f2 Size (libwmf-0.2.8.4.tar.gz) = 2169375 bytes SHA1 (patch-ad) = b74be16c5da490394b86403009f5f35d80ba4bfa -SHA1 (patch-ae) = 644684733090c26250a1ce0e2c5a6c978bd54b74 +SHA1 (patch-ae) = 980c70e981209cfb5da85bd28accd81c35ed1c52 diff --git a/graphics/libwmf/patches/patch-ae b/graphics/libwmf/patches/patch-ae index 11c39521681..b63c2c3285c 100644 --- a/graphics/libwmf/patches/patch-ae +++ b/graphics/libwmf/patches/patch-ae @@ -1,19 +1,20 @@ -$NetBSD: patch-ae,v 1.1 2006/08/20 21:38:45 salo Exp $ +$NetBSD: patch-ae,v 1.2 2006/10/10 00:22:28 dmcmahill Exp $ -Security fix for CVE-2006-3376, from Red Hat. - ---- src/player.c.orig 2002-12-10 20:30:26.000000000 +0100 -+++ src/player.c 2006-08-20 23:29:44.000000000 +0200 -@@ -42,6 +42,7 @@ - #include "player/defaults.h" /* Provides: default settings */ - #include "player/record.h" /* Provides: parameter mechanism */ +--- src/player.c.orig 2002-12-10 14:30:26.000000000 -0500 ++++ src/player.c 2006-10-09 13:31:30.464278000 -0400 +@@ -44,4 +44,11 @@ #include "player/meta.h" /* Provides: record interpreters */ -+#include <stdint.h> ++#ifdef HAVE_STDINT_H ++#include <stdint.h> ++#endif ++#ifndef UINT32_MAX ++#include <limits.h> ++#endif ++ /** * @internal -@@ -132,8 +133,14 @@ - } +@@ -133,6 +140,12 @@ } -/* P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API)-3) * 2 * sizeof (unsigned char)); @@ -28,4 +29,3 @@ Security fix for CVE-2006-3376, from Red Hat. + P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API) ) * 2 * sizeof (unsigned char)); if (ERR (API)) - { WMF_DEBUG (API,"bailing..."); |