pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/protobuf



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Mar 31 10:18:47 UTC 2021

Modified Files:
        pkgsrc/devel/protobuf: distinfo
Added Files:
        pkgsrc/devel/protobuf/patches: patch-src_google_protobuf_port__def.inc

Log Message:
protobuf: Avoid init_priority on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_port__def.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/protobuf/distinfo
diff -u pkgsrc/devel/protobuf/distinfo:1.45 pkgsrc/devel/protobuf/distinfo:1.46
--- pkgsrc/devel/protobuf/distinfo:1.45 Tue Mar  9 09:46:58 2021
+++ pkgsrc/devel/protobuf/distinfo      Wed Mar 31 10:18:47 2021
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.45 2021/03/09 09:46:58 adam Exp $
+$NetBSD: distinfo,v 1.46 2021/03/31 10:18:47 jperkin Exp $
 
 SHA1 (protobuf-cpp-3.15.5.tar.gz) = a1f169edff0f0faebb148f82383d284b7eceb06a
 RMD160 (protobuf-cpp-3.15.5.tar.gz) = 12100cae699d2b752782d33aa7428784a60baec6
 SHA512 (protobuf-cpp-3.15.5.tar.gz) = 847344f8d0acf0109049ad1b1e676b2e5c7bdb06ed8e8531aad9d811a96e7807cd67cde3585f070ee41a16c75948bb8a596bacf9d26d8008874c3ce1bdde52fb
 Size (protobuf-cpp-3.15.5.tar.gz) = 4655682 bytes
 SHA1 (patch-configure) = 22a1fc4e701b348772b3e2e4c68aad3b97032cc5
+SHA1 (patch-src_google_protobuf_port__def.inc) = 40948a86bb1be18937a3d729f9cc7dc1499a5977
 SHA1 (patch-third__party_googletest_googlemock_configure) = fe3b812e819130d87d99316144507d2454461cd1

Added files:

Index: pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_port__def.inc
diff -u /dev/null pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_port__def.inc:1.1
--- /dev/null   Wed Mar 31 10:18:47 2021
+++ pkgsrc/devel/protobuf/patches/patch-src_google_protobuf_port__def.inc       Wed Mar 31 10:18:47 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_google_protobuf_port__def.inc,v 1.1 2021/03/31 10:18:47 jperkin Exp $
+
+SunOS does not support init_priority.
+
+--- src/google/protobuf/port_def.inc.orig      2021-03-04 21:39:09.000000000 +0000
++++ src/google/protobuf/port_def.inc
+@@ -587,7 +587,7 @@
+ #define PROTOBUF_ATTRIBUTE_NO_DESTROY
+ #endif
+ 
+-#if defined(__GNUC__)
++#if defined(__GNUC__) && !defined(__sun)
+ // Protobuf extensions and reflection require registration of the protos linked
+ // in the binary. Not until everything is registered does the runtime have a
+ // complete view on all protos. When code is using reflection or extensions



Home | Main Index | Thread Index | Old Index