Package: ocp Followup-For: Bug #853581 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu artful ubuntu-patch
Control: tags -1 patch Control: user ubuntu-de...@lists.ubuntu.com Control: usertags -1 ubuntu-patch artful origin-ubuntu Hello, Attached is a patch that fixes this build failure. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru ocp-0.1.21/debian/patches/gccver.diff ocp-0.1.21/debian/patches/gccver.diff --- ocp-0.1.21/debian/patches/gccver.diff 2016-12-18 13:49:58.000000000 -0800 +++ ocp-0.1.21/debian/patches/gccver.diff 2017-09-10 13:11:08.000000000 -0700 @@ -1,13 +1,13 @@ -Index: b/configure.ac +Index: ocp-0.1.21/configure.ac =================================================================== ---- a/configure.ac -+++ b/configure.ac -@@ -117,7 +117,7 @@ else +--- ocp-0.1.21.orig/configure.ac ++++ ocp-0.1.21/configure.ac +@@ -117,7 +117,7 @@ '') AC_MSG_ERROR([not found]); ;; - 2.95.[[2-9]]|2.95.[[2-9]][[-.]]*|3.[[0-9]]|3.[[0-9]].[[0-9]]|3.[[0-9]]|3.[[0-9]].[[0-9]]-*|4.*) -+ 2.95.[[2-9]]|2.95.[[2-9]][[-.]]*|3.[[0-9]]|3.[[0-9]].[[0-9]]|3.[[0-9]]|3.[[0-9]].[[0-9]]-*|[[4-9]].*) ++ 2.95.[[2-9]]|2.95.[[2-9]][[-.]]*|3.[[0-9]]|3.[[0-9]].[[0-9]]|3.[[0-9]]|3.[[0-9]].[[0-9]]-*|[[4-9]].*|[[4-9]]) _cc_major=`echo $cc_version | cut -d '.' -f 1` _cc_minor=`echo $cc_version | cut -d '.' -f 2` _cc_mini=`echo $cc_version | cut -d '.' -f 3`