From 0e9d1e1a9201763aab512f4ace43b16259b5d3c5 Mon Sep 17 00:00:00 2001
From: Christoph Berg <christoph.berg@credativ.de>
Date: Thu, 27 Feb 2020 13:34:44 +0100
Subject: [PATCH] New upstream version 1.8.2

---
 Makefile  | 3 +--
 README.md | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index c3f015b..4cb0c1a 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,7 @@ CPPFLAGS = $(CPPFLAGS) -D$(Q3CVERSION)
 
 PGXS := $(shell $(PG_CONFIG) --pgxs)
 include $(PGXS)
-PGVER := $(shell echo $(VERSION) | sed "s/^\([^\.]\+\)\..*/\1/" )
-PGVERNEW := $(shell if [ $(PGVER) -ge 12 ] ; then echo N ; else echo O ; fi )
+PGVERNEW := $(shell if [ $(MAJORVERSION) -ge 12 ] ; then echo N ; else echo O ; fi )
 
 ifeq ($(PGVERNEW), N)
 	PG_LIBS += -L$(shell $(PG_CONFIG) --pkglibdir)
diff --git a/README.md b/README.md
index ed92191..d96b551 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,6 @@ Copyright (c) 2004-2019 Sergey Koposov
 
 Email: skoposov _AT_ cmu _DOT_ edu
 
-Idea and implementation by Sergey Koposov with help from Oleg Bartunov.
-
 Fresh versions of the software could be obtained here: https://github.com/segasai/q3c 
 
 To read more about the Q3C indexing, you can check out the paper published in ADASS conference proceedings 
-- 
GitLab