From 52b443b63abba090d5d7c3b301804fec1802995a Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 18 Mar 2007 08:38:13 +0000 Subject: Fixed a fork bomb on IRIX, where for some reason msgfmt is not detected. --- sysutils/xfsprogs/distinfo | 3 ++- sysutils/xfsprogs/patches/patch-an | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 sysutils/xfsprogs/patches/patch-an (limited to 'sysutils/xfsprogs') diff --git a/sysutils/xfsprogs/distinfo b/sysutils/xfsprogs/distinfo index 3fbca6e3abe..9afa250e592 100644 --- a/sysutils/xfsprogs/distinfo +++ b/sysutils/xfsprogs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2006/01/09 17:36:54 wiz Exp $ +$NetBSD: distinfo,v 1.3 2007/03/18 08:38:13 rillig Exp $ SHA1 (xfsprogs-2.7.3.src.tar.gz) = abfe3ea13475810a0ef854f48b9ca9912ee7fbc5 RMD160 (xfsprogs-2.7.3.src.tar.gz) = 7a4f6b0d5da640041334cef4b4aa2e60ba43af53 @@ -16,3 +16,4 @@ SHA1 (patch-aj) = 2d7e3e05bff6951a22b2df13193db758a509a732 SHA1 (patch-ak) = d6f9027a339fe3607003b4fe34062936868f47da SHA1 (patch-al) = 832d5d90b9314f5aea312908df16ff3c74449d00 SHA1 (patch-am) = 3d705bee711c5636c9ea73142560d1ff8530a48d +SHA1 (patch-an) = a4a2b5fcbbcbcc4b49b75d7d3114da8ebd1f0377 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 -- cgit v1.2.3