libepc: fix a build error in libepc/enums.h.

This commit is contained in:
Juan RP 2011-10-02 18:00:10 +02:00
parent 0ca48ac637
commit c51f1343fa
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,8 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run gtk+3-devel
Add_dependency run avahi-glib-libs-devel
Add_dependency run libsoup-devel

View file

@ -1,6 +1,7 @@
# Template file for 'libepc'
pkgname=libepc
version=0.4.1
revision=1
homepage="http://live.gnome.org/libepc"
distfiles="${GNOME_SITE}/$pkgname/0.4/$pkgname-$version.tar.xz"
build_style=gnu_configure
@ -42,3 +43,10 @@ Add_dependency build gtk+3-devel
Add_dependency build libsoup-devel
Add_dependency build avahi-glib-libs-devel
Add_dependency build avahi-ui-libs-devel
post_install()
{
# build error!
sed -e "s|^G_CONST_RETURN|const|g" -i \
${DESTDIR}/usr/include/libepc-1.0/libepc/enums.h
}