Nagy Karoly Gabriel
17 years ago
2 changed files with 2 additions and 42 deletions
@ -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…
Reference in new issue