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 909784 Details for
Bug 1037245
phasex FTBFS if "-Werror=format-security" flag is used
[?]
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 for rawhide
0001-Fix-FTBFS-with-Werror-format-security-1037245-110631.patch (text/plain), 2.25 KB, created by
Yaakov Selkowitz
on 2014-06-17 22:26:49 UTC
(
hide
)
Description:
Patch for rawhide
Filename:
MIME Type:
Creator:
Yaakov Selkowitz
Created:
2014-06-17 22:26:49 UTC
Size:
2.25 KB
patch
obsolete
>From 086b0ab1a2ee020ef41fa63b57951e1dfc7c5bed Mon Sep 17 00:00:00 2001 >From: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> >Date: Tue, 17 Jun 2014 17:24:53 -0500 >Subject: [PATCH] Fix FTBFS with -Werror=format-security (#1037245, #1106317) > >--- > phasex-format-security.patch | 13 +++++++++++++ > phasex.spec | 7 ++++++- > 2 files changed, 19 insertions(+), 1 deletion(-) > create mode 100644 phasex-format-security.patch > >diff --git a/phasex-format-security.patch b/phasex-format-security.patch >new file mode 100644 >index 0000000..7443126 >--- /dev/null >+++ b/phasex-format-security.patch >@@ -0,0 +1,13 @@ >+diff --git a/src/phasex.c b/src/phasex.c >+index f77db62..b7dc3a7 100644 >+--- a/src/phasex.c >++++ b/src/phasex.c >+@@ -298,7 +298,7 @@ phasex_shutdown(const char *msg) { >+ >+ /* output message from caller */ >+ if (msg != NULL) { >+- fprintf (stderr, msg); >++ fprintf (stderr, "%s", msg); >+ } >+ >+ /* set the global shutdown flag */ >diff --git a/phasex.spec b/phasex.spec >index 6bcf8e1..5ec1e6d 100644 >--- a/phasex.spec >+++ b/phasex.spec >@@ -4,7 +4,7 @@ > > Name: phasex > Version: 0.12.0 >-Release: 0.12.%{prerel}%{?dist} >+Release: 0.13.%{prerel}%{?dist} > Summary: PHASEX -- Phase Harmonic Advanced Synthesis EXperiment > Group: Applications/Multimedia > License: GPLv2 >@@ -12,6 +12,7 @@ URL: https://github.com/disabled/phasex-dev > > Source0: https://github.com/downloads/disabled/phasex-dev/%{name}-%{prerel_d}.tar.gz > Patch0: phasex-cflags.patch >+Patch1: phasex-format-security.patch > > BuildRequires: glibc-devel >= 2.3.0 > BuildRequires: alsa-lib-devel >= 0.9.0 >@@ -39,6 +40,7 @@ processing capabilities, and more. > %prep > %setup -q -n %{name}-%{prerel_d} > %patch0 -p1 -b .cflags >+%patch1 -p1 -b .format-security > > # Fix DSO linking > sed -i -e 's|\(-lpthread\)|\1 -lX11 -lgmodule-2.0|' configure >@@ -99,6 +101,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : > %{_datadir}/icons/hicolor/*/apps/phasex-icon.png > > %changelog >+* Tue Jun 17 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.12.0-0.13.m1 >+- Fix FTBFS with -Werror=format-security (#1037245, #1106317) >+ > * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-0.12.m1 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >-- >1.9.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 1037245
: 909784