pkgsrc/x11/p5-Tk/patches/patch-ae
joerg 1143f591e9 Fix errno and linkage on DragonFly. Fix dependency detection problem
on DragonFly, it needs to pickup png.h correctly.
2005-12-12 18:04:47 +00:00

18 lines
441 B
Text

$NetBSD: patch-ae,v 1.1 2005/12/12 18:04:47 joerg Exp $
--- pTk/mTk/unix/tkUnixPort.h.orig 2005-12-12 15:53:24.000000000 +0000
+++ pTk/mTk/unix/tkUnixPort.h
@@ -134,13 +134,6 @@
#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
/*
- * Not all systems declare the errno variable in errno.h. so this
- * file does it explicitly.
- */
-
-extern int errno;
-
-/*
* Define "NBBY" (number of bits per byte) if it's not already defined.
*/