pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/converters/p5-Sereal-Encoder
Module Name: pkgsrc
Committed By: wiedi
Date: Thu Dec 15 01:53:35 UTC 2016
Modified Files:
pkgsrc/converters/p5-Sereal-Encoder: Makefile distinfo
Added Files:
pkgsrc/converters/p5-Sereal-Encoder/patches:
patch-snappy_csnappy__internal__userspace.h
Log Message:
use a patch just like with p5-Sereal-Decoder to fix building with gcc on SunOS
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/converters/p5-Sereal-Encoder/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/converters/p5-Sereal-Encoder/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/converters/p5-Sereal-Encoder/patches/patch-snappy_csnappy__internal__userspace.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/converters/p5-Sereal-Encoder/Makefile
diff -u pkgsrc/converters/p5-Sereal-Encoder/Makefile:1.8 pkgsrc/converters/p5-Sereal-Encoder/Makefile:1.9
--- pkgsrc/converters/p5-Sereal-Encoder/Makefile:1.8 Wed Jun 8 19:22:21 2016
+++ pkgsrc/converters/p5-Sereal-Encoder/Makefile Thu Dec 15 01:53:34 2016
@@ -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/}
Index: pkgsrc/converters/p5-Sereal-Encoder/distinfo
diff -u pkgsrc/converters/p5-Sereal-Encoder/distinfo:1.6 pkgsrc/converters/p5-Sereal-Encoder/distinfo:1.7
--- pkgsrc/converters/p5-Sereal-Encoder/distinfo:1.6 Sun May 8 14:51:41 2016
+++ pkgsrc/converters/p5-Sereal-Encoder/distinfo Thu Dec 15 01:53:34 2016
@@ -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
Added files:
Index: pkgsrc/converters/p5-Sereal-Encoder/patches/patch-snappy_csnappy__internal__userspace.h
diff -u /dev/null pkgsrc/converters/p5-Sereal-Encoder/patches/patch-snappy_csnappy__internal__userspace.h:1.1
--- /dev/null Thu Dec 15 01:53:35 2016
+++ pkgsrc/converters/p5-Sereal-Encoder/patches/patch-snappy_csnappy__internal__userspace.h Thu Dec 15 01:53:34 2016
@@ -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