diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2015-01-08 16:17:45 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2015-01-08 16:18:23 +0900 |
commit | b278ce78e1bdad66d46a051ec0258c13fbf85032 (patch) | |
tree | a30d51fc0a9dab036203e3c80835284133cc61be | |
parent | 54655a0a7b826f08ac536bd2552c7acda0f60598 (diff) | |
download | libmm-common-b278ce78e1bdad66d46a051ec0258c13fbf85032.tar.gz libmm-common-b278ce78e1bdad66d46a051ec0258c13fbf85032.tar.bz2 libmm-common-b278ce78e1bdad66d46a051ec0258c13fbf85032.zip |
1. Fix build error on 64bit environmenttizen_3.0_ivi_releasesubmit/tizen_ivi/20150112.111111submit/tizen/20150109.055336submit/tizen/20150108.081357accepted/tizen/wearable/20150111.045945accepted/tizen/tv/20150111.045705accepted/tizen/mobile/20150111.050621accepted/tizen/ivi/20150112.234211accepted/tizen/common/20150109.133753tizen_3.0_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_common
2. Fix build warning of MMHandleType
Change-Id: Ib3eed7697f999b69e91848029209a2e4671ee286
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r-- | include/mm_types.h | 2 | ||||
-rw-r--r-- | packaging/libmm-common.spec | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/include/mm_types.h b/include/mm_types.h index 322eb0d..1eb029f 100644 --- a/include/mm_types.h +++ b/include/mm_types.h @@ -59,7 +59,7 @@ /** * Multimedia Framework handle type. */ -typedef int MMHandleType; /**< Handle type */ +typedef void *MMHandleType; /**< Handle type */ /** diff --git a/packaging/libmm-common.spec b/packaging/libmm-common.spec index 9b4b888..34e3d87 100644 --- a/packaging/libmm-common.spec +++ b/packaging/libmm-common.spec @@ -1,8 +1,8 @@ Name: libmm-common Summary: Multimedia Framework Common Lib Version: 0.2.85 -Release: 0 -Group: TO_BE/FILLED_IN +Release: 1 +Group: Multimedia/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz Requires(post): /sbin/ldconfig @@ -25,14 +25,14 @@ Multimedia Framework Common Library (devel) %prep %setup -q -./autogen.sh -CFLAGS="%{optflags} -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " ./configure --prefix=%{_prefix} ; export CFLAGS %build +CFLAGS="%{optflags} -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" " export CFLAGS+=" -Wall -Wcast-align -Wcast-qual -Wextra -Wno-array-bounds -Wno-empty-body -Wno-ignored-qualifiers -Wno-unused-parameter -Wshadow -Wwrite-strings -Wswitch-default -Wno-unused-but-set-parameter -Wno-unused-but-set-variable" - +%reconfigure make %{?jobs:-j%jobs} + %install rm -rf %{buildroot} %make_install @@ -40,6 +40,7 @@ rm -rf %{buildroot} %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig |