freebsd-ports/graphics/libmng/files/patch-conf
Mikhail Teterin 18ba7f40e2 Update from 1.0.8 to 1.0.9.
Add an option to turn on vendor's experimental optimizations.
Be sure to turn on MNG_BUILD_SO only for PIC-objects.

Prompted by:	edwin's port-version check
2005-10-18 04:42:30 +00:00

19 lines
426 B
Text

+++ libmng_conf.h Tue Oct 18 00:23:11 2005
@@ -100,4 +100,8 @@
#endif
+#ifdef PIC
+# define MNG_BUILD_SO
+#endif
+
#ifndef MNG_SUPPORT_IJG6B
#if defined(MNG_BUILD_SO) || defined(MNG_USE_SO) || defined(MNG_BUILD_DLL) || defined(MNG_USE_DLL)
@@ -161,6 +165,6 @@
select MNG_APP_CMS */
-#define MNG_GAMMA_ONLY
-/* #define MNG_FULL_CMS */
+/* #define MNG_GAMMA_ONLY */
+#define MNG_FULL_CMS
/* #define MNG_APP_CMS */