pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52367: graphics/png doesn't compile on ARM



The following reply was made to PR pkg/52367; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: john%ziaspace.com@localhost
Subject: Re: pkg/52367: graphics/png doesn't compile on ARM
Date: Wed, 5 Jul 2017 01:56:48 +0000

 I believe this is the proper way to ifdef it out, but is it sufficient
 to make this one change?
 
 Index: distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/graphics/png/distinfo,v
 retrieving revision 1.135
 diff -u -r1.135 distinfo
 --- distinfo	3 Jul 2017 11:07:00 -0000	1.135
 +++ distinfo	5 Jul 2017 01:55:10 -0000
 @@ -4,3 +4,4 @@
  RMD160 (libpng-1.6.30.tar.xz) = 581e0d22c4ec839d05d895646dfeb45f214f6722
  SHA512 (libpng-1.6.30.tar.xz) = 8c58f0f8523d7c7e8e641134c9a0e7fb6b60cddd6b4689afaafde0c99cff74652c6fb800a45149910aa2d8f06695ba4774f6a4d64810f2419a714d4188d72f82
  Size (libpng-1.6.30.tar.xz) = 988608 bytes
 +SHA1 (patch-pngpriv.h) = 1f47f0098b00eea6225a81a06d146274a163dfa0
 cvs diff: Diffing patches
 Index: patches/patch-pngpriv.h
 ===================================================================
 RCS file: patches/patch-pngpriv.h
 diff -N patches/patch-pngpriv.h
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ patches/patch-pngpriv.h	5 Jul 2017 01:55:10 -0000
 @@ -0,0 +1,13 @@
 +$NetBSD$
 +
 +--- pngpriv.h.orig	2017-06-28 18:46:03.000000000 +0000
 ++++ pngpriv.h
 +@@ -464,7 +464,7 @@
 +    static_cast<type>(static_cast<void*>(value))
 + #  define png_aligncastconst(type, value) \
 +    static_cast<type>(static_cast<const void*>(value))
 +-#else
 ++#elif !defined(__ASSEMBLER__)
 + #  define png_voidcast(type, value) (value)
 + #  ifdef _WIN64
 + #     ifdef __GNUC__
 


Home | Main Index | Thread Index | Old Index