pkgsrc/security/tor-browser/patches/patch-media_libpng_pngpriv.h
ryoon 7eeedaa1b3 Update to 6.0.8
* Use OpenBSD Ports distfile
* Profile directory has changed to $HOME/TorBrowser-Data
* Besed on Firefox 45.6.0
2017-01-22 12:27:21 +00:00

12 lines
415 B
C

$NetBSD: patch-media_libpng_pngpriv.h,v 1.2 2017/01/22 12:27:22 ryoon Exp $
--- media/libpng/pngpriv.h.orig 2014-02-12 21:29:13.000000000 +0000
+++ media/libpng/pngpriv.h
@@ -38,6 +38,7 @@
* still required (as of 2011-05-02.)
*/
#define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
+#define _XOPEN_SOURCE 600
#ifndef PNG_VERSION_INFO_ONLY
/* Standard library headers not required by png.h: */