pcp/0001-Fix-XEN-build.patch

22 lines
708 B
Diff

From 58127dca98f11270491383946d2714fd9d983d76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 12 Dec 2014 15:42:25 +0100
Subject: [PATCH 1/6] Fix XEN build
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
Index: pcp-3.10.4/configure.ac
===================================================================
--- pcp-3.10.4.orig/configure.ac
+++ pcp-3.10.4/configure.ac
@@ -1105,6 +1105,7 @@ NR == 1 { if ($1 != "UID" && $1 != "US
# Unix variants
$2 == 1 && / init/ { print "OK"; exit }
$2 == 1 && / \/etc\/init/ { print "OK"; exit }
+$2 == 1 && / \/bin\/bash/ { print "OK"; exit }
# Fedora 9
$2 == 1 && / \/sbin\/init/ { print "OK"; exit }
# Fedora 15