openbsd-ports/x11/mrxvt/patches/patch-src_rxvt_h

26 lines
646 B
Plaintext

$OpenBSD: patch-src_rxvt_h,v 1.2 2016/12/29 23:16:30 jca Exp $
--- src/rxvt.h.orig Mon Aug 4 09:41:35 2008
+++ src/rxvt.h Fri Dec 30 00:06:36 2016
@@ -335,11 +335,7 @@ typedef char* XPointer;
# include <jpeglib.h>
# endif
# ifdef USE_PNG
-# ifdef OS_OPENBSD
-# include <libpng/png.h>
-# else
-# include <png.h>
-# endif /* OS_OPENBSD */
+# include <png.h>
# endif /* USE_PNG */
#endif
@@ -485,7 +481,7 @@ typedef char* XPointer;
* turn is unsafe without checking. Untainted defines the type of data that is
* safe.
*/
-#ifdef __GNUC__
+#if 0
# define $tainted
# define $untainted
# define TAINTED $tainted