--- /dev/null
+--- PerlQt-3.008/PerlQt/Qt.xs~ 2003-09-19 01:46:33.000000000 +0200
++++ PerlQt-3.008/PerlQt/Qt.xs 2013-06-13 23:05:45.549363391 +0200
+@@ -959,7 +959,7 @@
+ delete[] package;
+
+ if(SvTRUE(ERRSV))
+- croak(SvPV_nolen(ERRSV));
++ croak("%s", SvPV_nolen(ERRSV));
+ ST(0) = sv_2mortal(ret);
+ XSRETURN(1);
+ }
+@@ -1081,7 +1081,7 @@
+ else if(isSuper)
+ delete[] package;
+ delete[] savestack;
+- croak(SvPV_nolen(ERRSV));
++ croak("%s", SvPV_nolen(ERRSV));
+ }
+
+ // Success. Cache result.
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Qt/%{pdir}-%{version}.tar.gz
# Source0-md5: a0cdc0c86b3e79c56f09f2af8c4c2c39
+Patch0: format-security.patch
URL: http://search.cpan.org/dist/Qt/
BuildRequires: libstdc++-devel
BuildRequires: perl-devel >= 1:5.8.0
%prep
%setup -q -n %{pdir}-%{version}
+%patch0 -p1
+
%{__sed} 's/ -Wmissing-prototypes / /' -i configure
%build