UPDATE: net/mininet - various bug fixes

2018-04-15 Thread Ayaka Koshibe
On Sun, Apr 08, 2018 at 07:17:30PM +0200, Klemens Nanni wrote: > On Sat, Apr 07, 2018 at 05:50:54PM -0700, Ayaka Koshibe wrote: > > And I found the manpage for mn isn't generated properly during last-minute > > testing... > > > > Updated Makefile diff, plus cleanup to run MAKEDEV in /dev, rather t

Re: NEW: devel/creduce

2018-04-15 Thread Stuart Henderson
On 2018/04/15 02:27, Brian Callahan wrote: > Works well on amd64 following the user guide on the HOMEPAGE. Note that this > links libLLVM-6.0.so from devel/llvm, though that does not get reflected in > WANTLIB (I left a comment saying such in the Makefile). You need to have a WANTLIB entry associa

Re: UPDATE: net/mininet - various bug fixes

2018-04-15 Thread Klemens Nanni
On Sun, Apr 15, 2018 at 12:15:20AM -0700, Ayaka Koshibe wrote: > On Sun, Apr 08, 2018 at 07:17:30PM +0200, Klemens Nanni wrote: > > On Sat, Apr 07, 2018 at 05:50:54PM -0700, Ayaka Koshibe wrote: > > > And I found the manpage for mn isn't generated properly during last-minute > > > testing... > > >

Re: NEW: editors/dte

2018-04-15 Thread Alexandre Ratchov
On Sun, Apr 15, 2018 at 02:22:36AM -0400, Brian Callahan wrote: > Hi ports -- > > Attached is a new port, editors/dte. dte is a small and easy to use console > text editor. > > --- > pkg/DESCR: > dte is a small and easy to use console text editor. > > Features: > * Multiple buffers/tabs > * Unli

Re: UPDATE: x11/qt4 (clang6)

2018-04-15 Thread Rafael Sadowski
On Sat Apr 14, 2018 at 03:44:32PM +0300, Pavel Korovin wrote: > Dear all, > > Please find the diff for x11/qt4 attached. > Quick-fix for build with clang6. > > -- > With best regards, > Pavel Korovin > Index: Makefile > === > RCS f

Re: UPDATE: x11/qt4 (clang6)

2018-04-15 Thread Pavel Korovin
Rafael, thanks! Updated diff attached. On 04/15, Rafael Sadowski wrote: > PLIST update is required! > > $ ls -la /usr/local/lib/qt4/mkspecs/ > lrwxr-xr-x1 root wheel13 Apr 15 12:56 default -> openbsd-clang > > Otherwise Qt4 builds fine with clang6 -- With best regards, Pavel Korovin I

Re: clang6 fallout

2018-04-15 Thread Christian Weisgerber
Updated list as of Apr 15, 13:00 UTC: audio/caps-plugins cad/kicad databases/mysqlcc databases/pgadmin3 devel/qt-creator devel/sdcc emulators/BasiliskII emulators/desmume emulators/fceux! emulators/frodo emulators/nestopia games/alephone/alephone games/amoebax games/blobby games/dangerdeep games/e

[UPDATE] www/links+ to 1.15

2018-04-15 Thread trondd
Easy update for links+ to 1.15. Built against clang 6. Full changelog at http://links.twibright.com/download/ChangeLog Some notable udates: Rewrite google docs URLs to the download link, so that the file can be viewed in external viewer Support international domain names Fix reading one byte b

Re: [armv7 fix] Fix build lang/gcc/4.9

2018-04-15 Thread Markus Hennecke
Attached is a new diff fixing build on armv7 and adding patches to fix the build after the switch to clang 6. The patch became pretty big, because clang complains about error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] in a

Re: [armv7 fix] Build database/redis

2018-04-15 Thread Markus Hennecke
On Sat, 14 Apr 2018, Jeremie Courreges-Anglas wrote: > On Thu, Apr 12 2018, Klemens Nanni wrote: > > On Sat, Apr 07, 2018 at 08:26:10AM +0200, Markus Hennecke wrote: > >> With the attached fix the redis port builds, but is unable to complete the > >> regression tests (see https://github.com/anti

Re: [UPDATE] www/links+ to 1.15

2018-04-15 Thread Klemens Nanni
On Sun, Apr 15, 2018 at 11:30:22AM -0400, trondd wrote: > Easy update for links+ to 1.15. Built against clang 6. > > Full changelog at http://links.twibright.com/download/ChangeLog > Some notable udates: > > Rewrite google docs URLs to the download link, so that the file can be > viewed in exter

FIX build x11/xdrawchem with clang6

2018-04-15 Thread Björn Ketelaars
OK? Index: patches/patch-xdrawchem_molecule_obmol_cpp === RCS file: /cvs/ports/x11/xdrawchem/patches/patch-xdrawchem_molecule_obmol_cpp,v retrieving revision 1.1 diff -u -p -r1.1 patch-xdrawchem_molecule_obmol_cpp --- patches/patch-x

clang6: FIX for japanese/groff

2018-04-15 Thread Brian Callahan
Hi ports -- Let japanese/groff build again on clang6. OK? ~Brian Index: patches/patch-troff_node_cc === RCS file: /cvs/ports/japanese/groff/patches/patch-troff_node_cc,v retrieving revision 1.1 diff -u -p -r1.1 patch-troff_node_cc

clang6: FIX for games/ja2-stracciatella

2018-04-15 Thread Brian Callahan
Hi ports -- Minimal clang6 fix for games/ja2-stracciatella. De-hardcode a c++ while here. OK? ~Brian Index: Makefile === RCS file: /cvs/ports/games/ja2-stracciatella/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --

clang6: FIX for emulators/nestopia

2018-04-15 Thread Brian Callahan
Hi ports -- Minimal clang6 fix for emulators/nestopia. OK? ~Brian Index: Makefile === RCS file: /cvs/ports/emulators/nestopia/Makefile,v retrieving revision 1.12 diff -u -p -r1.12 Makefile --- Makefile 23 Sep 2017 11:30:03 - 1.

clang6: FIX for games/meandmyshadow

2018-04-15 Thread Brian Callahan
Hi ports -- Minimal clang6 fix for games/meandmyshadow. OK? ~Brian Index: Makefile === RCS file: /cvs/ports/games/meandmyshadow/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 26 Jul 2017 22:45:21 -

Re: clang6: FIX for games/ja2-stracciatella

2018-04-15 Thread Klemens Nanni
On Sun, Apr 15, 2018 at 02:56:41PM -0400, Brian Callahan wrote: > Index: Makefile > === > RCS file: /cvs/ports/games/ja2-stracciatella/Makefile,v > retrieving revision 1.3 > diff -u -p -r1.3 Makefile > --- Makefile 26 Jul 2017 22:45:2

Re: clang6: FIX for games/ja2-stracciatella

2018-04-15 Thread Brian Callahan
On 04/15/18 15:37, Klemens Nanni wrote: On Sun, Apr 15, 2018 at 02:56:41PM -0400, Brian Callahan wrote: Index: Makefile === RCS file: /cvs/ports/games/ja2-stracciatella/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile -

clang6: FIX for devel/sdcc

2018-04-15 Thread Brian Callahan
Hi ports -- For some reason I'm not quite sure about, with clang6 sdcc decides it needs to regen all its configure scripts. So let's oblige. Also adds a whole lot of items to the PLIST. OK? ~Brian Index: Makefile === RCS file:

Re: clang6: FIX for japanese/groff

2018-04-15 Thread Anthony J. Bentley
Brian Callahan writes: > Hi ports -- > > Let japanese/groff build again on clang6. > OK? I intend to delete japanese/groff immediately after removing the build dependencies in Wnn and canna.

Re: clang6: FIX for japanese/groff

2018-04-15 Thread Klemens Nanni
On Sun, Apr 15, 2018 at 02:52:36PM -0400, Brian Callahan wrote: > Index: patches/patch-troff_node_cc > === > RCS file: /cvs/ports/japanese/groff/patches/patch-troff_node_cc,v > retrieving revision 1.1 > diff -u -p -r1.1 patch-troff_nod

databases/pgadmin3 fixes (clang6)

2018-04-15 Thread Theo Buehler
Three things: It seems upstream changed the server layout and killed the ftp:// protocol, at least it isn't reachable from anywhere for me. I tried to find an official announcement for this, but gave up after 5 minutes. Add a static_cast to appease clang6. There is a newer version 1.22.2 availab

clang6 fix: math/libqalculate

2018-04-15 Thread Lawrence Teo
This lets math/libqalculate build with clang6. The error is: /usr/ports/pobj/libqalculate-0.9.7/libqalculate-0.9.7/libqalculate/MathStructure.cc:7166:48: error: cannot initialize a parameter of type 'MathStructure *' with an rvalue of type 'bool' MathStructure::gcd(cont_c, cont_d, gamma

Re: clang6: FIX for japanese/groff

2018-04-15 Thread Brian Callahan
On 04/15/18 15:41, Anthony J. Bentley wrote: Brian Callahan writes: Hi ports -- Let japanese/groff build again on clang6. OK? I intend to delete japanese/groff immediately after removing the build dependencies in Wnn and canna. Looks like Ingo just pushed the Wnn changes in. So sure let's f

Re: clang6: FIX for japanese/groff

2018-04-15 Thread Ingo Schwarze
Hi Brian, Brian Callahan wrote on Sun, Apr 15, 2018 at 03:52:39PM -0400: > On 04/15/18 15:41, Anthony J. Bentley wrote: >> Brian Callahan writes: >>> Let japanese/groff build again on clang6. >>> OK? >> I intend to delete japanese/groff immediately after removing the build >> dependencies in Wnn

clang6: FIX games/lostpixels

2018-04-15 Thread Brian Callahan
Hi ports -- Add some casts to appease clang6. Also remove a USE_GMAKE=Yes since gmake isn't being used and it builds fine with ninja. OK? ~Brian Index: Makefile === RCS file: /cvs/ports/games/lostpixels/Makefile,v retrieving rev

Fix libtorrent-rasterbar for gcc 4.9 on -rOPENBSD_6_3 (tested on OpenBSD/Loongson)

2018-04-15 Thread manphiz
The patch attached fixes building libtorrent-rasterbar on OpenBSD/Loongson for -rOPENBSD_6_3. It added several missing includes, added "-std=gnu++14" to CXXFLAGS as it is now default for newer compiler and the code uses those new features, and another patch from -current. I'm not sure whether t

Re: clang6: FIX for emulators/nestopia

2018-04-15 Thread Anthony J. Bentley
Brian Callahan writes: > Hi ports -- > > Minimal clang6 fix for emulators/nestopia. > OK? Yes, except please use -Wno-narrowing instead as that's what I see in upstream git.

Re: clang6: FIX for emulators/nestopia

2018-04-15 Thread Brian Callahan
On 04/15/18 16:33, Anthony J. Bentley wrote: Brian Callahan writes: Hi ports -- Minimal clang6 fix for emulators/nestopia. OK? Yes, except please use -Wno-narrowing instead as that's what I see in upstream git. Sure, but where is upstream git? All I could find was the sourceforge page and

Re: databases/pgadmin3 fixes (clang6)

2018-04-15 Thread Landry Breuil
On Sun, Apr 15, 2018 at 09:45:54PM +0200, Theo Buehler wrote: > Three things: > > It seems upstream changed the server layout and killed the ftp:// > protocol, at least it isn't reachable from anywhere for me. I tried to > find an official announcement for this, but gave up after 5 minutes. > > A

Re: [UPDATE] www/links+ to 1.15

2018-04-15 Thread trondd
On Sun, April 15, 2018 12:36 pm, Klemens Nanni wrote: > On Sun, Apr 15, 2018 at 11:30:22AM -0400, trondd wrote: >> Easy update for links+ to 1.15. Built against clang 6. >> >> Full changelog at http://links.twibright.com/download/ChangeLog >> Some notable udates: >> >> Rewrite google docs URLs to

Re: clang6: FIX for emulators/nestopia

2018-04-15 Thread Anthony J. Bentley
Brian Callahan writes: > > On 04/15/18 16:33, Anthony J. Bentley wrote: > > Brian Callahan writes: > >> Hi ports -- > >> > >> Minimal clang6 fix for emulators/nestopia. > >> OK? > > Yes, except please use -Wno-narrowing instead as that's what I see in > > upstream git. > > Sure, but where is upstr

clang6: FIX games/f1spirit

2018-04-15 Thread Brian Callahan
Hi ports -- Here's the fix for games/f1spirit. While here, remove libidn from LIB_DEPENDS (make port-lib-depends-check says not needed) and remove a hardcoded -O3. OK? ~Brian Index: Makefile === RCS file: /cvs/ports/games/f1spi

clang6 emulators/frodo

2018-04-15 Thread Alexander Bluhm
Hi This fixes the build of frodo on amd64 clang 6. SID.cpp:813:2: error: constant expression evaluates to 32768 which cannot be narrowed to type 'int16' (aka 'short') [-Wc++11-narrowing] 0x8000, 0x9111, 0xa222, 0xb333, 0xc444, 0xd555, 0xe666, 0xf777, ^~ ok? bluhm Inde

Re: clang6: FIX games/f1spirit

2018-04-15 Thread Landry Breuil
On Sun, Apr 15, 2018 at 04:55:33PM -0400, Brian Callahan wrote: > Hi ports -- > > Here's the fix for games/f1spirit. While here, remove libidn from > LIB_DEPENDS (make port-lib-depends-check says not needed) and remove a > hardcoded -O3. you beat me to it... as for libidn, i think it was added in

clang6: FIX games/roadfighter

2018-04-15 Thread Brian Callahan
Hi ports -- The fix for this one is the same as f1spirit. While here, remove a hardcoded -O2. OK? ~Brian Index: patches/patch-build_linux_Makefile === RCS file: /cvs/ports/games/roadfighter/patches/patch-build_linux_Makefile,v r

Re: [armv7 fix] Fix build lang/gcc/4.9

2018-04-15 Thread s_graf
I tried to build gcc with your patch and ran into the error below. I did not see any patches applied to ipa-devirt.c /usr/ports/pobj/gcc-4.9.4/gcc-4.9.4/gcc/ipa-devirt.c:1637:32: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defin

clang6: FIX games/amoebax

2018-04-15 Thread Brian Callahan
Just one static_cast to add. OK? ~Brian Index: patches/patch-src_NewHighScoreState_cxx === RCS file: patches/patch-src_NewHighScoreState_cxx diff -N patches/patch-src_NewHighScoreState_cxx --- /dev/null 1 Jan 1970 00:00:00 - +++

clang6 games/warmux

2018-04-15 Thread Alexander Bluhm
Hi, This fixes warmux build with clang6 on amd64. interface/weapon_menu.cpp:394:12: error: cannot initialize return object of type 'Weapon *' with an rvalue of type 'bool' return false; ^ map/tile.cpp:676:30: error: non-constant-expression cannot be narrowed from type

games/supertux is broken

2018-04-15 Thread mazocomp
mazocomp$ supertux2 [WARNING] /usr/obj/ports/supertux-0.5.1/SuperTux-v0.5.1-Source/src/supertux/main.cpp:188 Couldn't add './share/supertux2' to physfs searchpath: not found [FATAL] /usr/obj/ports/supertux-0.5.1/SuperTux-v0.5.1-Source/src/supertux/main.cpp:510 Unexpected exception: Couldn't ope

clang6: REMOVE misc/xnc

2018-04-15 Thread Brian Callahan
Hi ports -- misc/xnc has a copyright date of 96-98, hasn't seen an update since 2001, has a dead HOMEPAGE, and now segfaults when I try to run it after fixing the clang6 build. Does anyone use this? Can we just send it off to the attic? OK? ~Brian

clang6: Fix for games/enigma

2018-04-15 Thread Christian Weisgerber
FreeBSD fixed Proxy.cc this way. I'm uncertain if this is correct. Index: Makefile === RCS file: /cvs/ports/games/enigma/Makefile,v retrieving revision 1.33 diff -u -p -r1.33 Makefile --- Makefile13 Mar 2018 21:13:48 - 1

Re: [armv7 fix] Fix build lang/gcc/4.9

2018-04-15 Thread Jeremie Courreges-Anglas
+cc maintainer > -Original Message- > From: owner-po...@openbsd.org On Behalf Of Markus > Hennecke > Sent: April 15, 2018 9:04 AM > To: ports@openbsd.org > Subject: Re: [armv7 fix] Fix build lang/gcc/4.9 > > Attached is a new diff fixing build on armv7 and adding patches to fix > the bu

Re: clang6: REMOVE misc/xnc

2018-04-15 Thread Jeremie Courreges-Anglas
On Sun, Apr 15 2018, Brian Callahan wrote: > Hi ports -- > > misc/xnc has a copyright date of 96-98, hasn't seen an update since > 2001, has a dead HOMEPAGE, and now segfaults when I try to run it after > fixing the clang6 build. Does anyone use this? Can we just send it off > to the attic? > > OK

clang6 sysutils/facter

2018-04-15 Thread Alexander Bluhm
Hi, This fixes facter build with clang6. /usr/include/c++/v1/memory:2541:13: error: delete called on 'facter::facts::external::resolver' that is abstract but has non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor] delete __ptr; ^ /usr/include/c++/v1/memory:2541:13

Re: Firefox does not start (at least without significant lag) sometimes after crashing

2018-04-15 Thread Z Ero
$ firefox & [2] 24794 $ top $ ps PID TT STAT TIME COMMAND 16819 p1 Z 0:00.00 (firefox) 61237 p1 Z 0:00.00 (firefox) 32024 p1 Ssp 0:00.01 ksh 8876 p1 I 0:00.19 firefox 24794 p1 S 0:04.79 firefox 373 p1 R+p/0 0:00.00 ps $ kill -9 16819 $ ps PID TT ST

Re: clang6: Fix for games/enigma

2018-04-15 Thread Ingo Schwarze
Hi Christian, Christian Weisgerber wrote on Mon, Apr 16, 2018 at 12:05:20AM +0200: > FreeBSD fixed Proxy.cc this way. I'm uncertain if this is correct. It is. The intention of the test is to find out whether the file was opened successfully. My old Stroustrup book says that can be tested with

UPDATE: net/mininet - various bug fixes

2018-04-15 Thread Ayaka Koshibe
> Sure, updated diff below. > > Note how README.md is now installed from WRKSRC from WRKBUILD: they > used to be the same so the fake target would work, but with > SEPARATE_BUILD this would fail. > > > > Maybe also use the latest git commit instead of bumping revision? > > > > If I understand co