[packages/protobuf] - enhanced no-wrap-memcpy patch

qboosh qboosh at pld-linux.org
Thu Jul 7 21:04:21 CEST 2022


commit 21703710cdbf8743c20bb7e950cc28296cc526a3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 7 21:06:02 2022 +0200

    - enhanced no-wrap-memcpy patch

 no-wrap-memcpy.patch | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/no-wrap-memcpy.patch b/no-wrap-memcpy.patch
index d721ac0..99321a4 100644
--- a/no-wrap-memcpy.patch
+++ b/no-wrap-memcpy.patch
@@ -1,6 +1,6 @@
 --- protobuf-3.17.3/ruby/ext/google/protobuf_c/extconf.rb~	2020-02-14 21:13:37.000000000 +0100
 +++ protobuf-3.17.3/ruby/ext/google/protobuf_c/extconf.rb	2020-04-07 22:56:24.419874091 +0200
-@@ -3,15 +3,15 @@
+@@ -3,19 +3,19 @@
  require 'mkmf'
  
  if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
@@ -19,3 +19,8 @@
  end
  
  $objs = ["protobuf.o", "convert.o", "defs.o", "message.o",
+-         "repeated_field.o", "map.o", "ruby-upb.o", "wrap_memcpy.o"]
++         "repeated_field.o", "map.o", "ruby-upb.o"]
+ 
+ find_header('third_party/wyhash/wyhash.h', '../../../..')
+ create_makefile("google/protobuf_c")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/protobuf.git/commitdiff/21703710cdbf8743c20bb7e950cc28296cc526a3



More information about the pld-cvs-commit mailing list