From 43dc8dded909286251e860783c743f8f2aa28941 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 19 Apr 2013 13:25:25 +0200 Subject: [PATCH] - updated to latest sources - fix building with new glibc - rel 17 --- gnome-mail-notification.spec | 10 ++++++---- mail-notification-jb-gcc-format.patch | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 mail-notification-jb-gcc-format.patch diff --git a/gnome-mail-notification.spec b/gnome-mail-notification.spec index 4157a97..2737e9c 100644 --- a/gnome-mail-notification.spec +++ b/gnome-mail-notification.spec @@ -1,14 +1,15 @@ -%define evo_ver 3.6 +%define evo_ver 3.8 %define rname mail-notification Summary: GNOME notification area mail monitor Summary(pl.UTF-8): Monitor poczty widoczny w obszarze powiadamiania GNOME Name: gnome-mail-notification Version: 5.4 -Release: 16 +Release: 17 License: GPL v3+ Group: X11/Applications Source0: https://github.com/epienbroek/mail-notification/tarball/master/%{rname}-%{version}.tar.gz -# Source0-md5: 899c92fff00575ae25fe37090287792b +# Source0-md5: 1c4aea14dd2f9b89b659eaf39cde05f4 +Patch0: mail-notification-jb-gcc-format.patch URL: http://www.nongnu.org/mailnotify/ BuildRequires: GConf2-devel >= 2.22.0 BuildRequires: autoconf >= 2.59 @@ -69,7 +70,8 @@ Evolution mailbox support for Mail Notification. Wsparcie dla skrzynek pocztowych Evolution w Mail Notification. %prep -%setup -q -n epienbroek-%{rname}-b4ca832 +%setup -q -n epienbroek-%{rname}-45d11d2 +%patch0 -p1 %build ./jb configure \ diff --git a/mail-notification-jb-gcc-format.patch b/mail-notification-jb-gcc-format.patch new file mode 100644 index 0000000..c99b01e --- /dev/null +++ b/mail-notification-jb-gcc-format.patch @@ -0,0 +1,15 @@ +Index: epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c +=================================================================== +--- epienbroek-mail-notification-eab5c13.orig/jbsrc/lib/src/core/jb-util.c ++++ epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c +@@ -208,6 +208,10 @@ jb_message_result_string_format (const c + g_free(message); + } + ++#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) ++static void print_warning_or_error (const char *prefix, const char *format, va_list args) __attribute__ ((format(printf, 1, 0))); ++#endif ++ + static void + print_warning_or_error (const char *prefix, const char *format, va_list args) + { -- 2.44.0