git: bc8813201e0f - main - graphics/libmng: reinstate the accidentally-deleted old patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 19:54:44 UTC
The branch main has been updated by mi:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bc8813201e0f7c095a8d0152485424cf22336bf5
commit bc8813201e0f7c095a8d0152485424cf22336bf5
Author: Mikhail Teterin <mi@FreeBSD.org>
AuthorDate: 2024-01-08 19:54:30 +0000
Commit: Mikhail Teterin <mi@FreeBSD.org>
CommitDate: 2024-01-08 19:54:30 +0000
graphics/libmng: reinstate the accidentally-deleted old patch
PR: 276145, 276182
---
graphics/libmng/files/patch-conf | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/graphics/libmng/files/patch-conf b/graphics/libmng/files/patch-conf
new file mode 100644
index 000000000000..2413a8b8bbfd
--- /dev/null
+++ b/graphics/libmng/files/patch-conf
@@ -0,0 +1,19 @@
++++ 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 */
+