From 7df869129e96a9c1b99b7d20082d47ea6cd7a4de Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Nov 21 2013 15:37:16 +0000 Subject: Use format strings properly --- diff --git a/ORBit-0.5.17-format.patch b/ORBit-0.5.17-format.patch new file mode 100644 index 0000000..087febf --- /dev/null +++ b/ORBit-0.5.17-format.patch @@ -0,0 +1,11 @@ +--- libIDL/util.c ++++ libIDL/util.c +@@ -2542,7 +2542,7 @@ static gboolean IDL_output_delim_pre (ID + { + if (IDL_output_delim_match (tfd, delim)) { + if (delim->hit) +- dataf (delim->data, delim->delim); ++ dataf (delim->data, "%s", delim->delim); + else + delim->hit = TRUE; + return delim->pre_func diff --git a/ORBit.spec b/ORBit.spec index 91ab4b5..5d73725 100644 --- a/ORBit.spec +++ b/ORBit.spec @@ -1,7 +1,7 @@ Summary: CORBA Object Request Broker for GNOME-1 compatibility Name: ORBit Version: 0.5.17 -Release: 37%{?dist} +Release: 38%{?dist} Epoch: 1 URL: http://orbit-resource.sourceforge.net/ Source: http://ftp.acc.umu.se/pub/gnome/sources/ORBit/0.5/ORBit-0.5.17.tar.bz2 @@ -12,6 +12,7 @@ Patch3: ORBit-0.5.17-multiarch.patch Patch4: ORBit-0.5.17-non-weak-symbols.patch Patch5: ORBit-0.5.17-make-3.82.patch Patch6: ORBit-aarch64.patch +Patch7: ORBit-0.5.17-format.patch Group: System Environment/Daemons License: LGPLv2+ and GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) @@ -69,6 +70,7 @@ with GNOME-1 applications. %patch4 -p1 -b .non-weak-symbols %patch5 -p1 -b .make-3.82 %patch6 -p1 -b .aarch64 +%patch7 -b .format %build %configure @@ -145,6 +147,9 @@ rm -rf %{buildroot} %{_datadir}/aclocal/libIDL.m4 %changelog +* Thu Nov 21 2013 Paul Howarth - 1:0.5.17-38 +- Use format strings properly + * Fri Aug 02 2013 Fedora Release Engineering - 1:0.5.17-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild