[Bug 2085376] perl-Compress-Raw-Zlib-2.104 is available

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=2085376

Paul Howarth <paul@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Fixed In Version|                            |perl-Compress-Raw-Zlib-2.10
                   |                            |4-1.fc37
         Resolution|---                         |RAWHIDE
             Status|ASSIGNED                    |CLOSED
        Last Closed|                            |2022-05-13 11:53:08



--- Comment #1 from Paul Howarth <paul@xxxxxxxxxxxx> ---
Needed a couple of tweaks in %prep, which will hopefully be addressed in future
upstream releases:

# System Zlib does not have renamed symbols
# https://github.com/pmqs/Compress-Raw-Zlib/issues/8
perl -pi -e 's/ -DZ_PREFIX / /;' Makefile.PL

The default build with bundled Zlib uses -DZ_PREFIX to rename the Zlib symbols
to avoid name conflicts with the system Zlib, which might be loaded in the same
process. We don't want this renaming to happen when we're using the system Zlib
ourselves.

# If we build with Zlib < 1.2.12 and not Zlib-ng, the attempt to try
# Compress::Raw::Zlib::haveZlibNg() will error out
# https://github.com/pmqs/Compress-Raw-Zlib/issues/9
perl -pi -e 's/Compress::Raw::Zlib::haveZlibNg\(\)/0/' t/02zlib.t

We're not using Zlib-ng so we can pretend that
Compress::Raw::Zlib::haveZlibNg() existed and returned a false value. When our
system Zlib is updated to 1.2.12 this won't be needed due to short-circuit
expression evaluation.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2085376
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux