nanogui: patch for libpng-1.0.5


Previous by date: 9 Aug 2001 09:56:08 -0000 Re: [nanogui] New multibyte support patch available., 이상백
Next by date: 9 Aug 2001 09:56:08 -0000 [nannogui] fast updating of (background) images, Ib Jørgensen
Previous in thread:
Next in thread:

Subject: patch for libpng-1.0.5
From: ####@####.#### (塩谷晶 =?ISO-2022-JP?B?GyRCSScbKEI=?=)
Date: 9 Aug 2001 09:56:08 -0000
Message-Id: <200108090951.AA00772@mt-petegari.rd.ten.fujitsu.co.jp>

Hi,

I think, Microwindows 0.89pre7 is assumed to use libpng-1.0.6 or later.
But, RedHat 6.2 contains libpng-1.0.5 and png_jmpbuf() is unresolved.

Please, apply the following patch (by Hiroshi Takekawa ####@####.####
to src/engine/devimage.c

Regard

Akihiko Shiotani
(FUJUTSU-TEN Limited)


[shiotani@rd2at01 engine]$ diff -u devimage.c.org devimage.c
--- devimage.c.org      Thu Aug  9 16:18:59 2001
+++ devimage.c  Thu Aug  9 16:35:14 2001
@@ -651,6 +651,10 @@

 #if defined(HAVE_FILEIO) && defined(HAVE_PNG_SUPPORT)
 #include "png.h"
+/* png_jmpbuf() macro is not defined prior to libpng-1.0.6. */
+#ifndef png_jmpbuf
+#  define png_jmpbuf(png_ptr) ((png_ptr)->jmpbuf)
+#endif
 /*
  * Load a PNG file.
  * Currently for simplicity we get the PNG library to convert the file to
[shiotani@rd2at01 engine]$ 



Previous by date: 9 Aug 2001 09:56:08 -0000 Re: [nanogui] New multibyte support patch available., 이상백
Next by date: 9 Aug 2001 09:56:08 -0000 [nannogui] fast updating of (background) images, Ib Jørgensen
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.