summaryrefslogtreecommitdiff
path: root/sysutils/xfsprogs/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfsprogs/patches/patch-an')
-rw-r--r--sysutils/xfsprogs/patches/patch-an16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/xfsprogs/patches/patch-an b/sysutils/xfsprogs/patches/patch-an
new file mode 100644
index 00000000000..75851da65b2
--- /dev/null
+++ b/sysutils/xfsprogs/patches/patch-an
@@ -0,0 +1,16 @@
+$NetBSD: patch-an,v 1.1 2007/03/18 08:38:14 rillig Exp $
+
+Don't create an endless loop when the configure script failed. Since
+bmake doesn't know about tail recursion, this is a slow fork bomb.
+
+--- Makefile.orig 2005-10-07 18:51:32.000000000 +0200
++++ Makefile 2007-03-18 09:36:06.000000000 +0100
+@@ -49,7 +49,7 @@ SUBDIRS = include libxfs libxlog libxcmd
+
+ default: $(CONFIGURE)
+ ifeq ($(HAVE_BUILDDEFS), no)
+- $(MAKE) -C . $@
++ exit 1
+ else
+ $(SUBDIRS_MAKERULE)
+ endif