Source: prima
Followup-For: Bug #650575

The patch applied on the NMU was incomplete, the missing part is attached.

tobi

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- /prima-1.28/img/codec_png.c_    2015-12-18 18:04:20.516665190 +0000
+++ /prima-1.28/img/codec_png.c     2015-12-18 18:06:13.104693242 +0000
@@ -289,19 +289,19 @@
 static void
 img_png_read (png_structp png_ptr, png_bytep data, png_size_t size)
 {
-   req_read( (( PImgLoadFileInstance) png_ptr-> io_ptr)-> req, size, data);
+   req_read( (( PImgLoadFileInstance) png_get_io_ptr(png_ptr))-> req, size, data);
 }
 
 static void
 img_png_write (png_structp png_ptr, png_bytep data, png_size_t size)
 {
-   req_write( (( PImgLoadFileInstance) png_ptr-> io_ptr)-> req, size, data);
+   req_write( (( PImgLoadFileInstance) png_get_io_ptr(png_ptr))-> req, size, data);
 }
 
 static void
 img_png_flush (png_structp png_ptr)
 {
-   req_flush( (( PImgLoadFileInstance) png_ptr-> io_ptr)-> req);
+   req_flush( (( PImgLoadFileInstance) png_get_io_ptr(png_ptr))-> req);
 }
 
 static void * 

Reply via email to