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 1918984 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]
Build with -std=gnu89
0001-Build-with-std-gnu89-1750694.patch (text/plain), 1.63 KB, created by
Florian Weimer
on 2022-10-19 09:05:20 UTC
(
hide
)
Description:
Build with -std=gnu89
Filename:
MIME Type:
Creator:
Florian Weimer
Created:
2022-10-19 09:05:20 UTC
Size:
1.63 KB
patch
obsolete
>From 071b1edaaab4b841dd2a4f6c845255e816cb0c26 Mon Sep 17 00:00:00 2001 >From: Florian Weimer <fweimer@redhat.com> >Date: Wed, 19 Oct 2022 11:03:47 +0200 >Subject: [PATCH] Build with -std=gnu89 (#1750694) >Content-type: text/plain > >--- > unzip-gnu89-build.patch | 15 +++++++++++++++ > unzip.spec | 2 ++ > 2 files changed, 17 insertions(+) > create mode 100644 unzip-gnu89-build.patch > >diff --git a/unzip-gnu89-build.patch b/unzip-gnu89-build.patch >new file mode 100644 >index 0000000..706f125 >--- /dev/null >+++ b/unzip-gnu89-build.patch >@@ -0,0 +1,15 @@ >+unzip uses C89-only features, so it needs to be built in C89 mode. >+ >+diff --git a/unix/Makefile b/unix/Makefile >+index ab32270cf4b9b2cf..5eabbe13095e1f58 100644 >+--- a/unix/Makefile >++++ b/unix/Makefile >+@@ -545,7 +545,7 @@ generic: flags # now try autoconfigure first >+ # make $(MAKEF) unzips CF="${CF} `cat flags`" >+ >+ generic_gcc: >+- $(MAKE) $(MAKEF) generic CC=gcc IZ_BZIP2="$(IZ_BZIP2)" >++ $(MAKE) $(MAKEF) generic CC="gcc -std=gnu89" IZ_BZIP2="$(IZ_BZIP2)" >+ >+ # extensions to perform SVR4 package-creation after compilation >+ generic_pkg: generic svr4package >diff --git a/unzip.spec b/unzip.spec >index bc5dfae..9468991 100644 >--- a/unzip.spec >+++ b/unzip.spec >@@ -71,6 +71,7 @@ Patch30: unzip-zipbomb-part4.patch > Patch31: unzip-zipbomb-part5.patch > Patch32: unzip-zipbomb-part6.patch > Patch33: unzip-zipbomb-switch.patch >+Patch34: unzip-gnu89-build.patch > > URL: http://infozip.sourceforge.net > BuildRequires: make >@@ -123,6 +124,7 @@ a zip archive. > %patch31 -p1 > %patch32 -p1 > %patch33 -p1 >+%patch34 -p1 > > %build > # IZ_HAVE_UXUIDGID is needed for right functionality of unzip -X >-- >2.37.3 >
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