pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/png



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed Jul  5 04:59:16 UTC 2017

Modified Files:
        pkgsrc/graphics/png: distinfo
Added Files:
        pkgsrc/graphics/png/patches: patch-pngpriv.h

Log Message:
png: don't typedef things when included by assembler code.
the current change is somewhat overkill and excludes some extra function
declarations, but there's only one assembler file for which it applies and
it was tested to build.

Fixes compilation on ARM reported by John Klos in PR pkg/52367


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 pkgsrc/graphics/png/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/png/patches/patch-pngpriv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/png/distinfo
diff -u pkgsrc/graphics/png/distinfo:1.135 pkgsrc/graphics/png/distinfo:1.136
--- pkgsrc/graphics/png/distinfo:1.135  Mon Jul  3 11:07:00 2017
+++ pkgsrc/graphics/png/distinfo        Wed Jul  5 04:59:16 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.135 2017/07/03 11:07:00 wiz Exp $
+$NetBSD: distinfo,v 1.136 2017/07/05 04:59:16 maya Exp $
 
 SHA1 (libpng-1.6.30.tar.xz) = b6f8ac4d83116a87d8e10e15ec360dab8a898f5c
 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) = 3da29edb5d89ab26b9787a71b87c3fd8f451ea39

Added files:

Index: pkgsrc/graphics/png/patches/patch-pngpriv.h
diff -u /dev/null pkgsrc/graphics/png/patches/patch-pngpriv.h:1.1
--- /dev/null   Wed Jul  5 04:59:16 2017
+++ pkgsrc/graphics/png/patches/patch-pngpriv.h Wed Jul  5 04:59:16 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-pngpriv.h,v 1.1 2017/07/05 04:59:16 maya Exp $
+
+Don't typedef types when included by assembler files
+
+--- 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