Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 658783 Details for
Bug 884679
PATCH: fix bzip2 support
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
PATCH: fix bzip2 support
unzip-6.0-bzip2-configure.patch (text/plain), 867 bytes, created by
Hans de Goede
on 2012-12-06 14:38:29 UTC
(
hide
)
Description:
PATCH: fix bzip2 support
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2012-12-06 14:38:29 UTC
Size:
867 bytes
patch
obsolete
>diff -up unzip60/unix/configure.bzip2-configure unzip60/unix/configure >--- unzip60/unix/configure.bzip2-configure 2009-04-16 21:25:12.000000000 +0200 >+++ unzip60/unix/configure 2009-11-18 11:22:14.598389194 +0100 >@@ -640,7 +640,24 @@ else > D_USE_BZ2="-DUSE_BZIP2" > L_BZ2="${BZLF} -lbz2" > else >- echo "-- bzip2 sources not found - no bzip2 support" >+ echo " Check if OS already has bzip2 library installed" >+ cat > conftest.c << _EOF_ >+#include "bzlib.h" >+int main() >+{ >+ bz_stream strm; >+ BZ2_bzCompressEnd(&strm); >+ return 0; >+} >+_EOF_ >+ $CC $CFLAGS -o conftest conftest.c -lbz2 > /dev/null 2>/dev/null >+ if test $? -eq 0; then >+ echo "-- OS supports bzip2 - linking in bzip2" >+ D_USE_BZ2="-DUSE_BZIP2" >+ L_BZ2="${BZLF} -lbz2" >+ else >+ echo "-- Either bzlib.h or libbz2.a not found - no bzip2" >+ fi > fi > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 884679
: 658783