Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1613525 Details for
Bug 1750694
unzip: Please build in C89 mode
Home
New
Search
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.rh90 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]
unzip.patch
unzip.patch (text/plain), 1.84 KB, created by
Florian Weimer
on 2019-09-10 09:30:52 UTC
(
hide
)
Description:
unzip.patch
Filename:
MIME Type:
Creator:
Florian Weimer
Created:
2019-09-10 09:30:52 UTC
Size:
1.84 KB
patch
obsolete
>diff -ur unzip60.orig/unix/configure unzip60/unix/configure >--- unzip60.orig/unix/configure 2019-09-10 11:06:09.923627724 +0200 >+++ unzip60/unix/configure 2019-09-10 11:26:54.873717058 +0200 >@@ -382,7 +382,15 @@ > for func in fchmod fchown lchown nl_langinfo > do > echo Check for $func >- echo "int main(){ $func(); return 0; }" > conftest.c >+ cat > conftest.c << _EOF_ >+#include <unistd.h> >+extern char $func(); >+int main() >+{ >+ $func(); >+ return 0; >+} >+_EOF_ > $CC $BFLAG -o conftest conftest.c >/dev/null 2>/dev/null > [ $? -ne 0 ] && CFLAGSR="${CFLAGSR} -DNO_`echo $func | tr '[a-z]' '[A-Z]'`" > done >@@ -417,12 +425,25 @@ > $CC $CFLAGS -c conftest.c >/dev/null 2>/dev/null > [ $? -ne 0 ] && CFLAGSR="${CFLAGSR} -DNO_ERRNO" > >+echo Check for directory include file >+OPT="" >+for inc in dirent.h sys/ndir.h ndir.h sys/dir.h >+do >+ echo "#include <$inc>" > conftest.c >+ $CPP conftest.c > /dev/null 2>/dev/null >+ [ $? -eq 0 ] && OPT="-DHAVE_`echo $inc | tr '[a-z]./' '[A-Z]__'`" && break >+done >+CFLAGSR="${CFLAGSR} ${OPT}" >+ > echo Check for directory libraries > cat > conftest.c << _EOF_ >+#ifdef HAVE_DIRENT_H >+#include <dirent.h> >+#endif > int main() { return closedir(opendir(".")); } > _EOF_ > >-$CC -o conftest conftest.c >/dev/null 2>/dev/null >+$CC $CFLAGSR -o conftest conftest.c >/dev/null 2>/dev/null > if [ $? -ne 0 ]; then > OPT="" > for lib in ndir dir ucb bsd BSD PW x dirent >@@ -446,16 +467,6 @@ > [ $? -eq 0 ] && LFLAGS2="${LFLAGS2} -lseq" > fi > >-echo Check for directory include file >-OPT="" >-for inc in dirent.h sys/ndir.h ndir.h sys/dir.h >-do >- echo "#include <$inc>" > conftest.c >- $CPP conftest.c > /dev/null 2>/dev/null >- [ $? -eq 0 ] && OPT="-DHAVE_`echo $inc | tr '[a-z]./' '[A-Z]__'`" && break >-done >-CFLAGSR="${CFLAGSR} ${OPT}" >- > echo Check for non existent include files > for inc in stdlib.h stddef.h unistd.h fcntl.h string.h langinfo.h > do
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 1750694
:
1613525
|
1918984