From bde4ed91c046f3a9500c2b7aba8d13f868be51c7 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 19 Feb 2016 11:53:26 +0100 Subject: [PATCH] dev-libs/protobuf-c: rm obsolete patch --- .../protobuf-c-1.1.1-no-build-tests.patch | 29 ------------------- .../protobuf-c/protobuf-c-1.1.1.exheres-0 | 5 ++-- 2 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 packages/dev-libs/protobuf-c/files/protobuf-c-1.1.1-no-build-tests.patch diff --git a/packages/dev-libs/protobuf-c/files/protobuf-c-1.1.1-no-build-tests.patch b/packages/dev-libs/protobuf-c/files/protobuf-c-1.1.1-no-build-tests.patch deleted file mode 100644 index 4e611d7..0000000 --- a/packages/dev-libs/protobuf-c/files/protobuf-c-1.1.1-no-build-tests.patch +++ /dev/null @@ -1,29 +0,0 @@ -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 - ---- a/Makefile.am -+++ b/Makefile.am -@@ -135,7 +135,7 @@ t_generated_code2_test_generated_code2_SOURCES = \ - 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 = \ -@@ -160,12 +160,6 @@ t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto - 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-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 = \ diff --git a/packages/dev-libs/protobuf-c/protobuf-c-1.1.1.exheres-0 b/packages/dev-libs/protobuf-c/protobuf-c-1.1.1.exheres-0 index a2a0909..421faa1 100644 --- a/packages/dev-libs/protobuf-c/protobuf-c-1.1.1.exheres-0 +++ b/packages/dev-libs/protobuf-c/protobuf-c-1.1.1.exheres-0 @@ -1,8 +1,7 @@ # Copyright 2013 William Orr -# Copyright 2016 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -require github [ tag=v${PV} ] autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ] +require github [ tag=v${PV} ] autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] SUMMARY="C bindings for the protobuf library" DESCRIPTION=" @@ -21,5 +20,5 @@ DEPENDENCIES=" virtual/pkg-config " -DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-no-build-tests.patch ) +BUGS_TO="will@worrbase.com"