MFH: r551624 r551582 r551608

graphics/py-scikit-image: fix build on GCC architectures

Use C++11 compiler:
cc1plus: error: unrecognized command line option "-std=c++0x"

deskutils/gnome-clocks: fix build on GCC architectures

Use C11 compiler:
/usr/local/include/libhandy-1/hdy-swipe-tracker.h:23: error: redefinition of typedef 'HdySwipeTracker'
/usr/local/include/libhandy-1/hdy-types.h:15: error: previous declaration of 'HdySwipeTracker' was here

security/seahorse: fix build on GCC architectures

Use C99:
../pgp/seahorse-ldap-source.c:1317: error: 'for' loop initial declaration used outside C99 mode

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-10-22 20:43:09 +00:00
parent 7b41ce8747
commit c4ba2916a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=553055
3 changed files with 4 additions and 3 deletions

View File

@ -22,8 +22,8 @@ LIB_DEPENDS= libgeoclue-2.so:net/geoclue \
PORTSCOUT= limitw:1,even
USES= gettext gnome localbase meson pkgconfig python:3.4+,build \
shebangfix tar:xz
USES= compiler:c11 gettext gnome localbase meson pkgconfig \
python:3.4+,build shebangfix tar:xz
USE_LDCONFIG= yes
USE_GNOME= cairo gnomedesktop3 gsound
INSTALLS_ICONS= yes

View File

@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}PyWavelets>=0.4:math/py-PyWavelets@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cloudpickle>=0.2.1:devel/py-cloudpickle@${PY_FLAVOR}
USES= cpe python:3.7+
USES= compiler:c++11-lang cpe python:3.7+
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils cython cython_run

View File

@ -30,6 +30,7 @@ USE_XORG= sm
USE_LDCONFIG= yes
USES= gettext gnome localbase:ldflags meson pkgconfig \
python:3.5+,build tar:xz xorg
USE_CSTD= c99
USE_GNOME= gtk30
INSTALLS_ICONS= yes