pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/libwmf patch-af was an extended version of pa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/816940e40c6e
branches: trunk
changeset: 533556:816940e40c6e
user: abs <abs%pkgsrc.org@localhost>
date: Fri Sep 21 12:00:11 2007 +0000
description:
patch-af was an extended version of patch-ae, merge - now builds again
diffstat:
graphics/libwmf/distinfo | 5 ++---
graphics/libwmf/patches/patch-ae | 17 ++++++++++++-----
graphics/libwmf/patches/patch-af | 38 --------------------------------------
3 files changed, 14 insertions(+), 46 deletions(-)
diffs (95 lines):
diff -r c53c9139fc4f -r 816940e40c6e graphics/libwmf/distinfo
--- a/graphics/libwmf/distinfo Fri Sep 21 10:37:56 2007 +0000
+++ b/graphics/libwmf/distinfo Fri Sep 21 12:00:11 2007 +0000
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.16 2007/09/19 15:39:13 jlam Exp $
+$NetBSD: distinfo,v 1.17 2007/09/21 12:00:11 abs 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) = 980c70e981209cfb5da85bd28accd81c35ed1c52
-SHA1 (patch-af) = f5cbb60757261aaf6084e9fcf16f9074b3013538
+SHA1 (patch-ae) = f5cbb60757261aaf6084e9fcf16f9074b3013538
diff -r c53c9139fc4f -r 816940e40c6e graphics/libwmf/patches/patch-ae
--- a/graphics/libwmf/patches/patch-ae Fri Sep 21 10:37:56 2007 +0000
+++ b/graphics/libwmf/patches/patch-ae Fri Sep 21 12:00:11 2007 +0000
@@ -1,8 +1,9 @@
-$NetBSD: patch-ae,v 1.2 2006/10/10 00:22:28 dmcmahill Exp $
+$NetBSD: patch-ae,v 1.3 2007/09/21 12:00:11 abs Exp $
---- 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 @@
+--- src/player.c.orig Tue Dec 10 19:30:26 2002
++++ src/player.c
+@@ -43,6 +43,16 @@
+ #include "player/record.h" /* Provides: parameter mechanism */
#include "player/meta.h" /* Provides: record interpreters */
+#ifdef HAVE_STDINT_H
@@ -11,10 +12,15 @@
+#ifndef UINT32_MAX
+#include <limits.h>
+#endif
++#ifndef UINT32_MAX
++#define UINT32_MAX UINT_MAX
++#endif
+
/**
* @internal
-@@ -133,6 +140,12 @@
+ */
+@@ -132,8 +142,14 @@ wmf_error_t wmf_scan (wmfAPI* API,unsign
+ }
}
-/* P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API)-3) * 2 * sizeof (unsigned char));
@@ -29,3 +35,4 @@
+ P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API) ) * 2 * sizeof (unsigned char));
if (ERR (API))
+ { WMF_DEBUG (API,"bailing...");
diff -r c53c9139fc4f -r 816940e40c6e graphics/libwmf/patches/patch-af
--- a/graphics/libwmf/patches/patch-af Fri Sep 21 10:37:56 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-$NetBSD: patch-af,v 1.1 2007/09/19 15:39:13 jlam Exp $
-
---- src/player.c.orig Tue Dec 10 19:30:26 2002
-+++ src/player.c
-@@ -43,6 +43,16 @@
- #include "player/record.h" /* Provides: parameter mechanism */
- #include "player/meta.h" /* Provides: record interpreters */
-
-+#ifdef HAVE_STDINT_H
-+#include <stdint.h>
-+#endif
-+#ifndef UINT32_MAX
-+#include <limits.h>
-+#endif
-+#ifndef UINT32_MAX
-+#define UINT32_MAX UINT_MAX
-+#endif
-+
- /**
- * @internal
- */
-@@ -132,8 +142,14 @@ wmf_error_t wmf_scan (wmfAPI* API,unsign
- }
- }
-
--/* P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API)-3) * 2 * sizeof (unsigned char));
-- */ P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API) ) * 2 * sizeof (unsigned char));
-+ if (MAX_REC_SIZE(API) > UINT32_MAX/ 2)
-+ {
-+ API->err = wmf_E_InsMem;
-+ WMF_DEBUG (API,"bailing...");
-+ return (API->err);
-+ }
-+
-+ P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API) ) * 2 * sizeof (unsigned char));
-
- if (ERR (API))
- { WMF_DEBUG (API,"bailing...");
Home |
Main Index |
Thread Index |
Old Index