Browse Source

updated graphicsmagick (1.1.7 -> 1.1.8)

removed not needed libpng.patch
early
Nagy Karoly Gabriel 17 years ago
parent
commit
9fcff2fcfb
  1. 4
      graphic/graphicsmagick/graphicsmagick.desc
  2. 40
      graphic/graphicsmagick/libpng.patch

4
graphic/graphicsmagick/graphicsmagick.desc

@ -35,7 +35,7 @@
[L] OpenSource
[S] Stable
[V] 1.1.7
[V] 1.1.8
[P] X -----5-7-9 133.900
[D] 3394652062 GraphicsMagick-1.1.7.tar.bz2 http://dl.sourceforge.net/graphicsmagick/
[D] 2889362698 GraphicsMagick-1.1.8.tar.bz2 http://dl.sourceforge.net/graphicsmagick/

40
graphic/graphicsmagick/libpng.patch

@ -1,40 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../graphicsmagick/libpng.patch
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
## http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphicsmagick/files/graphicsmagick-libpng.patch
## This patch is provided by Gentoo
--- ./coders/png.c.orig 2004-11-11 01:14:54.000000000 +0200
+++ ./coders/png.c 2006-11-27 15:00:32.000000000 +0200
@@ -1709,7 +1709,7 @@
#if defined(PNG_USE_PNGGCCRD) && defined(PNG_ASSEMBLER_CODE_SUPPORTED) \
&& (PNG_LIBPNG_VER >= 10200)
/* Disable thread-unsafe features of pnggccrd */
- if (png_access_version() >= 10200)
+ if (png_access_version_number() >= 10200)
{
png_uint_32 mmx_disable_mask=0;
png_uint_32 asm_flags;
@@ -1718,8 +1718,8 @@
| PNG_ASM_FLAG_MMX_READ_FILTER_SUB \
| PNG_ASM_FLAG_MMX_READ_FILTER_AVG \
| PNG_ASM_FLAG_MMX_READ_FILTER_PAETH );
- asm_flags=png_get_asm_flags(png_ptr);
- png_set_asm_flags(png_ptr, asm_flags & ~mmx_disable_mask);
+ asm_flags=png_get_asm_flags(ping);
+ png_set_asm_flags(ping, asm_flags & ~mmx_disable_mask);
}
#endif
Loading…
Cancel
Save