1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Mark BROKEN on FreeBSD 7.X: does not compile

library/tulip/src/PluginLibraryLoader.cpp: In constructor 'tlp::PluginLibraryLoader::PluginLibraryLoader(std::string, tlp::PluginLoader*)':
  library/tulip/src/PluginLibraryLoader.cpp:232: error: invalid conversion from 'int (*)(const dirent*)' to 'int (*)(dirent*)'
  library/tulip/src/PluginLibraryLoader.cpp:232: error:   initializing argument 3 of 'int scandir(const char*, dirent***, int (*)(dirent*), int (*)(const void*, const void*))'
  *** Error code 1

Reported by:	pointyhat
Feature safe:	yes
This commit is contained in:
Pav Lucistnik 2011-12-08 20:25:42 +00:00
parent 3d9a178574
commit 615df9b9d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287086

View File

@ -45,6 +45,10 @@ PLIST_SUB+= TULIP_VERSION=${PORTVERSION} \
CFLAGS+= -fPIC
.endif
.if ${OSVERSION} < 800000
BROKEN= does not compile on FreeBSD 7.X
.endif
post-patch:
@${REINPLACE_CMD} -e 's|<qtimer.h>|<QtCore/qtimer.h>|;s|<qlocale.h>|<QtCore/qlocale.h>|' \
${WRKSRC}/software/tulip/src/main.cpp