summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-06-21 14:35:52 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-06-21 14:35:52 +0000
commitf8171a888f0194305aa332ab330da4f5b7beeaf9 (patch)
tree1d58c17c12142890a03f06fb4af4e040c791384a /dev-util/plan9port/files
parentfix for bug 474018 Possibility of arbitrary code execution when processing un... (diff)
downloadgentoo-2-f8171a888f0194305aa332ab330da4f5b7beeaf9.tar.gz
gentoo-2-f8171a888f0194305aa332ab330da4f5b7beeaf9.tar.bz2
gentoo-2-f8171a888f0194305aa332ab330da4f5b7beeaf9.zip
Optionally depend on X, fix build system, bug #463616
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'dev-util/plan9port/files')
-rw-r--r--dev-util/plan9port/files/plan9port-builderr.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-util/plan9port/files/plan9port-builderr.patch b/dev-util/plan9port/files/plan9port-builderr.patch
new file mode 100644
index 000000000000..266f10c4b9d5
--- /dev/null
+++ b/dev-util/plan9port/files/plan9port-builderr.patch
@@ -0,0 +1,29 @@
+Prevent mk from ignoring errors
+
+By default, the plan9port INSTALL script doesn't report build error,
+which can result in a mostly broken build begin installed.
+--- a/INSTALL
++++ b/INSTALL
+@@ -41,7 +41,6 @@ echo " "
+ echo "* Resetting $PLAN9/config"
+ rm -f config
+
+-(
+ echo "* Compiler version:"
+ 9c -v 2>&1 | grep -v 'Configured with:' | grep -i version | sed 's/^/ /'
+
+@@ -134,7 +133,7 @@ if $dobuild; then
+ echo "* Warning: not all binaries built successfully."
+ fi
+ echo "* Installing everything in $PLAN9/bin..."
+- mk -k install || exit 1
++ mk install || exit 1
+ if [ ! -x $PLAN9/bin/cleanname -o ! -x $PLAN9/bin/acme -o ! -x $PLAN9/bin/sam ]; then
+ echo " "
+ echo "* Warning: not all binaries built successfully."
+@@ -182,5 +181,4 @@ if $doinstall; then
+ echo " PLAN9=$PLAN9 export PLAN9"
+ echo ' PATH=$PATH:$PLAN9/bin export PATH'
+ fi
+-) 2>&1 | tee install.log | $awk -f $PLAN9/dist/isum.awk -v 'copy='install.sum
+