[xcdroast] fix #926752: aarch64 support
Tomas Smetana
tsmetana at fedoraproject.org
Fri Feb 21 12:12:30 UTC 2014
commit 392a6b98b922c1859319150128cd097ef62fc71b
Author: Tomas Smetana <tsmetana at redhat.com>
Date: Fri Feb 21 13:07:12 2014 +0100
fix #926752: aarch64 support
- fix #1037391: fails to build with "-Werror=format-security"
xcdroast-0.98alpha16-wformat.patch | 12 ++++++++++++
xcdroast.spec | 10 +++++++++-
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/xcdroast-0.98alpha16-wformat.patch b/xcdroast-0.98alpha16-wformat.patch
new file mode 100644
index 0000000..e0b2e1e
--- /dev/null
+++ b/xcdroast-0.98alpha16-wformat.patch
@@ -0,0 +1,12 @@
+diff -up xcdroast-0.98alpha16/src/setup.c.wformat xcdroast-0.98alpha16/src/setup.c
+--- xcdroast-0.98alpha16/src/setup.c.wformat 2014-02-21 13:04:20.813356229 +0100
++++ xcdroast-0.98alpha16/src/setup.c 2014-02-21 13:04:33.893300539 +0100
+@@ -4477,7 +4477,7 @@ gchar tmp[MAXLINE];
+ if (!textonly) {
+ show_dialog(ICO_ERROR,tmp, T_OK, NULL, NULL, 0);
+ } else {
+- g_warning(tmp);
++ g_warning("%s", tmp);
+ }
+ }
+ }
diff --git a/xcdroast.spec b/xcdroast.spec
index 68c234a..b0d3c98 100644
--- a/xcdroast.spec
+++ b/xcdroast.spec
@@ -2,7 +2,7 @@
Summary: An X Window System based tool for creating CDs
Name: xcdroast
Version: 0.98
-Release: 0.12.%{?alphatag}%{?dist}
+Release: 0.13.%{?alphatag}%{?dist}
Epoch: 1
License: LGPLv2+ and GPLv2
Group: Applications/Multimedia
@@ -17,6 +17,7 @@ Patch5: xcdroast-0.98alpha15-14_atapi_to_oldatapi.patch
Patch6: xcdroast-0.98alpha15-15_no_readcd_version.patch
Patch7: xcdroast-0.98alpha15-prodvd.patch
Patch8: xcdroast-0.98alpha15-nogtk1.patch
+Patch9: xcdroast-0.98alpha16-wformat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -50,6 +51,7 @@ This package contains the manual for xcdroast
%patch6 -p1 -b .p25
%patch7 -p1 -b .cdrkit
%patch8 -p1 -b .nogtk1
+%patch9 -p1 -b .wformat
# Fix char sets
for file in doc/TRANSLATION.HOWTO ChangeLog; do
@@ -59,6 +61,8 @@ for file in doc/TRANSLATION.HOWTO ChangeLog; do
done
%build
+export CFLAGS="$RPM_OPT_FLAGS -Werror=format-security"
+autoreconf -ivf
%configure --enable-gtk2 --disable-nonrootmode \
--with-xcdroast-libdir-prefix=%{_libdir}/%{name}
make %{?_smp_mflags}
@@ -96,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT
%doc doc/manual/*
%changelog
+* Fri Feb 21 2014 Tomas Smetana <tsmetana at redhat.com> - 1:0.98-0.13.alpha16
+- fix #926752: aarch64 support
+- fix #1037391: fails to build with "-Werror=format-security"
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.98-0.12.alpha16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list