pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/protobuf-c



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr 14 09:35:46 UTC 2024

Modified Files:
        pkgsrc/devel/protobuf-c: Makefile distinfo
        pkgsrc/devel/protobuf-c/patches: patch-protoc-c_c__generator.h

Log Message:
protobuf-c: fix protobuf 26 compatibility

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/protobuf-c/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/protobuf-c/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__generator.h

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-c/Makefile
diff -u pkgsrc/devel/protobuf-c/Makefile:1.22 pkgsrc/devel/protobuf-c/Makefile:1.23
--- pkgsrc/devel/protobuf-c/Makefile:1.22       Fri Apr  5 14:00:58 2024
+++ pkgsrc/devel/protobuf-c/Makefile    Sun Apr 14 09:35:46 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2024/04/05 14:00:58 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2024/04/14 09:35:46 wiz Exp $
 
 DISTNAME=      protobuf-c-1.5.0
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=protobuf-c/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}

Index: pkgsrc/devel/protobuf-c/distinfo
diff -u pkgsrc/devel/protobuf-c/distinfo:1.15 pkgsrc/devel/protobuf-c/distinfo:1.16
--- pkgsrc/devel/protobuf-c/distinfo:1.15       Sun Apr  7 20:53:13 2024
+++ pkgsrc/devel/protobuf-c/distinfo    Sun Apr 14 09:35:46 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.15 2024/04/07 20:53:13 adam Exp $
+$NetBSD: distinfo,v 1.16 2024/04/14 09:35:46 wiz Exp $
 
 BLAKE2s (protobuf-c-1.5.0.tar.gz) = 7f89b0a27fe78e2bd91b67013315845a236dd9787121a7c5f1989850639e9573
 SHA512 (protobuf-c-1.5.0.tar.gz) = 175c9fc901cab88308730eea982dd62b1e0decdceb80aa53be163f17a440b4acecb834a784beab5cd71186413a322a323f4539758a8727ca51801cf92f9bd3da
 Size (protobuf-c-1.5.0.tar.gz) = 507251 bytes
 SHA1 (patch-protoc-c_c__file.cc) = fc3343b738a546f0c9bb6bb15c97b1dc45e19d49
-SHA1 (patch-protoc-c_c__generator.h) = cbee34577efdc2e366c3db0113d66ae2281efc66
+SHA1 (patch-protoc-c_c__generator.h) = 0ea8cbc701b9725747adb705068df1b2574461a9
 SHA1 (patch-protoc-c_c__helpers.h) = 69ecf6cdf3f76bab88b6509ba82ac1733131b679

Index: pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__generator.h
diff -u pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__generator.h:1.3 pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__generator.h:1.4
--- pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__generator.h:1.3   Sun Apr  7 20:53:13 2024
+++ pkgsrc/devel/protobuf-c/patches/patch-protoc-c_c__generator.h       Sun Apr 14 09:35:46 2024
@@ -1,4 +1,4 @@
-$NetBSD: patch-protoc-c_c__generator.h,v 1.3 2024/04/07 20:53:13 adam Exp $
+$NetBSD: patch-protoc-c_c__generator.h,v 1.4 2024/04/14 09:35:46 wiz Exp $
 
 Chase compatibility issues with Google protobuf 26.0
 https://github.com/protobuf-c/protobuf-c/pull/711
@@ -11,7 +11,7 @@ https://github.com/protobuf-c/protobuf-c
                  std::string* error) const;
 +
 +#if GOOGLE_PROTOBUF_VERSION >= 5026000
-+  uint64_t GetSupportedFeatures() const { return CodeGenerator::FEATURE_SUPPORTS_EDITIONS; }
++  uint64_t GetSupportedFeatures() const { return 0; }
 +  Edition GetMinimumEdition() const { return Edition::EDITION_PROTO2; }
 +  Edition GetMaximumEdition() const { return Edition::EDITION_PROTO3; }
 +#endif



Home | Main Index | Thread Index | Old Index