From: Sangyoon Jang Date: Mon, 2 Mar 2015 08:54:24 +0000 (+0900) Subject: Fix for build break X-Git-Tag: accepted/tizen/common/20150521.125420~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3824edd29e2d73ef413f3ff0f4f8b51eaaba5be0;p=platform%2Fcore%2Fapi%2Fnotification.git 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 --- 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}