--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/util/makedepend/MAXFILES.patch Mon May 24 14:21:21 2010 -0700
@@ -0,0 +1,36 @@
+###############################################################################
+#
+# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice (including the next
+# paragraph) shall be included in all copies or substantial portions of the
+# Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+#
+#
+
+--- def.orig Fri May 21 17:08:56 2010
++++ def.h Fri May 21 17:09:11 2010
+@@ -50,7 +50,7 @@
+ #include <sys/stat.h>
+
+ #define MAXDEFINES 512
+-#define MAXFILES 1024
++#define MAXFILES 2048
+ #define MAXINCFILES 128 /* "-include" files */
+ #define MAXDIRS 64
+ #define SYMTABINC 10 /* must be > 1 for define() to work right */
--- a/open-src/util/makedepend/Makefile Sat May 22 14:21:01 2010 -0700
+++ b/open-src/util/makedepend/Makefile Mon May 24 14:21:21 2010 -0700
@@ -34,7 +34,7 @@
TARBALL_SHA1 = 57e092856580d9984e47c4b1433b69391de07df3
# Patches to apply to source after unpacking, in order
-SOURCE_PATCHES=
+SOURCE_PATCHES= MAXFILES.patch
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=*.man