ports/devel/electron13/files/patch-third__party_libpng_pnglibconf.h

14 lines
430 B
C

--- third_party/libpng/pnglibconf.h.orig 2021-01-07 00:37:22 UTC
+++ third_party/libpng/pnglibconf.h
@@ -230,8 +230,11 @@
* This is necessary to build multiple copies of libpng. We need this while pdfium builds
* its own copy of libpng.
*/
+/* Need to disable prefixing to unbundle chromium's libpng. */
+#if 0
#define PNG_PREFIX
#include "pngprefix.h"
+#endif
/* end of chromium prefixing */
#endif /* PNGLCONF_H */