pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ap2-perl/patches



Module Name:    pkgsrc
Committed By:   markd
Date:           Wed Jun  2 22:35:09 UTC 2021

Added Files:
        pkgsrc/www/ap2-perl/patches: patch-src_modules_perl_modperl__perl.c

Log Message:
ap2-perl: actually add the patch - thanks wiz


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/ap2-perl/patches/patch-src_modules_perl_modperl__perl.c

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

Added files:

Index: pkgsrc/www/ap2-perl/patches/patch-src_modules_perl_modperl__perl.c
diff -u /dev/null pkgsrc/www/ap2-perl/patches/patch-src_modules_perl_modperl__perl.c:1.1
--- /dev/null   Wed Jun  2 22:35:09 2021
+++ pkgsrc/www/ap2-perl/patches/patch-src_modules_perl_modperl__perl.c  Wed Jun  2 22:35:09 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_modules_perl_modperl__perl.c,v 1.1 2021/06/02 22:35:09 markd Exp $
+
+Fix build for perl >= 5.33.7
+revision 1889014
+
+--- src/modules/perl/modperl_perl.c.orig       2019-10-05 11:04:42.000000000 +0000
++++ src/modules/perl/modperl_perl.c
+@@ -268,7 +268,7 @@ void modperl_hash_seed_set(pTHX)
+ #ifdef MP_NEED_HASH_SEED_FIXUP
+     if (MP_init_hash_seed_set) {
+ #if MP_PERL_VERSION_AT_LEAST(5, 17, 6)
+-        memcpy(&PL_hash_seed, &MP_init_hash_seed,
++        memcpy(PL_hash_seed, &MP_init_hash_seed,
+                 sizeof(PL_hash_seed) > sizeof(MP_init_hash_seed) ?
+                     sizeof(MP_init_hash_seed) : sizeof(PL_hash_seed));
+         PL_hash_seed_set   = MP_init_hash_seed_set;



Home | Main Index | Thread Index | Old Index