From 8bae04396de6d67dfb40ac3cf2cb542e76843624 Mon Sep 17 00:00:00 2001 From: Stu Tomlinson Date: Jan 06 2008 18:16:32 +0000 Subject: - Don't force use of strict ISO C99 compiler, fixes building with gcc 4.3 --- diff --git a/pidgin-guifications-2.14-stdc.patch b/pidgin-guifications-2.14-stdc.patch new file mode 100644 index 0000000..3801cd9 --- /dev/null +++ b/pidgin-guifications-2.14-stdc.patch @@ -0,0 +1,12 @@ +diff -up pidgin-guifications-2.14/configure.ac.stdc pidgin-guifications-2.14/configure.ac +--- pidgin-guifications-2.14/configure.ac.stdc 2008-01-03 10:27:07.000000000 -0500 ++++ pidgin-guifications-2.14/configure.ac 2008-01-03 10:27:15.000000000 -0500 +@@ -58,7 +58,7 @@ AM_GLIB_GNU_GETTEXT + # Look for the C compiler + # + CFLAGS_save="$CFLAGS" +-AC_PROG_CC_STDC ++AC_PROG_CC + CFLAGS="$CFLAGS_save" + + AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) diff --git a/pidgin-guifications.spec b/pidgin-guifications.spec index 27fd4ae..86ec772 100644 --- a/pidgin-guifications.spec +++ b/pidgin-guifications.spec @@ -13,16 +13,18 @@ Summary: Guifications Plugin for Pidgin Name: pidgin-guifications Version: 2.14 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL Group: Applications/Internet Url: http://plugins.guifications.org/trac/wiki/Guifications Source: http://downloads.guifications.org/plugins/Guifications2/pidgin-guifications-%{version}.tar.bz2 +Patch0: pidgin-guifications-2.14-stdc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool, gtk2-devel, gettext BuildRequires: pidgin-devel >= %{pidgin_major_ver}.%{pidgin_minor_ver} BuildRequires: perl(XML::Parser) +BuildRequires: autoconf, automake, libtool, intltool Requires: pidgin >= %{pidgin_major_ver}.%{pidgin_build_minor_ver} Provides: gaim-guifications = %{version}-%{release} @@ -35,9 +37,11 @@ instant messaging client Pidgin. %prep %setup -q +%patch0 -p1 -b .stdc %build -%configure +autoreconf +%configure make %{?_smp_mflags} %install @@ -58,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/pidgin/guifications %changelog +* Thu Jan 03 2008 Stu Tomlinson 2.14-3 +- Don't force use of strict ISO C99 compiler, fixes building with gcc 4.3 + * Fri May 18 2007 Stu Tomlinson 2.14-2 - New upstream release - Works with Pidgin