[libdata-messagepack-perl] 10/12: Add patch 1001 to fix include msgpack/unpack.h for msgpack_unpack_return enum. Closes: Bug#866791. Thanks to James McCoy.

Jonas Smedegaard dr at jones.dk
Mon Sep 18 00:32:24 UTC 2017


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

js pushed a commit to branch master
in repository libdata-messagepack-perl.

commit 2aa180b7f4519774ade8364ca68e99eeb17ca5e5
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Sep 18 02:22:39 2017 +0200

    Add patch 1001 to fix include msgpack/unpack.h for msgpack_unpack_return enum. Closes: Bug#866791. Thanks to James McCoy.
---
 debian/patches/1001_fix_include_unpack_header.patch | 18 ++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/1001_fix_include_unpack_header.patch b/debian/patches/1001_fix_include_unpack_header.patch
new file mode 100644
index 0000000..dc9003a
--- /dev/null
+++ b/debian/patches/1001_fix_include_unpack_header.patch
@@ -0,0 +1,18 @@
+Description: Include msgpack/unpack.h for msgpack_unpack_return enum
+ In msgpack-c 2.1.0, unpack_template.h refers to some of the 
+ msgpack_unpack_return enum values, which causes msgpack-perl to fail to
+ build.  Including unpack.h resolve this failure.
+Author: James McCoy <jamessan at jamessan.com>
+Last-Update: 2017-09-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/xs-src/unpack.c
++++ b/xs-src/unpack.c
+@@ -17,6 +17,7 @@
+ } unpack_user;
+ #define UNPACK_USER_INIT { false, false, NULL }
+ 
++#include "msgpack/unpack.h"
+ #include "msgpack/unpack_define.h"
+ 
+ #define msgpack_unpack_struct(name) \
diff --git a/debian/patches/series b/debian/patches/series
index 40572ee..441caff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+1001_fix_include_unpack_header.patch
 2001_use_system_lib.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-messagepack-perl.git



More information about the Pkg-perl-cvs-commits mailing list