Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <01e101c00ee1$ccd49c10$f7c723cb@lifelesswks> From: "Robert Collins" To: Subject: libpng patch Date: Sat, 26 Aug 2000 08:14:10 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-OriginalArrivalTime: 25 Aug 2000 22:05:06.0437 (UTC) FILETIME=[86DB8350:01C00EE0] 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"