* Update Qt5 to 5.7.1
* Move Qt4 binaries to lib/qt4/bin
* Move Qt5 libraries to lib/qt5/lib
By moving the libraries we should finally be able to get rid of the inplace
upgrade bug (see ports bugs 194088, 195105 and 198720): when Qt5's libraries
were lying in /usr/local/lib, which would often get added by pkgconfig to the
linker paths via dependencies, the already installed libraries were linked
against, instead of the ones that were being built. This forced us to make
sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the
linker flags. With this change this should no longer be the case.
* Rename some ports to match the rest (foo-qtX -> qtX-foo)
* Depend on new port misc/qtchooser [see UPDATING & CHANGES]
There are several new Qt5 ports which all have been created by Marie Loise Nolden
<nolden@kde.org>. Thanks again.
PR: 216797
Exp-Run by: antoine
Reviewed by: rakuco, mat, groot_kde.org
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D9213
Makefile does not support building both the static and shared library.
It compiles the code without -fPIC first for the static library and then
creates the shared library from the same object files without recompiling
them with -fPIC.
- The upstream install target can now be used as well.
- Use upstream library version and bump dependent ports.
The previous update removed the LIBS definition of MAKE_ARGS, but it
is still needed for ports ncurses, so return it back (minus the -lm flag
which is no longer needed).
Approved by: nurses blanket
sources/misc.cpp:43:65: error: narrowing conversion of '4294967248u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
static PARTYOFFS party_0c = {SPR_ENDSPR_1+0x0c,0x0020,0xFFFFFFD0};
^
sources/misc.cpp:46:65: error: narrowing conversion of '4294967282u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
static PARTYOFFS party_0f = {SPR_ENDSPR_1+0x0f,0x005E,0xFFFFFFF2};
^
sources/misc.cpp:47:65: error: narrowing conversion of '4294967290u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
static PARTYOFFS party_10 = {SPR_ENDSPR_1+0x10,0x007E,0xFFFFFFFA};
^
sources/misc.cpp:48:65: error: narrowing conversion of '4294967289u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
static PARTYOFFS party_11 = {SPR_ENDSPR_1+0x11,0x008E,0xFFFFFFF9};
^
sources/misc.cpp:50:65: error: narrowing conversion of '4294967291u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
static PARTYOFFS party_13 = {SPR_ENDSPR_1+0x13,0x00B2,0xFFFFFFFB};
^
sources/misc.cpp:51:65: error: narrowing conversion of '4294967290u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
static PARTYOFFS party_14 = {SPR_ENDSPR_1+0x14,0x00C2,0xFFFFFFFA};
^
sources/misc.cpp:60:65: error: narrowing conversion of '4294967280u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
static PARTYOFFS party_1d = {SPR_ENDSPR_1+0x1d,0x0030,0xFFFFFFF0};
^
PR: 216707
Reported by: antoine (via exp-run)
board.o: In function `doRules':
board.c:(.text+0x14b1): undefined reference to `getTicks'
draw.o: In function `drawPath':
draw.c:(.text+0x90d): undefined reference to `plotPixel'
draw.o: In function `draw':
draw.c:(.text+0x9aa): undefined reference to `setting'
[...]
PR: 216707
Reported by: antoine (via exp-run)
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.
Reviewed by: rakuco, mat
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D9261
BFont.cpp:322:14: error: assigning to 'char *' from incompatible type 'const char *'
while ((p=strchr(&text[pos+1],SPACE)) != NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
BFont.cpp:362:19: error: assigning to 'char *' from incompatible type 'const char *'
p = strstr(&text[pos+1]," ");
^ ~~~~~~~~~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
gif_image.C:61:7: error: assigning to 'char *' from incompatible type 'const char *'
name = strrchr(filename,'/');
^ ~~~~~~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
gif_image.C:61:7: error: assigning to 'char *' from incompatible type 'const char *'
name = strrchr(filename,'/');
^ ~~~~~~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
client_net.cpp:34:12: error: ordered comparison between pointer and zero ('SDL_cond *' and 'int')
if (cond <0)
~~~~ ^~
client_net.cpp:40:13: error: ordered comparison between pointer and zero ('SDL_mutex *' and 'int')
if (mutex < 0)
~~~~~ ^ ~
client_net.cpp:48:16: error: ordered comparison between pointer and zero ('SDL_Thread *' and 'int')
if (trans_th < 0)
~~~~~~~~ ^ ~
client_net.cpp:54:16: error: ordered comparison between pointer and zero ('SDL_Thread *' and 'int')
if (input_th < 0)
~~~~~~~~ ^ ~
game_server.cpp:67:14: error: ordered comparison between pointer and zero ('SDL_Thread *' and 'int')
if (con_th < 0)
~~~~~~ ^ ~
Reported by: antoine (via exp-run)