pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/protobuf-c/patches protobuf-c: remove unused patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/248ae6ac51f2
branches:  trunk
changeset: 421765:248ae6ac51f2
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jan 17 21:10:04 2020 +0000

description:
protobuf-c: remove unused patch

diffstat:

 devel/protobuf-c/patches/patch-protoc-c_c__file.h |  26 -----------------------
 1 files changed, 0 insertions(+), 26 deletions(-)

diffs (30 lines):

diff -r a566d4663ed7 -r 248ae6ac51f2 devel/protobuf-c/patches/patch-protoc-c_c__file.h
--- a/devel/protobuf-c/patches/patch-protoc-c_c__file.h Fri Jan 17 21:09:18 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-protoc-c_c__file.h,v 1.1 2018/08/04 21:36:16 minskim Exp $
-
-https://github.com/protobuf-c/protobuf-c/pull/309
-https://github.com/protobuf-c/protobuf-c/pull/328
-
---- protoc-c/c_file.h.orig     2017-08-05 21:41:36.000000000 +0000
-+++ protoc-c/c_file.h
-@@ -98,13 +98,13 @@ class FileGenerator {
-  private:
-   const FileDescriptor* file_;
- 
--  scoped_array<scoped_ptr<MessageGenerator> > message_generators_;
--  scoped_array<scoped_ptr<EnumGenerator> > enum_generators_;
--  scoped_array<scoped_ptr<ServiceGenerator> > service_generators_;
--  scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_;
-+  std::unique_ptr<std::unique_ptr<MessageGenerator>[] > message_generators_;
-+  std::unique_ptr<std::unique_ptr<EnumGenerator>[] > enum_generators_;
-+  std::unique_ptr<std::unique_ptr<ServiceGenerator>[] > service_generators_;
-+  std::unique_ptr<std::unique_ptr<ExtensionGenerator>[] > extension_generators_;
- 
-   // E.g. if the package is foo.bar, package_parts_ is {"foo", "bar"}.
--  vector<string> package_parts_;
-+  std::vector<string> package_parts_;
- 
-   GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator);
- };



Home | Main Index | Thread Index | Old Index