Commit graph

17929 commits

Author SHA1 Message Date
Jan Beich
9b56895c91 games/bombherman: unbreak build with Clang 6 (C++14 by default)
display/display.cpp:371:17: error: non-constant-expression cannot be narrowed from type 'Uint16' (aka 'unsigned short') to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
        SDL_Rect r = { x, y, w, h };
                       ^
display/display.cpp:371:17: note: insert an explicit cast to silence this issue
        SDL_Rect r = { x, y, w, h };
                       ^
                       static_cast<Sint16>( )
display/display.cpp:391:48: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
        TTF_Font * fontTitle = TTF_OpenFont(DATADIR"/"FONT_FILE, (height / fSize));
                                                      ^

display/display.cpp:560:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
                                ( ( dh.w - sSize ) / dp.w ) + ( i * dh.x ),
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display/display.cpp:583:6: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
                                        wText,
                                        ^~~~~
[...]

Reported by:	pkg-fallout
2018-01-20 17:47:16 +00:00
Jan Beich
bb3ae2b610 games/battletanks: unbreak build with Clang 6 (C++14 by default)
In file included from engine/net/scanner.cpp:1:
In file included from engine/src/config.h:33:
In file included from ./mrt/xml.h:23:
/usr/include/c++/v1/map:629:15: error: object of type 'std::__1::pair<const mrt::Socket::addr, Scanner::Host>' cannot be assigned because its copy assignment operator is implicitly deleted
        {__nc = __v.__cc; return *this;}
              ^
/usr/include/c++/v1/__tree:1645:35: note: in instantiation of member function 'std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>::operator=' requested here
                __cache->__value_ = *__first;
                                  ^
/usr/include/c++/v1/__tree:1575:9: note: in instantiation of function template specialization 'std::__1::__tree<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::__map_value_compare<const mrt::Socket::addr, std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::less<const mrt::Socket::addr>, true>, std::__1::allocator<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host> > >::__assign_multi<std::__1::__tree_const_iterator<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::__tree_node<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, void *> *, long> >' requested here
        __assign_multi(__t.begin(), __t.end());
        ^
/usr/include/c++/v1/map:912:21: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::__map_value_compare<const mrt::Socket::addr, std::__1::__value_type<const mrt::Socket::addr, Scanner::Host>, std::__1::less<const mrt::Socket::addr>, true>, std::__1::allocator<std::__1::__value_type<const mrt::Socket::addr, Scanner::Host> > >::operator=' requested here
            __tree_ = __m.__tree_;
                    ^
engine/net/scanner.cpp:256:8: note: in instantiation of member function 'std::__1::map<const mrt::Socket::addr, Scanner::Host, std::__1::less<const mrt::Socket::addr>, std::__1::allocator<std::__1::pair<const mrt::Socket::addr, Scanner::Host> > >::operator=' requested here
        hosts = _hosts;
              ^
/usr/include/c++/v1/utility:325:5: note: copy assignment operator is implicitly deleted because 'pair<const mrt::Socket::addr, Scanner::Host>' has a user-declared move constructor
    pair(pair&&) = default;
    ^

Reported by:	pkg-fallout
2018-01-20 17:46:54 +00:00
Jan Beich
887edb80c9 games/bastet: unbreak build with Clang 6 (C++14 by default)
Ui.cpp:174:18: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'int' in initializer list [-Wc++11-narrowing]
    return (Dot){maxlen+1,splits.size()};
                 ^~~~~~~~

Reported by:	pkg-fallout
2018-01-20 17:46:31 +00:00
Jan Beich
1c266da5ed games/avanor: unbreak build with Clang 6 (C++14 by default)
creature/Uniquem.cpp:628:11: error: cannot initialize return object of type 'int' with an rvalue of
      type 'nullptr_t'
                        return NULL;
                               ^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
 #define NULL    nullptr
                 ^~~~~~~

Reported by:	pkg-fallout
2018-01-20 17:46:12 +00:00
Jan Beich
fa88a53434 games/abuse_sdl: unbreak build with Clang 6 (C++14 by default)
fileman.cpp:296:33: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'uint8_t' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
  uint8_t sizes[3]={ CLIENT_NFS,strlen(filename)+1,strlen(mode)+1};
                                ^~~~~~~~~~~~~~~~~~
hmi.cpp:302:97: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t'
      (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
  ...0x54, 0x68, 0x64, 0x00, 0x00, 0x00, 0x06, 0x00, 0x01, 0x00, (num_tracks + 1), 0x00, 0xC0 };
                                                                 ^~~~~~~~~~~~~~~~

Reported by:	pkg-fallout
2018-01-20 17:45:52 +00:00
Jan Beich
a567135c93 games/CaribbeanStud: unbreak build with Clang 6 (C++14 by default)
In file included from Seat.cpp:37:
./Bitmaps.h:47:46: error: constant expression evaluates to 128 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
                                             ^~~~
./Bitmaps.h:47:46: note: insert an explicit cast to silence this issue
0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,
                                             ^~~~
                                             static_cast<char>( )
Seat.cpp:256:18: error: no matching function for call to 'XCreateBitmapFromData'
      s_map[i] = XCreateBitmapFromData(_dpy,
                 ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:1604:15: note: candidate function not viable: no known conversion from
      'const unsigned char [2018]' to 'const char *' for 3rd argument
extern Pixmap XCreateBitmapFromData(
              ^

Reported by:	pkg-fallout
2018-01-20 17:45:32 +00:00
Dmitry Marakasov
892139881b - Add portscout 2018-01-19 18:28:33 +00:00
Alexey Dokuchaev
a1f5cb0b8d There is no need to say "(optional)" about something that is an option.
Suggested by:	mat
2018-01-19 16:10:20 +00:00
Alexey Dokuchaev
fcff2d9942 Unbreak the port presumably everywhere by not trying to redefine GLintptrARB
and GLsizeiptrARB: they are already (correctly) defined in <GL/gl.h>.  While
here, set USE_GL to `gl' instead of old-school, umbrella `yes'.
2018-01-19 15:08:00 +00:00
Alexey Dokuchaev
e388234f5a Revert inadvertent change that crept in the previous commit (r459416). 2018-01-19 15:07:23 +00:00
Alexey Dokuchaev
792550083f - Remove BROKEN_sparc64 that was originally added in r239630 by linimon@
8.5 years ago for version 4.2.7; current version (4.9.1) installs fine
- Correctly set FOO_RUN_DEPENDS knobs and add some readability linefeeds
2018-01-19 14:11:13 +00:00
Guido Falsi
00372c127c - Update netpaanzer to 0.8.7
- Fix build with clang 6
- Convert to PLIST_FILES
- Regenerate patches
2018-01-19 12:25:34 +00:00
Alexey Dokuchaev
73f128faa2 Allow to build on sparc64 and powerpc. 2018-01-19 06:36:37 +00:00
Sunpoet Po-Chuan Hsieh
5444edbb65 Remove BROKEN, DEPRECATED and EXPIRATION_DATE
This port builds fine in poudriere.
This port depends on py-twisted and py-twistedCore has been removed from ports tree.

MFH:		2018Q1
2018-01-18 14:44:07 +00:00
Jan Beich
25beeff079 devel/boost-*: update to 1.66.0
Changes:	http://www.boost.org/users/history/version_1_66_0.html
PR:		223922
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D13279
2018-01-18 04:11:02 +00:00
Nikolai Lifanov
3d5e6f0084 update games/wtf to 20180113 snapshot from NetBSD 2018-01-16 14:30:04 +00:00
Ganael LAPLANCHE
4a2ce21614 Update to 20171024 and switch to GH 2018-01-16 11:10:14 +00:00
Jan Beich
194e412679 games/diaspora: unbreak build with Clang 6 (C++14 by default)
- Don't use %%FOO%% in PLIST_FILES to avoid unnecessary substitution

PR:		225187
Submitted by:	lightside@gmx.com (maintainer)
2018-01-15 21:59:49 +00:00
Alexey Dokuchaev
8433cd85d3 - Unbreak the build against new Clang version 6.0.0
- While here, adjust COMMENT: Hexen support is limited

PR:	224989
2018-01-15 16:53:05 +00:00
Alexey Dokuchaev
5479277d48 - Unbreak the build against new Clang version 6.0.0
- Merge all Clang-related fixes into existing patch and
  regenerate it to get sane timestamps while I'm here

PR:	224989
2018-01-15 16:50:28 +00:00
Kurt Jaeger
36e75a9259 games/atanks: update 5.9 -> 6.5
PR:		217455
Submitted by:	amdmi3
Approved by:	jessefrgsmith@yahoo.ca (maintainer)
Relnotes:	http://atanks.sourceforge.net/
2018-01-13 16:58:26 +00:00
Nikolai Lifanov
1702f8a062 update games/wtf to 20180110 snapshot from NetBSD 2018-01-12 18:43:34 +00:00
Rene Ladan
30433f0c7f Return kevlo's ports to the pool, he handed in his commit bit.
With hat:	portmgr-secretary
2018-01-12 11:21:07 +00:00
Dmitry Marakasov
c37370b2fc - Fix dependency on ncurses and respect it properly 2018-01-11 20:05:34 +00:00
Alexey Dokuchaev
7b85b686ee Remove superfluous linefeeds and fix some other minor whitespace bugs. 2018-01-11 16:53:44 +00:00
Alexey Dokuchaev
a247b2f47d Do not abuse INSTALL_MAN when installing documentation, examples, and
other miscellaneous files that are not actually manual pages (part 2).
2018-01-11 14:18:01 +00:00
Jan Beich
a7026609a2 games/openbor: update to 4564
Changes:	830e0a9...5dd6f84
2018-01-11 00:54:20 +00:00
Alexey Dokuchaev
2c0789eb84 Do not abuse INSTALL_MAN when installing documentation, examples, and
other miscellaneous files which are not actually manual pages.
2018-01-10 15:08:51 +00:00
Dmitry Marakasov
9bc83e27a2 - Update to 14.1 2018-01-09 15:44:21 +00:00
Mathieu Arnold
afb43abb77 Remove a few text occurrences of NOPORTDOCS.
Sponsored by:	Absolight
2018-01-09 07:55:05 +00:00
Mathieu Arnold
bb5196a149 Remove support for variables that have been deprecated for a while.
variables                  deprecation       revision
WITHOUT_NLS                2013-12-13        r336337
WITH_/WITHOUT_             2014-02-24        r345870
NOPORT(DOC|EXAMPLE)S       2014-04-19        r351587
WITH_BDB_VER               2016-05-02        r414444
OVERRIDE_LINUX_BASE_PORT   2016-09-05        r421387
WITH_OPENSSL_(BASE|PORT)   2016-06-16        r416965

While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.

Cleanup bsd.sanity.mk a bit.

Fix fallout.

PR:		224613
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13490
2018-01-09 07:40:55 +00:00
Tobias Kortkamp
1cbe9b301a games/iortcw: Fix build with clang 6.0
code/splines/util_str.cpp:477:11: error: reinterpret_cast from 'nullptr_t' to
'const char *' is not allowed
        idStr e( reinterpret_cast<const char *>( NULL ) );
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/splines/util_str.cpp:491:10: error: reinterpret_cast from 'nullptr_t' to
'const char *' is not allowed
        a = c + reinterpret_cast<const char *>( NULL );
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/splines/util_str.cpp:494:6: error: reinterpret_cast from 'nullptr_t' to
'const char *' is not allowed
        a = reinterpret_cast<const char *>( NULL ) + d;
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/splines/util_str.cpp:498:7: error: reinterpret_cast from 'nullptr_t' to
'const char *' is not allowed
        a += reinterpret_cast<const char *>( NULL );
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PR:		224988
Reported by:	jbeich
2018-01-08 17:23:41 +00:00
Nikolai Lifanov
6e9d860c2c update games/stonesoup to 0.21.0
highlights:
* New species: Gnolls
* New god: Wu Jian Council
* New spell: Borgnjor's Vile Clutch

release announcement:
https://crawl.develz.org/wordpress/crawl-0-21-gnoll-country-for-old-jian
2018-01-08 16:59:35 +00:00
Carlos J. Puga Medina
5d46c38bbc Bump PORTREVISION due upgrade of devel/boehm-gc to 7.6.2
Approved by:	portmgr (antoine)
2018-01-08 15:20:57 +00:00
Kirill Ponomarev
a50766ec02 Set LLD_UNSAFE=yes that the port will continue to link with ld.bfd
if /usr/bin/ld is lld, until the issue can be addressed.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-01-08 13:21:10 +00:00
Kirill Ponomarev
5f2d00c073 Fix slyle for LLD_UNSAFE.
Reported by:	jbeich
2018-01-08 10:47:29 +00:00
Kirill Ponomarev
7e59c3223f Set LLD_UNSAFE=yes that the port will continue to link with ld.bfd
if /usr/bin/ld is lld, until the issue can be addressed.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-01-08 10:38:20 +00:00
Kirill Ponomarev
8aced487de Set LLD_UNSAFE=yes that the port will continue to link with ld.bfd
if /usr/bin/ld is lld, until the issue can be addressed.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-01-07 22:34:17 +00:00
Kirill Ponomarev
d7e554d15e Set LLD_UNSAFE=yes that the port will continue to link with ld.bfd
if /usr/bin/ld is lld, until the issue can be addressed.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-01-07 21:27:59 +00:00
Kirill Ponomarev
0ca664d686 Set LLD_UNSAFE=yes that the port will continue to link with ld.bfd
if /usr/bin/ld is lld, until the issue can be addressed.

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-01-07 20:22:22 +00:00
Tobias C. Berner
353ffeafe0 games/bovo, fix build with clang6
PR:		224945
2018-01-07 18:16:48 +00:00
Danilo Egea Gondolfo
b66396ee83 - Update to 4.14.1 2018-01-06 18:08:19 +00:00
Danilo Egea Gondolfo
fa353db017 - Update to 2.0.3 2018-01-06 17:12:25 +00:00
Jan Beich
92c3792abf games/aquaria: unbreak with LLD by default
Linking with LLD currently fails due to preemption of symbols with
protected visibility in a shared object:

/usr/bin/ld: error: cannot preempt symbol: alGetSourcei
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>>               CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))

/usr/bin/ld: error: cannot preempt symbol: alSourceUnqueueBuffers
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by BBGE/FmodOpenALBridge.cpp
>>>               CMakeFiles/aquaria.dir/BBGE/FmodOpenALBridge.cpp.o:(OggDecoder::decode_loop(OggDecoder*))
[...]

For now set LLD_UNSAFE=yes so that the port will continue to link with
ld.bfd if /usr/bin/ld is lld, until the issue can be addressed (with a
change in openal-soft or in lld).

Reported by:	antoine (via bug 214864)
2018-01-06 05:58:42 +00:00
Jan Beich
ae514f7521 games/aquaria: unbreak build with Clang 6 (C++14 by default)
Aquaria/ScriptInterface.cpp:10412:59: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
 #define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix)"_"MK_STR(alias), l_##prefix##_##suffix},
                                                           ^

Reported by:	antoine (via bug 224669)
2018-01-06 05:58:28 +00:00
Raphael Kubo da Costa
f09d9797d5 Backport and adapt patch to fix `make install' with Qt 5.9:
/usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/tanglet/work/tanglet-1.4.0/translations/*.qm /wrkdirs/usr/ports/games/tanglet/work/stage/usr/local/share/tanglet/translations/*.qm
    Error: usage: [-exe] source target
    *** Error code 3 (ignored)

PR:		224849
2018-01-05 22:22:16 +00:00
Raphael Kubo da Costa
4db659e138 Backport patch that fixes `make install' with Qt 5.9.
/usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/gottet/work/gottet-1.1.3/translations/*.qm /wrkdirs/usr/ports/games/gottet/work/stage/usr/local/share/gottet/translations/*.qm
    Error: usage: [-exe] source target
    *** Error code 3 (ignored)

PR:		224849
2018-01-05 22:17:49 +00:00
Jan Beich
0d9857f7af games/xqf: lift BROKEN_aarch64 per FreeBSD 11.0 EOL
Here's how the error message actually looked like:

cc  -O2 -pipe  -fno-strict-aliasing -Wall   -o xqf -Wl,-rpath,/usr/local/lib/xqf -Wl,--export-dynamic -Wl,--version-script=../src/xqf.map addmaster.o addserver.o config.o country-filter.o debug.o dialogs.o dns.o filter.o flt-player.o game.o history.o host.o launch.o menus.o pixmaps.o pref.o psearch.o rc.o rcon.o server.o skin.o skin_pcx.o sort.o source.o srv-info.o srv-list.o srv-prop.o stat.o statistics.o trayicon.o utils.o xqf.o xqf-ui.o xutils.o zipped.o redial.o q3maps.o utmaps.o loadpixmap.o splash.o scripts.o -lintl  ../src/zip/libunzip.a ../src/tga/libtga.a  -lGeoIP -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 -pthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl    -lz -L/usr/local/lib -lX11
/usr/bin/ld: xqf: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO
/usr/bin/ld: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Reported by:	http://thunderx1.nyi.freebsd.org/data/110arm64-default/426002/logs/errors/xqf-1.0.5_9.log
Pointy hat to:	linimon (generic excerpt)
Tested on:	11.1 (clang 4.0) and 12.0 (clang 6.0)
2018-01-05 03:32:57 +00:00
Dmitry Marakasov
fd8553586e - Pet portlint
- Update WWW
2018-01-04 09:00:45 +00:00
Mathieu Arnold
d0cba2b797 Cleanup Mk/Uses/gnome.mk.
- Remove the use of comp_DETECT.
- Remove all comp_DETECT variables.
- Remove a use of comp_DETECT outside of gnome.mk
- Remove py3gobject3.
- Have ports depending directly on devel/py-gobject3 use gnome to do it.

PR:		224618
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13550
2018-01-03 13:22:31 +00:00