pkgsrc/parallel/dqs/patches/patch-ab
joerg 075f6d5d1d Use config.* from pkgrsc.
Add DragonFly support.
Fix errno usage.
Force traditional cpp for Makefile generation.
2006-06-04 12:57:11 +00:00

14 lines
644 B
Text

$NetBSD: patch-ab,v 1.2 2006/06/04 12:57:11 joerg Exp $
--- SRC/globals.h.orig 2000-12-12 07:24:12.000000000 +0000
+++ SRC/globals.h
@@ -245,8 +245,7 @@ static char globals_rcsid[]="$Id: global
*
*--------------------------------------------------*/
-extern int errno;
-#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2)
+#if !(defined(__linux__) && defined (__GLIBC__) && __GLIBC__ >=2) && !(defined(__FreeBSD__) & defined(__GNUC__) && __GNUC__ >=2) && !defined(__NetBSD__) && !defined(__DragonFly__)
extern char *sys_errlist[];
#endif
#ifdef MAINPROGRAM