diff options
author | skrll <skrll> | 2001-04-04 16:27:55 +0000 |
---|---|---|
committer | skrll <skrll> | 2001-04-04 16:27:55 +0000 |
commit | cb95b74b213e30b264f1f7d786c070f72d520ca7 (patch) | |
tree | d51286e18e06837c1515dea03ce691a784a7a284 | |
parent | 62c34e051fd9f487b74cc3578f41e5a447751348 (diff) | |
download | pkgsrc-cb95b74b213e30b264f1f7d786c070f72d520ca7.tar.gz |
Fix build problem on newer versions of NetBSD.
-rw-r--r-- | devel/libg++/patches/patch-ac | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/libg++/patches/patch-ac b/devel/libg++/patches/patch-ac index 8a66e82c11b..c41d52b6061 100644 --- a/devel/libg++/patches/patch-ac +++ b/devel/libg++/patches/patch-ac @@ -1,13 +1,17 @@ -$NetBSD: patch-ac,v 1.1 2001/04/04 16:26:12 skrll Exp $ +$NetBSD: patch-ac,v 1.2 2001/04/04 16:27:55 skrll Exp $ --- libg++/src/timer.c.orig Sat Jun 24 17:45:41 1995 +++ libg++/src/timer.c -@@ -29,7 +29,7 @@ +@@ -29,10 +29,10 @@ #if 1 -#include <_G_config.h> +#include <g++/_G_config.h> #include <sys/types.h> - #if _G_HAVE_SYS_RESOURCE +-#if _G_HAVE_SYS_RESOURCE #include <sys/time.h> ++#if _G_HAVE_SYS_RESOURCE + #include <sys/resource.h> + #endif + #if !_G_HAVE_SYS_RESOURCE || !defined(RUSAGE_SELF) |