pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/libgdiplus Added a patch that moves a variabl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c7ddc3d3441
branches: trunk
changeset: 497800:6c7ddc3d3441
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Aug 04 16:11:28 2005 +0000
description:
Added a patch that moves a variable declaration in above the code. This is
needed for ISO C90 compliance.
diffstat:
graphics/libgdiplus/distinfo | 3 ++-
graphics/libgdiplus/patches/patch-ad | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 69b23a17968c -r 6c7ddc3d3441 graphics/libgdiplus/distinfo
--- a/graphics/libgdiplus/distinfo Thu Aug 04 15:24:35 2005 +0000
+++ b/graphics/libgdiplus/distinfo Thu Aug 04 16:11:28 2005 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2005/07/31 19:23:00 recht Exp $
+$NetBSD: distinfo,v 1.12 2005/08/04 16:11:28 rillig Exp $
SHA1 (libgdiplus-1.1.8.tar.gz) = b606e7320713578e6e827aee567cda6ddab98c0d
RMD160 (libgdiplus-1.1.8.tar.gz) = ff5bd2a8213a0f256c6f3d5bef4b0347fb972b51
Size (libgdiplus-1.1.8.tar.gz) = 1353269 bytes
SHA1 (patch-aa) = 7f63e4367b5faef0bd18e1cffee2e56e11dc88b9
SHA1 (patch-ac) = d3f1e99c8a50f211ab6202ad812e9e4d847ccdab
+SHA1 (patch-ad) = f7b4d2530fa21bb8a971eb8e8e144e89b2debf91
diff -r 69b23a17968c -r 6c7ddc3d3441 graphics/libgdiplus/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libgdiplus/patches/patch-ad Thu Aug 04 16:11:28 2005 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.1 2005/08/04 16:11:28 rillig Exp $
+
+Needed for ISO C90 compliance.
+
+--- src/bitmap.c.orig Mon Jun 13 21:17:10 2005
++++ src/bitmap.c Thu Aug 4 18:05:51 2005
+@@ -284,6 +284,7 @@ GdipCreateBitmapFromScan0 (int width, in
+ int bytes_needed = header_size + palette_entries * sizeof(ARGB);
+
+ int i;
++ const unsigned int *default_palette;
+
+ result->image.palette = malloc (bytes_needed);
+
+@@ -292,8 +293,6 @@ GdipCreateBitmapFromScan0 (int width, in
+
+ result->image.palette->Flags = 0;
+ result->image.palette->Count = palette_entries;
+-
+- const unsigned int *default_palette;
+
+ switch (format)
+ {
Home |
Main Index |
Thread Index |
Old Index