aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/protobuf-c
diff options
context:
space:
mode:
Diffstat (limited to 'srcpkgs/protobuf-c')
-rw-r--r--srcpkgs/protobuf-c/patches/fix-compile-error.patch16
-rw-r--r--srcpkgs/protobuf-c/template1
2 files changed, 8 insertions, 9 deletions
diff --git a/srcpkgs/protobuf-c/patches/fix-compile-error.patch b/srcpkgs/protobuf-c/patches/fix-compile-error.patch
index 4ef0e80dc8b..1cc3115e883 100644
--- a/srcpkgs/protobuf-c/patches/fix-compile-error.patch
+++ b/srcpkgs/protobuf-c/patches/fix-compile-error.patch
@@ -1,5 +1,5 @@
---- protoc-c/c_file.h.orig 2018-07-01 11:52:24.135863225 +0200
-+++ protoc-c/c_file.h 2018-07-01 11:54:02.117755492 +0200
+--- a/protoc-c/c_file.h 2018-07-01 11:52:24.135863225 +0200
++++ b/protoc-c/c_file.h 2018-07-01 11:54:02.117755492 +0200
@@ -67,6 +67,10 @@
#include <vector>
#include <google/protobuf/stubs/common.h>
@@ -11,8 +11,8 @@
namespace google {
namespace protobuf {
---- protoc-c/c_helpers.cc.orig 2018-07-01 11:52:24.137863243 +0200
-+++ protoc-c/c_helpers.cc 2018-07-01 11:54:05.424785612 +0200
+--- a/protoc-c/c_helpers.cc 2018-07-01 11:52:24.137863243 +0200
++++ b/protoc-c/c_helpers.cc 2018-07-01 11:54:05.424785612 +0200
@@ -67,6 +67,10 @@
#include <protoc-c/c_helpers.h>
@@ -24,8 +24,8 @@
namespace google {
namespace protobuf {
---- protoc-c/c_message.h.orig 2018-07-01 11:52:24.138863253 +0200
-+++ protoc-c/c_message.h 2018-07-01 11:54:08.375812485 +0200
+--- a/protoc-c/c_message.h 2018-07-01 11:52:24.138863253 +0200
++++ b/protoc-c/c_message.h 2018-07-01 11:54:08.375812485 +0200
@@ -66,6 +66,10 @@
#include <string>
#include <google/protobuf/stubs/common.h>
@@ -37,8 +37,8 @@
namespace google {
namespace protobuf {
---- protoc-c/c_field.h.orig 2018-07-01 11:52:24.142863289 +0200
-+++ protoc-c/c_field.h 2018-07-01 11:54:11.010836479 +0200
+--- a/protoc-c/c_field.h 2018-07-01 11:52:24.142863289 +0200
++++ b/protoc-c/c_field.h 2018-07-01 11:54:11.010836479 +0200
@@ -65,6 +65,10 @@
#include <google/protobuf/stubs/common.h>
diff --git a/srcpkgs/protobuf-c/template b/srcpkgs/protobuf-c/template
index cb483c41044..ab3915524c6 100644
--- a/srcpkgs/protobuf-c/template
+++ b/srcpkgs/protobuf-c/template
@@ -12,7 +12,6 @@ license="BSD-2-Clause"
homepage="https://github.com/protobuf-c/protobuf-c"
distfiles="${homepage}/releases/download/v${version}/protobuf-c-${version}.tar.gz"
checksum=22956606ef50c60de1fabc13a78fbc50830a0447d780467d3c519f84ad527e78
-patch_args=-Np0
# buildprocess calls compiler while building, disable it on cross build
build_options="protoc"