pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/ruby-libarchive



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Feb 14 15:23:57 UTC 2021

Modified Files:
        pkgsrc/archivers/ruby-libarchive: distinfo
Added Files:
        pkgsrc/archivers/ruby-libarchive/patches:
            patch-ext_libarchive__internal.h

Log Message:
archivers/ruby-libarchive: Fix build with Ruby 3.0


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/archivers/ruby-libarchive/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/archivers/ruby-libarchive/patches/patch-ext_libarchive__internal.h

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

Modified files:

Index: pkgsrc/archivers/ruby-libarchive/distinfo
diff -u pkgsrc/archivers/ruby-libarchive/distinfo:1.4 pkgsrc/archivers/ruby-libarchive/distinfo:1.5
--- pkgsrc/archivers/ruby-libarchive/distinfo:1.4       Mon Jan  4 02:48:05 2016
+++ pkgsrc/archivers/ruby-libarchive/distinfo   Sun Feb 14 15:23:57 2021
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2016/01/04 02:48:05 taca Exp $
+$NetBSD: distinfo,v 1.5 2021/02/14 15:23:57 taca Exp $
 
 SHA1 (libarchive-0.1.2.gem) = 5a7f5d5e9771f00c4ef2b030602381a29ff0eb11
 RMD160 (libarchive-0.1.2.gem) = 337296b1c31898ee7e438fd5e368fb821462c341
 SHA512 (libarchive-0.1.2.gem) = 5644e82f2a0573f084a96f11dd7a6b9b3f44e4f1190ee830d46f9ba6eeee7e498a78cee9f5af54fda5d27159f53c1c7d66bc9a9e2c8c1c18382848c0deb461ff
 Size (libarchive-0.1.2.gem) = 53760 bytes
 SHA1 (patch-ext_extconf.rb) = 82d1b14bc2c8785883c9a84d541eb18d5a080aa9
+SHA1 (patch-ext_libarchive__internal.h) = 67ad5a14f2d0437de737860768b1a924ecc9ef14

Added files:

Index: pkgsrc/archivers/ruby-libarchive/patches/patch-ext_libarchive__internal.h
diff -u /dev/null pkgsrc/archivers/ruby-libarchive/patches/patch-ext_libarchive__internal.h:1.1
--- /dev/null   Sun Feb 14 15:23:57 2021
+++ pkgsrc/archivers/ruby-libarchive/patches/patch-ext_libarchive__internal.h   Sun Feb 14 15:23:57 2021
@@ -0,0 +1,17 @@
+$NetBSD: patch-ext_libarchive__internal.h,v 1.1 2021/02/14 15:23:57 taca Exp $
+
+* Fix for Ruby 3.
+
+--- ext/libarchive_internal.h.orig     2021-01-11 05:55:51.159908652 +0000
++++ ext/libarchive_internal.h
+@@ -28,7 +28,10 @@
+ #include <archive_entry.h>
+ 
+ #include <ruby.h>
++#include <ruby/version.h>
++#if RUBY_API_VERSION_MAJOR < 3
+ #include <rubysig.h>
++#endif
+ 
+ #ifdef _WIN32
+ #include "libarchive_win32.h"



Home | Main Index | Thread Index | Old Index