From 3824edd29e2d73ef413f3ff0f4f8b51eaaba5be0 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Mon, 2 Mar 2015 17:54:24 +0900 Subject: [PATCH] Fix for build break add capi-base-common as pc requires. some error enums are modified but these are still used by other packages. to prevent build break the below enums are added as definition temporalily. NOTIFICATION_ERROR_IO NOTIFICATION_ERROR_INVALID_DATA NOTIFICATION_ERROR_NO_MEMORY Change-Id: I581f95b4d568ec8916944aff09d1f35c98507813 Signed-off-by: Sangyoon Jang --- include/notification_error.h | 6 ++++++ notification.pc.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/notification_error.h b/include/notification_error.h index 932e6ff..214c4ef 100755 --- a/include/notification_error.h +++ b/include/notification_error.h @@ -24,6 +24,12 @@ #include +/* FIXME: Temporary patch to prevent build break. + * This MUST be removed after packages using the belows are modified. */ +#define NOTIFICATION_ERROR_INVALID_DATA NOTIFICATION_INVALID_PARAMETER +#define NOTIFICATION_NO_MEMORY NOTIFICATION_OUT_OF_MEMORY +#define NOTIFICATION_ERROR_IO NOTIFICATION_ERROR_IO_ERROR + /** * @file notification_error.h */ diff --git a/notification.pc.in b/notification.pc.in index e17e700..15e8662 100644 --- a/notification.pc.in +++ b/notification.pc.in @@ -6,6 +6,6 @@ includedir=@INCLUDEDIR@ Name: notification Description: Notification Library Version: @VERSION@ -Requires: bundle +Requires: bundle capi-base-common Libs: -L${libdir} -lnotification Cflags: -I${includedir} -- 2.7.4