delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/08/25/18:06:05

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <01e101c00ee1$ccd49c10$f7c723cb@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin-apps AT sources DOT redhat DOT com>
Subject: libpng patch
Date: Sat, 26 Aug 2000 08:14:10 +1000
MIME-Version: 1.0
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"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019