pkgsrc/x11/xservers/patches/patch-af
tron a742a47ae1 Update "xservers" package to version 3.3.6.5:
- Remove a redundant directory from the distribution file which reduces
  its size from 20MB to 15MB.
- Add patches to work arround build problems caused by questionable code
  defining macros named like standard C functions before including
  "stdlib.h". This fixes PR pkg/32453 by Dave J. Barnes.
2006-01-06 17:20:21 +00:00

13 lines
407 B
Text

$NetBSD: patch-af,v 1.1 2006/01/06 17:20:21 tron Exp $
--- programs/Xserver/include/misc.h.orig 1997-06-30 14:44:46.000000000 +0100
+++ programs/Xserver/include/misc.h 2006-01-06 17:01:51.000000000 +0000
@@ -78,6 +78,8 @@
extern unsigned long globalSerialNumber;
extern unsigned long serverGeneration;
+#include <stdlib.h>
+
#include <X11/Xosdefs.h>
#include <X11/Xfuncproto.h>
#include <X11/Xmd.h>