0875288c2e
system doesn't install a pngconf.h appropriate to the options passed to the build. So we have to put a PNG_NO_ASSEMBLER_CODE define into pngconf.h manually. This unbreaks (at least) ImageMagick on amd64. Some more information about this problem can be found here: http://sourceforge.net/mailarchive/forum.php?thread_id=10314069&forum_id=43850 Since we don't want to compile pentium specific code, remove -DPNG_USE_PNGGCCRD. Bump major lib version and PKGNAME. with help & ok steven@, naddy@
18 lines
544 B
Plaintext
18 lines
544 B
Plaintext
$OpenBSD: patch-pngconf_h,v 1.4 2006/05/13 13:52:48 bernd Exp $
|
|
--- pngconf.h.orig Sun Apr 23 20:45:34 2006
|
|
+++ pngconf.h Fri May 12 10:16:39 2006
|
|
@@ -720,6 +720,13 @@
|
|
# define PNG_EASY_ACCESS_SUPPORTED
|
|
#endif
|
|
|
|
+/*
|
|
+ * Disable assembler and MMX code on OpenBSD
|
|
+ */
|
|
+#ifndef PNG_NO_ASSEMBLER_CODE
|
|
+# define PNG_NO_ASSEMBLER_CODE
|
|
+#endif
|
|
+
|
|
/* PNG_ASSEMBLER_CODE was enabled by default in version 1.2.0
|
|
even when PNG_USE_PNGVCRD or PNG_USE_PNGGCCRD is not defined */
|
|
#if defined(PNG_READ_SUPPORTED) && !defined(PNG_NO_ASSEMBLER_CODE)
|