pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/p5-Sereal-Encoder use a patch just like wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2aa3f824c54c
branches:  trunk
changeset: 355868:2aa3f824c54c
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Thu Dec 15 01:53:34 2016 +0000

description:
use a patch just like with p5-Sereal-Decoder to fix building with gcc on SunOS

diffstat:

 converters/p5-Sereal-Encoder/Makefile                                            |   4 +-
 converters/p5-Sereal-Encoder/distinfo                                            |   3 +-
 converters/p5-Sereal-Encoder/patches/patch-snappy_csnappy__internal__userspace.h |  30 ++++++++++
 3 files changed, 34 insertions(+), 3 deletions(-)

diffs (60 lines):

diff -r 801695cbbcd9 -r 2aa3f824c54c converters/p5-Sereal-Encoder/Makefile
--- a/converters/p5-Sereal-Encoder/Makefile     Thu Dec 15 01:07:30 2016 +0000
+++ b/converters/p5-Sereal-Encoder/Makefile     Thu Dec 15 01:53:34 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2016/06/08 19:22:21 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2016/12/15 01:53:34 wiedi Exp $
 
 DISTNAME=      Sereal-Encoder-3.014
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    security perl5 converters
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../CPAN/authors/id/Y/YV/YVES/}
 
diff -r 801695cbbcd9 -r 2aa3f824c54c converters/p5-Sereal-Encoder/distinfo
--- a/converters/p5-Sereal-Encoder/distinfo     Thu Dec 15 01:07:30 2016 +0000
+++ b/converters/p5-Sereal-Encoder/distinfo     Thu Dec 15 01:53:34 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2016/05/08 14:51:41 wen Exp $
+$NetBSD: distinfo,v 1.7 2016/12/15 01:53:34 wiedi Exp $
 
 SHA1 (Sereal-Encoder-3.014.tar.gz) = 8cda51758cd1d22aa307efe8c85423511a12884a
 RMD160 (Sereal-Encoder-3.014.tar.gz) = bef412b1dd0fa8510decd5a048d8bbaf922999cf
 SHA512 (Sereal-Encoder-3.014.tar.gz) = 4891cb9189abe77012d14ba778156806f9d1708bce73015ce4d1d06ce4aa62abd0f9af4f98a64c547e55fa2298770f45aa2b0b99cc00e8e0f6a022df84bb41b8
 Size (Sereal-Encoder-3.014.tar.gz) = 377995 bytes
+SHA1 (patch-snappy_csnappy__internal__userspace.h) = 604f36231909881d4c424c06cd0b6065b4912006
diff -r 801695cbbcd9 -r 2aa3f824c54c converters/p5-Sereal-Encoder/patches/patch-snappy_csnappy__internal__userspace.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/p5-Sereal-Encoder/patches/patch-snappy_csnappy__internal__userspace.h  Thu Dec 15 01:53:34 2016 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-snappy_csnappy__internal__userspace.h,v 1.1 2016/12/15 01:53:34 wiedi Exp $
+
+reorder so that __sun matches before __GNUC__
+
+--- snappy/csnappy_internal_userspace.h.orig   2015-11-24 17:55:03.000000000 +0000
++++ snappy/csnappy_internal_userspace.h
+@@ -154,11 +154,6 @@ Albert Lee
+ #define __LITTLE_ENDIAN LITTLE_ENDIAN
+ #define __BIG_ENDIAN BIG_ENDIAN
+ 
+-#elif defined(__GNUC__) || defined(__ANDROID__) || defined(__CYGWIN__)
+-
+-#include <endian.h>
+-#include <byteswap.h>
+-
+ #elif defined(__sun)
+ 
+ #include <sys/byteorder.h>
+@@ -173,6 +168,11 @@ Albert Lee
+ #define __BYTE_ORDER __BIG_ENDIAN
+ #endif
+ 
++#elif defined(__GNUC__) || defined(__ANDROID__) || defined(__CYGWIN__)
++
++#include <endian.h>
++#include <byteswap.h>
++
+ #elif defined(__hpux)
+ 
+ #ifdef __LP64__



Home | Main Index | Thread Index | Old Index