aboutsummaryrefslogtreecommitdiff
path: root/devel/googlemock/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-11-15 01:41:12 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-11-15 01:41:12 +0000
commit750eaf67969f5fa326409c1de3de7d4ca1fe2015 (patch)
tree42c6e1333b9a5ecd61fa4cf730c9deeb6f592a78 /devel/googlemock/files
parent59b2541df62b617661f2b5e337c3e512684f8ea4 (diff)
downloadports-750eaf67969f5fa326409c1de3de7d4ca1fe2015.tar.gz
ports-750eaf67969f5fa326409c1de3de7d4ca1fe2015.zip
devel/google{test,mock}: update to 1.8.0.11
Notes
Notes: svn path=/head/; revision=426138
Diffstat (limited to 'devel/googlemock/files')
-rw-r--r--devel/googlemock/files/patch-Makefile.am16
-rw-r--r--devel/googlemock/files/patch-scripts_gmock__doctor.py41
2 files changed, 16 insertions, 41 deletions
diff --git a/devel/googlemock/files/patch-Makefile.am b/devel/googlemock/files/patch-Makefile.am
new file mode 100644
index 000000000000..73e3dedeaad8
--- /dev/null
+++ b/devel/googlemock/files/patch-Makefile.am
@@ -0,0 +1,16 @@
+Move custom headers into their own directory
+
+--- Makefile.am.orig 2016-11-03 20:36:28 UTC
++++ Makefile.am
+@@ -42,7 +42,10 @@ pkginclude_internaldir = $(pkgincludedir
+ pkginclude_internal_HEADERS = \
+ include/gmock/internal/gmock-generated-internal-utils.h \
+ include/gmock/internal/gmock-internal-utils.h \
+- include/gmock/internal/gmock-port.h \
++ include/gmock/internal/gmock-port.h
++
++pkginclude_internal_customdir = $(pkgincludedir)/internal/custom
++pkginclude_internal_custom_HEADERS = \
+ include/gmock/internal/custom/gmock-generated-actions.h \
+ include/gmock/internal/custom/gmock-matchers.h \
+ include/gmock/internal/custom/gmock-port.h
diff --git a/devel/googlemock/files/patch-scripts_gmock__doctor.py b/devel/googlemock/files/patch-scripts_gmock__doctor.py
deleted file mode 100644
index 608e635886ca..000000000000
--- a/devel/googlemock/files/patch-scripts_gmock__doctor.py
+++ /dev/null
@@ -1,41 +0,0 @@
-From ac830d6b197f8b8dad24782d7900c69cee0ab77e Mon Sep 17 00:00:00 2001
-From: Syl <srouquette@gmail.com>
-Date: Sun, 30 Aug 2015 08:57:48 +0200
-Subject: [PATCH] Fix gmock_doctor.py for Python3
-
---- scripts/gmock_doctor.py.orig 2013-09-19 00:32:04 UTC
-+++ scripts/gmock_doctor.py
-@@ -590,7 +590,7 @@ def main():
- print ('Please copy and paste the compiler errors here. Press c-D when '
- 'you are done:')
- else:
-- print 'Waiting for compiler errors on stdin . . .'
-+ print ('Waiting for compiler errors on stdin . . .')
-
- msg = sys.stdin.read().strip()
- diagnoses = Diagnose(msg)
-@@ -608,18 +608,18 @@ If you send your source code and the com
- %s, you can be helped and I can get smarter --
- win-win for us!""" % (msg, _EMAIL))
- else:
-- print '------------------------------------------------------------'
-- print 'Your code appears to have the following',
-+ print ('------------------------------------------------------------')
-+ print ('Your code appears to have the following',)
- if count > 1:
-- print '%s diseases:' % (count,)
-+ print ('%s diseases:' % (count,))
- else:
-- print 'disease:'
-+ print ('disease:')
- i = 0
- for d in diagnoses:
- i += 1
- if count > 1:
-- print '\n#%s:' % (i,)
-- print d
-+ print ('\n#%s:' % (i,))
-+ print (d)
- print ("""
- How did I do? If you think I'm wrong or unhelpful, please send your
- source code and the compiler's error messages to %s.