aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/torque/files/torque-2.0.0_p5-makedepend.patch')
-rw-r--r--sys-cluster/torque/files/torque-2.0.0_p5-makedepend.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-cluster/torque/files/torque-2.0.0_p5-makedepend.patch b/sys-cluster/torque/files/torque-2.0.0_p5-makedepend.patch
new file mode 100644
index 000000000..7e707c0c8
--- /dev/null
+++ b/sys-cluster/torque/files/torque-2.0.0_p5-makedepend.patch
@@ -0,0 +1,17 @@
+--- torque-2.0.0p5/buildutils/makedepend-sh.old 2005-12-15 21:14:28.000000000 -0500
++++ torque-2.0.0p5/buildutils/makedepend-sh 2006-01-23 12:39:36.000000000 -0500
+@@ -572,11 +572,11 @@
+ #
+ test -n "$mksrcs" && echo $d/$s >> $SRCS
+ test "$verbose" -lt 2 && errout='2> /dev/null'
+-
++
+ eval $CPP $arg_cc $d/$s $errout | \
+ sed -n -e "s;^\# [0-9][0-9 ]*\"\(.*\)\";$f: \1;p" | \
+- grep -v "//\$" | \
+- grep -v "$s\$" | grep -v command | grep -v built-in | \
++ grep -v "$s\$" | \
++ grep -v ">$" | \
+ sed -e 's;\([^ :]*: [^ ]*\).*;\1;' \
+ >> $TMP
+ ;;