File osc-fixes.diff of Package mail-notification

From 32fef6ca648d74f1799b929b3e103fb086ae61e8 Mon Sep 17 00:00:00 2001
From: James Bottomley <JBottomley@Parallels.com>
Date: Sat, 26 Apr 2014 09:41:38 -0700
Subject: [PATCH 1/2] osc-fixes

---
 jb                           | 1 +
 jbsrc/lib/src/core/jb-util.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/jb b/jb
index a3d0371..398c5d6 100755
--- a/jb
+++ b/jb
@@ -110,6 +110,7 @@ if test -f jbsrc/jb.c; then
 			build/jbsrc/jb.c \
 			$jb_c_sources \
 			$jb_c_package_sources \
+			$gobject_cflags_libs \
 			$jb_libs; then
 			echo "ERROR: cannot build jb" >&2
 			exit 1
diff --git a/jbsrc/lib/src/core/jb-util.c b/jbsrc/lib/src/core/jb-util.c
index 4e8a639..0d9b5c9 100644
--- a/jbsrc/lib/src/core/jb-util.c
+++ b/jbsrc/lib/src/core/jb-util.c
@@ -209,6 +209,8 @@ jb_message_result_string_format (const char *format, ...)
 }
 
 static void
+print_warning_or_error (const char *prefix, const char *format, va_list args) __attribute__((format(printf, 1, 0)));
+static void
 print_warning_or_error (const char *prefix, const char *format, va_list args)
 {
   char *message;
-- 
1.9.2

openSUSE Build Service is sponsored by