[Pkg-libvirt-commits] [libguestfs] 01/266: RHEL 6: p2v: Add fix for older PCRE.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:41:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.
commit a791e081638025b64d1229d23d1181d96cc2a607
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Jul 11 10:38:53 2014 +0100
RHEL 6: p2v: Add fix for older PCRE.
RHEL 6 pcre did not define PCRE_PARTIAL_SOFT. However PCRE_PARTIAL is
a synonym so use that.
---
p2v/miniexpect.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/p2v/miniexpect.c b/p2v/miniexpect.c
index 9e9cc0e..ec81030 100644
--- a/p2v/miniexpect.c
+++ b/p2v/miniexpect.c
@@ -35,6 +35,13 @@
#include <pcre.h>
+/* RHEL 6 pcre did not define PCRE_PARTIAL_SOFT. However PCRE_PARTIAL
+ * is a synonym so use that.
+ */
+#ifndef PCRE_PARTIAL_SOFT
+#define PCRE_PARTIAL_SOFT PCRE_PARTIAL
+#endif
+
#include "miniexpect.h"
#define DEBUG 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list