[osmpbf] 01/01: Add patch to specify proto2 syntax to fix warnings with protobuf 3.0.0.

Bas Couwenberg sebastic at debian.org
Fri Sep 2 16:33:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch debian
in repository osmpbf.

commit ff25e67928dd8dd36f198a9bb344eb90315a2307
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Sep 2 18:27:38 2016 +0200

    Add patch to specify proto2 syntax to fix warnings with protobuf 3.0.0.
---
 debian/changelog                   |  6 ++++++
 debian/patches/proto2-syntax.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 33 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7f47698..bffa16e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+osmpbf (1.3.3-8) UNRELEASED; urgency=medium
+
+  * Add patch to specify proto2 syntax to fix warnings with protobuf 3.0.0.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 02 Sep 2016 18:27:19 +0200
+
 osmpbf (1.3.3-7) unstable; urgency=medium
 
   * Bump Standards-Version to 3.9.8, no changes.
diff --git a/debian/patches/proto2-syntax.patch b/debian/patches/proto2-syntax.patch
new file mode 100644
index 0000000..2667106
--- /dev/null
+++ b/debian/patches/proto2-syntax.patch
@@ -0,0 +1,26 @@
+Description: Specify proto2 syntax to fix warnings with protobuf 3.0.0.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/scrosby/OSM-binary/pull/29
+
+--- a/src/fileformat.proto
++++ b/src/fileformat.proto
+@@ -15,6 +15,8 @@
+ 
+ */
+ 
++syntax = "proto2";
++
+ option optimize_for = LITE_RUNTIME;
+ option java_package = "crosby.binary";
+ package OSMPBF;
+--- a/src/osmformat.proto
++++ b/src/osmformat.proto
+@@ -15,6 +15,8 @@
+ 
+ */
+ 
++syntax = "proto2";
++
+ option optimize_for = LITE_RUNTIME;
+ option java_package = "crosby.binary";
+ package OSMPBF;
diff --git a/debian/patches/series b/debian/patches/series
index d270e20..1330cc8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 copy-headers.patch
+proto2-syntax.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmpbf.git



More information about the Pkg-grass-devel mailing list