This is the mail archive of the cygwin-apps@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libpng patch


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]