summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-04-07 13:27:48 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-04-07 13:29:10 +0200
commitafaad641d4914a9abccf4b903e35c25d02dbab89 (patch)
tree3e96b653f6e2ffe3c3b9e52afcb8a1defa693499 /dev-libs/protobuf-c/files
parentkde-apps/kde-meta: version bump 15.12.3 (diff)
downloadgentoo-afaad641d4914a9abccf4b903e35c25d02dbab89.tar.gz
gentoo-afaad641d4914a9abccf4b903e35c25d02dbab89.tar.bz2
gentoo-afaad641d4914a9abccf4b903e35c25d02dbab89.zip
dev-libs/protobuf-c: Bump to version 1.2.1
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/protobuf-c/files')
-rw-r--r--dev-libs/protobuf-c/files/protobuf-c-1.2.0-no-build-tests.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/protobuf-c/files/protobuf-c-1.2.0-no-build-tests.patch b/dev-libs/protobuf-c/files/protobuf-c-1.2.0-no-build-tests.patch
new file mode 100644
index 000000000000..c11e98df5784
--- /dev/null
+++ b/dev-libs/protobuf-c/files/protobuf-c-1.2.0-no-build-tests.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/518440
+
+avoid compiling tests when we aren't actually testing, especially since it
+requires a compiler to execute which fails when cross-compiling
+
+--- protobuf-c-1.2.0/Makefile.am
++++ protobuf-c-1.2.0/Makefile.am
+@@ -142,7 +142,7 @@
+ t_generated_code2_test_generated_code2_LDADD = \
+ protobuf-c/libprotobuf-c.la
+
+-noinst_PROGRAMS += \
++check_PROGRAMS += \
+ t/generated-code2/cxx-generate-packed-data
+
+ t_generated_code2_cxx_generate_packed_data_SOURCES = \
+@@ -170,13 +170,6 @@
+ t/generated-code2/test-full-cxx-output.inc: t/generated-code2/cxx-generate-packed-data$(EXEEXT)
+ $(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) > $(top_builddir)/t/generated-code2/test-full-cxx-output.inc
+
+-BUILT_SOURCES += \
+- t/test.pb-c.c t/test.pb-c.h \
+- t/test-full.pb-c.c t/test-full.pb-c.h \
+- t/test-optimized.pb-c.c t/test-optimized.pb-c.h \
+- t/test-full.pb.cc t/test-full.pb.h \
+- t/generated-code2/test-full-cxx-output.inc
+-
+ t_version_version_SOURCES = \
+ t/version/version.c
+ t_version_version_LDADD = \