public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/re2/files/
@ 2016-09-14 17:18 Mike Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert @ 2016-09-14 17:18 UTC (permalink / raw
  To: gentoo-commits

commit:     b5e162a25ad978e858eb518406b30433c2602e8f
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 17:17:47 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 17:18:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e162a2

dev-libs/re2: use pkgconfig patch from upstream

Package-Manager: portage-2.3.0_p24

 dev-libs/re2/files/0.2016.05.01-pkgconfig.patch | 58 +++++++++++++++----------
 1 file changed, 34 insertions(+), 24 deletions(-)

diff --git a/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch b/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch
index e4148a6..46ec7ca 100644
--- a/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch
+++ b/dev-libs/re2/files/0.2016.05.01-pkgconfig.patch
@@ -1,47 +1,57 @@
-From 7dc941862819398db2ac4ae4239c8ed05431f928 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Sun, 8 May 2016 11:54:00 -0400
-Subject: [PATCH] Substitute includedir and libdir in re2.pc
+From ac62674fa16b5a086f02dd208667ba65e22ec09d Mon Sep 17 00:00:00 2001
+From: Paul Wankadia <junyer@google.com>
+Date: Mon, 9 May 2016 14:42:37 +1000
+Subject: [PATCH] Plumb more variables from Makefile to re2.pc.
 
+Change-Id: I35509c273b0bd90242db127121c71be1f628c06f
+Reviewed-on: https://code-review.googlesource.com/4710
+Reviewed-by: Paul Wankadia <junyer@google.com>
 ---
- Makefile            | 5 ++++-
- re2.pc => re2.pc.in | 5 ++---
- 2 files changed, 6 insertions(+), 4 deletions(-)
- rename re2.pc => re2.pc.in (71%)
+ Makefile | 8 +++++---
+ re2.pc   | 6 +++---
+ 2 files changed, 8 insertions(+), 6 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index d0e2090..4a8d8a6 100644
+index d0e2090..411e551 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -273,7 +273,10 @@ install: obj/libre2.a obj/so/libre2.$(SOEXT)
+@@ -28,11 +28,9 @@ NMFLAGS?=-p
+ # http://www.gnu.org/prep/standards/standards.html
+ prefix=/usr/local
+ exec_prefix=$(prefix)
+-bindir=$(exec_prefix)/bin
+ includedir=$(prefix)/include
+ libdir=$(exec_prefix)/lib
+ INSTALL=install
+-INSTALL_PROGRAM=$(INSTALL)
+ INSTALL_DATA=$(INSTALL) -m 644
+ 
+ # ABI version
+@@ -273,7 +271,11 @@ install: obj/libre2.a obj/so/libre2.$(SOEXT)
  	$(INSTALL) obj/so/libre2.$(SOEXT) $(DESTDIR)$(libdir)/libre2.$(SOEXTVER00)
  	ln -sf libre2.$(SOEXTVER00) $(DESTDIR)$(libdir)/libre2.$(SOEXTVER)
  	ln -sf libre2.$(SOEXTVER00) $(DESTDIR)$(libdir)/libre2.$(SOEXT)
 -	sed -e "s#@prefix@#${prefix}#" re2.pc >$(DESTDIR)$(libdir)/pkgconfig/re2.pc
-+	sed -e "s#@prefix@#$(prefix)#" \
-+		-e "s#@includedir@#$(includedir)#" \
-+		-e "s#@libdir@#$(libdir)#" \
-+		re2.pc.in >$(DESTDIR)$(libdir)/pkgconfig/re2.pc
++	$(INSTALL_DATA) re2.pc $(DESTDIR)$(libdir)/pkgconfig/re2.pc
++	sed -i \
++	  -e "s#@prefix@#${prefix}#" -e "s#@exec_prefix@#${exec_prefix}#" \
++	  -e "s#@includedir@#${includedir}#" -e "s#@libdir@#${libdir}#" \
++	  $(DESTDIR)$(libdir)/pkgconfig/re2.pc
  
  testinstall: static-testinstall shared-testinstall
  	@echo
-diff --git a/re2.pc b/re2.pc.in
-similarity index 71%
-rename from re2.pc
-rename to re2.pc.in
-index 91ba181..a04a70a 100644
+diff --git a/re2.pc b/re2.pc
+index 91ba181..d66cf51 100644
 --- a/re2.pc
-+++ b/re2.pc.in
-@@ -1,7 +1,6 @@
++++ b/re2.pc
+@@ -1,7 +1,7 @@
  prefix=@prefix@
 -exec_prefix=${prefix}
 -includedir=${prefix}/include
 -libdir=${exec_prefix}/lib
++exec_prefix=@exec_prefix@
 +includedir=@includedir@
 +libdir=@libdir@
  
  Name: re2
  Description: RE2 is a fast, safe, thread-friendly regular expression engine.
--- 
-2.8.2
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/re2/files/
@ 2017-10-02 21:26 Mike Gilbert
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert @ 2017-10-02 21:26 UTC (permalink / raw
  To: gentoo-commits

commit:     659c75bb1e82bb73d21bf40182cb15abfb8ed02e
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Oct  1 17:33:13 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Oct  2 21:26:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659c75bb

dev-libs/re2: remove unused patches

 dev-libs/re2/files/re2-compile-r0.patch | 27 ---------------------------
 dev-libs/re2/files/re2-symbols-r0.patch | 10 ----------
 2 files changed, 37 deletions(-)

diff --git a/dev-libs/re2/files/re2-compile-r0.patch b/dev-libs/re2/files/re2-compile-r0.patch
deleted file mode 100644
index cf2c8c0d571..00000000000
--- a/dev-libs/re2/files/re2-compile-r0.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- util/mutex.h.orig	2013-09-22 13:24:25.126582479 -0500
-+++ util/mutex.h	2013-09-22 13:25:11.376179517 -0500
-@@ -10,6 +10,8 @@
- #ifndef RE2_UTIL_MUTEX_H_
- #define RE2_UTIL_MUTEX_H_
- 
-+#include <stdlib.h>
-+
- namespace re2 {
- 
- #define HAVE_PTHREAD 1
-@@ -102,7 +104,6 @@
- 
- #elif defined(HAVE_PTHREAD) && defined(HAVE_RWLOCK)
- 
--#include <stdlib.h>      // for abort()
- #define SAFE_PTHREAD(fncall)  do { if ((fncall) != 0) abort(); } while (0)
- 
- Mutex::Mutex()             { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL)); }
-@@ -117,7 +118,6 @@
- 
- #elif defined(HAVE_PTHREAD)
- 
--#include <stdlib.h>      // for abort()
- #define SAFE_PTHREAD(fncall)  do { if ((fncall) != 0) abort(); } while (0)
- 
- Mutex::Mutex()             { SAFE_PTHREAD(pthread_mutex_init(&mutex_, NULL)); }

diff --git a/dev-libs/re2/files/re2-symbols-r0.patch b/dev-libs/re2/files/re2-symbols-r0.patch
deleted file mode 100644
index 1fb9f2e35c4..00000000000
--- a/dev-libs/re2/files/re2-symbols-r0.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- libre2.symbols.orig	2012-11-07 04:45:57.000000000 +0100
-+++ libre2.symbols	2012-11-07 04:46:20.000000000 +0100
-@@ -10,6 +10,7 @@
- 		_ZlsRSoRKN3re211StringPieceE;
- 		# re2::FilteredRE2*
- 		_ZN3re211FilteredRE2*;
-+		_ZNK3re211FilteredRE2*;
- 	local:
- 		*;
- };


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-02 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 17:18 [gentoo-commits] repo/gentoo:master commit in: dev-libs/re2/files/ Mike Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2017-10-02 21:26 Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox