libpng patch

Robert Collins robert.collins@itdomain.com.au
Fri Aug 25 15:05:00 GMT 2000


Chuck
    Don't know if this is really a good idea, but I did it to minimise the
changes in dependant apps...

as a general thought.. should we be making the ports as transparent as
possible? i.e. when there are dependancies doing alterations as below.. or
just document clearly and let the programmerse go research?

Rob

======
--- pngold.h    Sat Aug 26 08:06:32 2000
+++ png.h       Sat Aug 26 08:09:46 2000
@@ -274,6 +274,13 @@

 #ifndef PNG_VERSION_INFO_ONLY

+/* DLL/static link must match between zlib and libpng and the main project
*/
+#ifdef PNG_STATIC
+    #ifndef ZLIB_STATIC
+        #define ZLIB_STATIC
+    #endif
+#endif
+
 /* include the compression library's header */
 #include "zlib.h"



More information about the Cygwin-apps mailing list