MFH: r547453

deskutils/xfce4-generic-slider: fix build on GCC architectures

Use C11 compiler:
/usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:37: error: redefinition of typedef 'XfceKiosk'
/usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:35: error: previous declaration of 'XfceKiosk' was here

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-09-03 14:04:26 +00:00
parent f2f174637c
commit 3ec7dc7a95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=547454

View File

@ -15,7 +15,7 @@ BUILD_DEPENDS= xdt-autogen:devel/xfce4-dev-tools
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= gettext gmake gnome libtool pkgconfig xfce:gtk2
USES= compiler:c11 gettext gmake gnome libtool pkgconfig xfce:gtk2
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 intltool pango
USE_XFCE= libmenu panel
@ -23,11 +23,12 @@ USE_GITHUB= yes
GH_ACCOUNT= xfce-mirror
GH_TAGNAME= d1fc31f
CONFIGURE_ARGS= CC="${CC}"
PLIST_FILES= lib/xfce4/panel/plugins/libgeneric-slider.so \
share/xfce4/panel/plugins/generic-slider.desktop
pre-configure:
(cd ${WRKSRC} && ./autogen.sh)
(cd ${WRKSRC} && ./autogen.sh ${CONFIGURE_ARGS})
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins/libgeneric-slider.so