Package: grok
Version: 1.20110708.1-4.1
Followup-For: Bug #869594
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Hello,

Please find attached a fix for this build failure, which I have uploaded to
Ubuntu.

-- 
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 grok-1.20110708.1/debian/patches/gperf-version-comparison.patch 
grok-1.20110708.1/debian/patches/gperf-version-comparison.patch
--- grok-1.20110708.1/debian/patches/gperf-version-comparison.patch     
1969-12-31 16:00:00.000000000 -0800
+++ grok-1.20110708.1/debian/patches/gperf-version-comparison.patch     
2017-08-08 14:53:08.000000000 -0700
@@ -0,0 +1,18 @@
+Description: fix gperf version check in Makefile
+ If you need gperf >= 3.0.3, then actually look for >= 3.0.3.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/869594
+
+Index: grok-1.20110708.1/Makefile
+===================================================================
+--- grok-1.20110708.1.orig/Makefile
++++ grok-1.20110708.1/Makefile
+@@ -223,7 +223,7 @@
+       rpcgen -h $< -o $@
+ 
+ %.c: %.gperf
+-      @if $(GPERF) --version | head -1 | egrep -v '3\.[0-9]+\.[0-9]+' ; then \
++      @if $(GPERF) --version | head -1 | egrep -v '3\.(0\.[3-9]+|[1-9])' ; 
then \
+               echo "We require gperf version >= 3.0.3" ; \
+               exit 1; \
+       fi
diff -Nru grok-1.20110708.1/debian/patches/series 
grok-1.20110708.1/debian/patches/series
--- grok-1.20110708.1/debian/patches/series     2016-10-21 13:48:31.000000000 
-0700
+++ grok-1.20110708.1/debian/patches/series     2017-08-08 14:49:20.000000000 
-0700
@@ -4,3 +4,4 @@
 pcre-group-name.patch
 ld-as-needed.diff
 fix_wrong_pointer_alias.patch
+gperf-version-comparison.patch

Reply via email to