Re: games/barony - face reality and retire?

2023-10-23 Thread David CARLIER
Hi makes sense, I myself completely lost interest about barony since fixes
had been ignored.
Regards.

On Mon, 23 Oct 2023 at 00:33, Thomas Frohwein 
wrote:

> Hi,
>
> I'm reaching out after trying to update barony unsuccessfully. First
> some background: Barony is a commercial game by TurningWheel with
> "open-source" engine development. "open-source" with quotation marks
> because the primary audio backend has been FMOD, which is a closed-
> source proprietary audio library. What makes this one a particularly
> painful port, to me at least, is the fact that updates to the game
> data, as downloaded from the digital storefronts depend on having a
> matching version of the game binaries. Multiple times in the past and
> present there has been a prolonged mismatch, meaning that the version
> accessible on the digital storefront isn't runnable at all with our
> port.
>
> At this moment, this problem is particularly clear as can be seen in
> the github issue from 1 year ago [1]. Since (before) then, the OpenAL
> audio backend has been broken, with a comment [2] indicating that
> upstream is well aware of the broken implementation, but no fix or even
> response in sight.
>
> I tested the current downloadable version (4.1) with our 3.3.7 port. As
> expected, it was not possible to run it, similar to when we had prior
> version desyncs:
>
> $ barony -datadir=$HOME/games/barony/data/noarch/game
> [19-23-31] Data path is /home/thfr/games/barony/data/noarch/game
> [19-23-31] Output path is /home/thfr/.barony
> Caught segfault at address 0x0
>
> I think the usefulness of the port is very low, given that for a
> significant portion over time the port is not in sync with the
> data that can be obtained, and maintenance seems quite hard especially
> with upstream showing little interest in keeping OpenAL as a viable
> backend at all. That's why I want to raise the question if it may be
> best to retire this port?
>
> [1] https://github.com/TurningWheel/Barony/issues/691
> [2]
> https://github.com/TurningWheel/Barony/blob/master/src/init_game.cpp#L534
>


Re: UPDATE: OpenAL 1.23.1

2023-05-29 Thread David CARLIER
Ok by me.

cheers.

On Sat, 27 May 2023 at 23:12, Brad Smith  wrote:

> ping.
>
> On 2023-05-17 3:11 a.m., Brad Smith wrote:
> > Here is an update to OpenAL 1.23.1.
> >
> >
> > openal-soft-1.23.1:
> >
> >  Implemented the AL_SOFT_UHJ_ex extension.
> >
> >  Implemented the AL_SOFT_buffer_length_query extension.
> >
> >  Implemented the AL_SOFT_source_start_delay extension.
> >
> >  Implemented the AL_EXT_STATIC_BUFFER extension.
> >
> >  Fixed compiling with certain older versions of GCC.
> >
> >  Fixed compiling as a submodule.
> >
> >  Fixed compiling with newer versions of Oboe.
> >
> >  Improved EAX effect version switching.
> >
> >  Improved the quality of the reverb modulator.
> >
> >  Improved performance of the cubic resampler.
> >
> >  Added a compatibility option to restore AL_SOFT_buffer_sub_data.
> The option
> >  disables AL_EXT_SOURCE_RADIUS due to incompatibility.
> >
> >  Reduced CPU usage when EAX is initialized and FXSlot0 or FXSlot1
> are not
> >  used.
> >
> >  Reduced memory usage for ADPCM buffer formats. They're no longer
> converted
> >  to 16-bit samples on load.
> >
> > openal-soft-1.23.0:
> >
> >  Fixed CoreAudio capture support.
> >
> >  Fixed handling per-version EAX properties.
> >
> >  Fixed interpolating changes to the Super Stereo width source
> property.
> >
> >  Fixed detection of the update and buffer size from PipeWire.
> >
> >  Fixed resuming playback devices with OpenSL.
> >
> >  Fixed support for certain OpenAL implementations with the router.
> >
> >  Improved reverb environment transitions.
> >
> >  Improved performance of convolution reverb.
> >
> >  Improved quality and performance of the pitch shifter effect
> slightly.
> >
> >  Improved sub-sample precision for resampled sources.
> >
> >  Improved blending spatialized multi-channel sources that use the
> source
> >  radius property.
> >
> >  Improved mixing 2D ambisonic sources for higher-order 3D ambisonic
> mixing.
> >
> >  Improved quadraphonic and 7.1 surround sound output slightly.
> >
> >  Added config options for UHJ encoding/decoding quality. Including
> Super
> >  Stereo processing.
> >
> >  Added a config option for specifying the speaker distance.
> >
> >  Added a compatibility config option for specifying the NFC distance
> >  scaling.
> >
> >  Added a config option for mixing on PipeWire's non-real-time thread.
> >
> >  Added support for virtual source nodes with PipeWire capture.
> >
> >  Added the ability for the WASAPI backend to use different playback
> rates.
> >
> >  Added support for SOFA files that define per-response delays in
> makemhr.
> >
> >  Changed the default fallback playback sample rate to 48khz. This
> doesn't
> >  affect most backends, which can detect a default rate from the
> system.
> >
> >  Changed the default resampler to cubic.
> >
> >  Changed the default HRTF size from 32 to 64 points.
> >
> >
> > Index: Makefile
> > ===
> > RCS file: /home/cvs/ports/audio/openal/Makefile,v
> > retrieving revision 1.63
> > diff -u -p -u -p -r1.63 Makefile
> > --- Makefile  15 Nov 2022 17:41:37 -  1.63
> > +++ Makefile  16 May 2023 08:08:00 -
> > @@ -1,13 +1,12 @@
> >   COMMENT =   cross-platform 3D audio API
> >
> > -V =  1.22.2
> > +V =  1.23.1
> >   DISTNAME =  openal-soft-$V
> >   PKGNAME =   openal-$V
> > -REVISION =   1
> >   EPOCH = 0
> >   CATEGORIES =audio
> >
> > -SHARED_LIBS =openal  4.2
> > +SHARED_LIBS =openal  5.0
> >
> >   HOMEPAGE =  https://openal-soft.org/
> >
> > @@ -46,7 +45,7 @@ CONFIGURE_ARGS +=-DALSOFT_CPUEXT_NEON=Of
> >
> >   MODULES =   devel/cmake
> >
> > -COMPILER =   base-clang ports-clang ports-gcc
> > +COMPILER =   base-clang ports-gcc
> >
> >   NO_TEST =   Yes
> >
> > Index: distinfo
> > ===
> > RCS file: /home/cvs/ports/audio/openal/distinfo,v
> > retrieving revision 1.14
> > diff -u -p -u -p -r1.14 distinfo
> > --- distinfo  4 Oct 2022 14:51:00 -   1.14
> > +++ distinfo  16 May 2023 08:04:08 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (openal-soft-1.22.2.tar.bz2) =
> rpTMlc2na3zG6S44wlMa+CFI5209iM6Zbikooep8PSA=
> > -SIZE (openal-soft-1.22.2.tar.bz2) = 606151
> > +SHA256 (openal-soft-1.23.1.tar.bz2) =
> eW9LiRNMTlcnC38NdV8Po0NbkNpDe3RRYKSb1ByEWyE=
> > +SIZE (openal-soft-1.23.1.tar.bz2) = 699330
> > Index: patches/patch-CMakeLists_txt
> > ===
> > RCS file: /home/cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
> > retrieving revision 1.12
> > diff -u -p -u -p -r1.12 patch-CMakeLists_txt
> > --- patches/patch-CMakeLists_txt  4 Oct 2022 14:51:00 -
>  1.12
> > +++ patches/patch-CMakeLists_txt  16 May 2023 08:04:44 -
> 

Re: UPDATE: openal

2021-10-03 Thread David CARLIER
ok by me.

cheers.

On Mon, 4 Oct 2021 at 03:31, Brad Smith  wrote:
>
> Fix for a bug in the sndio backend with the capture support.
>
>
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/audio/openal/Makefile,v
> retrieving revision 1.57
> diff -u -p -u -p -r1.57 Makefile
> --- Makefile20 Aug 2021 21:54:22 -  1.57
> +++ Makefile4 Oct 2021 02:23:13 -
> @@ -6,7 +6,7 @@ V = 1.21.1
>  EPOCH =0
>  DISTNAME = openal-soft-$V
>  PKGNAME =  openal-$V
> -REVISION = 1
> +REVISION = 2
>  CATEGORIES =   audio
>
>  SHARED_LIBS =  openal  4.1
> Index: patches/patch-alc_backends_sndio_cpp
> ===
> RCS file: /home/cvs/ports/audio/openal/patches/patch-alc_backends_sndio_cpp,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 patch-alc_backends_sndio_cpp
> --- patches/patch-alc_backends_sndio_cpp20 Aug 2021 21:54:22 -
>   1.3
> +++ patches/patch-alc_backends_sndio_cpp4 Oct 2021 02:25:36 -
> @@ -6,6 +6,8 @@ Simplify channel handling in the sndio b
>  Use non-block mode for sndio capture
>  1fd4c865fc084f134363db5155361d5483679235
>
> +Fix crashes in SndioCapture::recordProc
> +a4b0a3d7b3ec271243cfda4780e567e49f2b37b7
>
>  Index: alc/backends/sndio.cpp
>  --- alc/backends/sndio.cpp.orig
> @@ -269,7 +271,19 @@ Index: alc/backends/sndio.cpp
>   RingBufferPtr mRing;
>
>   std::atomic mKillNow{true};
> -@@ -326,37 +309,53 @@ int SndioCapture::recordProc()
> +@@ -323,40 +306,65 @@ int SndioCapture::recordProc()
> +
> + const uint frameSize{mDevice->frameSizeFromFmt()};
> +
> ++int nfds_pre{sio_nfds(mSndHandle)};
> ++if (nfds_pre <= 0)
> ++{
> ++mDevice->handleDisconnect("Incorrect return value from sio_nfds(): 
> %d", nfds_pre);
> ++return 1;
> ++}
> ++
> ++mFds.resize(nfds_pre);
> ++
>   while(!mKillNow.load(std::memory_order_acquire)
>   && mDevice->Connected.load(std::memory_order_acquire))
>   {
> @@ -345,7 +359,7 @@ Index: alc/backends/sndio.cpp
>   }
>
>   return 0;
> -@@ -371,76 +370,80 @@ void SndioCapture::open(const char *name)
> +@@ -371,76 +379,80 @@ void SndioCapture::open(const char *name)
>   throw al::backend_exception{al::backend_error::NoDevice, "Device 
> name \"%s\" not found",
>   name};
>



Re: Update nmap to 7.91

2021-07-19 Thread David CARLIER
Hi

No problem to pass it on to you :-), my interest towards nmap had
shifted anyway.

Kind regards.

On Mon, 19 Jul 2021 at 16:19, JR Aquino  wrote:
>
> Attached patch updates nmap from 7.80 to the current 7.91.
>
> In addition to the port languishing updates since 2019, there is also an 
> outstanding breakage of IPv6 Support ( 'ipv6 nmap breakage under 6.5-STABLE 
> ?' - MARC) from an old patch file that is no longer compatible/necessary: 
> patch-libnetutil_netutil_cc.
>
> Removing the patch file addresses the IPv6 issues as the upstream code was 
> fixed and updated a few revisions ago.
>
> If possible and permissible, I would like to volunteer to take over port 
> maintainership if David Carlier & the OpenBSD team find this acceptable.



Re: fix games/barony textures in sdl2-2.0.14

2021-04-11 Thread David CARLIER
I followed the github issue and looked ok from my perspective too.

On Sun, 11 Apr 2021 at 01:47, Bryan Steele  wrote:
>
> On Sat, Apr 10, 2021 at 08:39:07PM -0400, Bryan Steele wrote:
> > On Sat, Apr 10, 2021 at 04:56:55PM -0700, Nam Nguyen wrote:
> > > solene@ reported that games/barony has missing textures.[1] Here is a
> > > diff fixing this sourced from a PR by Sylvain Becker.
> > >
> > > I used hg bisect to track down the revision in sdl2's repository that
> > > introduced this bug.[2] I contacted Sylvain Becker, the author of the sdl2
> > > commit. Sylvain fixed barony's usage of sdl2.
> > >
> > > The bug is with barony's modification of refcount, which is
> > > read-only. The fix uses userdata to stash imgref.
> > >
> > > I tried to understand the fix, but more eyes are welcome.
> > >
> > > Details
> > > ===
> > >
> > > >From /usr/local/include/SDL2/SDL_surface.h, refcount is read-only.
> > >
> > > /** Application data associated with the surface */
> > > void *userdata; /**< Read-write */
> > > /** Reference count -- used when freeing surface */
> > > int refcount;   /**< Read-mostly */
> > >
> > > Important variables:
> > > userdata: used to store imgref (the id) of a surface
> > > imgref: global Uint32 used to index into allsurfaces, an array of
> > >   GL_Surface pointers[3][4]
> > > refcount: read-only field in SDL_Surface used to count how many
> > >   references are made to a GL_Surface. See deleted comments in 1107-1113
> > >   in SDL_pixels.c.[2] It is probably used for some other purpose in the
> > >   implementation now that is deleted.
> > >
> > > Testing
> > > ===
> > >
> > > Textures work now with epic game assets downloaded on September 5,
> > > 2020. Feedback and tests are welcome. OK?
> > >
> > > Footnotes:
> > > [1] https://github.com/TurningWheel/Barony/issues/580
> > > [2] 
> > > https://github.com/libsdl-org/SDL/commit/ebc12a2fd2bb692908884e7db6cc935941a591f2#diff-98a8d948613c29516e252e8134aee43ba14fb7bcd6457d29be3ba99861fd80bcL1107
> > > [3] Barony-3.3.7/src/main.cpp:344:Uint32 imgref = 1
> > > [4] src/init.cpp:354: allsurfaces = (SDL_Surface**) malloc
> >
> > I tested this and can confirm this fixes the texture loading problem
> > and makes Barony 3.3.7 playable again, thanks for working with the
> > upstream SDL2 developers to find and fix this Nam!
> >
> > ok brynet@ at least, but will also need approval by solene@ (maintainer)
> > and also naddy@ because of the upcoming ports tree lock.
> >
> > -Bryan.
>
> Whoops, sorry solene@.
>
> MAINTAINER =David Carlier 
>



update net/nmap 7.80

2019-08-16 Thread David CARLIER
Hi,

Here an update for this port, diff updated by @giovanni a bit.

Regards.


nmap-7.80.diff
Description: Binary data


Re: [update] security/botan2 2.10.0

2019-06-23 Thread David CARLIER
Here the changeling
https://botan.randombit.net/news.html#version-2-10-0-2019-03-30

which underwent a certain amount of internal code rewrite, justifying
the shared libs bump.

On Sun, 23 Jun 2019 at 15:46, Daniel Jakots  wrote:
>
> On Sun, 23 Jun 2019 15:32:02 +0100, David CARLIER 
> wrote:
>
> > Here an update for this port.
>
> Please cc maintainer. Also just one line for a diff is very very short.
> For instance, you could link the changelog, explain why you bumped the
> shared_libs etc etc. That's just a small step (that you must have
> gone through) which will ease review from people.
>
> Cheers,
> Daniel



[update] security/botan2 2.10.0

2019-06-23 Thread David CARLIER
Hi,

Here an update for this port.

Kind regards.


patch-security-botan2.diff
Description: Binary data


Re: [update] games/barony: fix backport

2019-05-30 Thread David CARLIER
ping :)

On Tue, 14 May 2019 at 20:01, David CARLIER  wrote:
>
> Hi,
>
> thfr reported an issue a bit before 6.5 release and as the barony
> release takes longer than expected here is the fix backported.
>
> Cheers.



[update] games/barony: fix backport

2019-05-14 Thread David CARLIER
Hi,

thfr reported an issue a bit before 6.5 release and as the barony
release takes longer than expected here is the fix backported.

Cheers.


patch-games-barony.diff
Description: Binary data


Re: update misc/memcached to 1.5.14

2019-05-13 Thread David CARLIER
If you mention testapp executable it does not coredump. No worries if
you wanna keep the no_drop_privileges patch tho.
Regards.

On Mon, 13 May 2019 at 07:32, Giovanni Bechis  wrote:
>
> On Sun, May 12, 2019 at 01:08:51PM +0100, David CARLIER wrote:
> > Hi,
> >
> > Here a proposal straight to 1.5.14, removing a patch due to
> > drop_privilege support feature.
> >
> why you removed that patch ? I think in OpenBSD dropping privileges should be
> mandatory.
> Does it pass regression tests (at least the same tests that passes with 
> 1.5.6) ?
> I have a 1.5.12 port on my tree that core dumps during regression tests, I 
> haven't
> checked 1.5.14 yet.
>  Giovanni



update misc/memcached to 1.5.14

2019-05-12 Thread David CARLIER
Hi,

Here a proposal straight to 1.5.14, removing a patch due to
drop_privilege support feature.

Regards.


patch-misc-memcached.diff
Description: Binary data


Fwd: [update] devel/radare2 3.4.1

2019-04-28 Thread David CARLIER
Hi

Here a proposal to the last release.

Hope it s good.

Kind regards.


patch-devel-radare2.diff
Description: Binary data


Re: [UPDATE] audio/openal 1.19.1

2019-02-11 Thread David CARLIER
Hi I planned to update it much later but thanks for doing this.
As said privately I m ok with the changes once approved by other folks.

Cheers.

On Sun, 10 Feb 2019 at 09:06, Leonid Bobrov  wrote:
>
> Hi!
>
> Full changelog can be found here:
> https://github.com/kcat/openal-soft/blob/master/ChangeLog
>
> The most notable one is this release brings sndio input support,
> thanks to work done by Alexandre Ratchov.
>
> I raise minor number because my checks show that only new functions
> were added.
>
> So far the dependent programs I use keep working.
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/audio/openal/Makefile,v
> retrieving revision 1.51
> diff -u -p -u -p -r1.51 Makefile
> --- Makefile9 Aug 2018 20:50:47 -   1.51
> +++ Makefile10 Feb 2019 08:51:28 -
> @@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s
>
>  COMMENT =  cross-platform 3D audio API
>
> -V =1.17.2
> +V =1.19.1
>  EPOCH =0
>  DISTNAME = openal-soft-$V
>  PKGNAME =  openal-$V
>  CATEGORIES =   audio
> -SHARED_LIBS =  openal  3.0
> -REVISION = 1
> +SHARED_LIBS =  openal  3.1
>
>  HOMEPAGE = http://kcat.strangesoft.net/openal.html
>
> @@ -19,7 +18,7 @@ MAINTAINER =  David Carlier   # LGPLv2+
>  PERMIT_PACKAGE_CDROM = Yes
>
> -WANTLIB += c m pthread sndio ${COMPILER_LIBCXX}
> +WANTLIB += c m pthread sndio
>
>  MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,}
>  EXTRACT_SUFX = .tar.bz2
> @@ -30,6 +29,7 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
> -DALSOFT_UTILS=On \
> -DALSOFT_EXAMPLES=Off \
> -DALSOFT_REQUIRE_SNDIO=On \
> +   -DALSOFT_BACKEND_DSOUND=Off \
> -DALSOFT_BACKEND_WAVE=Off \
> -DALSOFT_CPUEXT_SSE=Off \
> -DALSOFT_CPUEXT_SSE2=Off \
> @@ -42,21 +42,16 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
> -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \
> +   -DCMAKE_DISABLE_FIND_PACKAGE_SDL2:Bool=Yes \
> -DALSOFT_NO_CONFIG_UTIL=On
>
>  MODULES =  devel/cmake
>
> -COMPILER = base-clang ports-clang ports-gcc
> +COMPILER = base-clang ports-clang ports-gcc
>
> -SEPARATE_BUILD =Yes
>  NO_TEST =  Yes
>
>  pre-build:
> -   @${SUBST_CMD} ${WRKSRC}/Alc/alcConfig.c ${WRKSRC}/alsoftrc.sample
> -
> -post-install:
> -   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openal
> -   ${INSTALL_DATA} ${WRKSRC}/alsoftrc.sample \
> -   ${PREFIX}/share/examples/openal
> +   @${SUBST_CMD} ${WRKSRC}/Alc/alconfig.c ${WRKSRC}/alsoftrc.sample
>
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/audio/openal/distinfo,v
> retrieving revision 1.10
> diff -u -p -u -p -r1.10 distinfo
> --- distinfo15 Nov 2017 13:02:42 -  1.10
> +++ distinfo10 Feb 2019 08:51:28 -
> @@ -1,2 +1,2 @@
> -SHA256 (openal-soft-1.17.2.tar.bz2) = 
> o0H4VC8fC4xlJBoX2hPQc/GOwGZY4aFgao7Mi7wrMxQ=
> -SIZE (openal-soft-1.17.2.tar.bz2) = 486934
> +SHA256 (openal-soft-1.19.1.tar.bz2) = 
> XC+H/1GIuV4NxHaXGanYnOQ1uDIrRHi5XdS0J/6Esuk=
> +SIZE (openal-soft-1.19.1.tar.bz2) = 577310
> Index: patches/patch-Alc_ALc_c
> ===
> RCS file: patches/patch-Alc_ALc_c
> diff -N patches/patch-Alc_ALc_c
> --- patches/patch-Alc_ALc_c 31 Dec 2017 18:46:26 -  1.1
> +++ /dev/null   1 Jan 1970 00:00:00 -
> @@ -1,35 +0,0 @@
> -$OpenBSD: patch-Alc_ALc_c,v 1.1 2017/12/31 18:46:26 jca Exp $
> -
> -commit d1e98c36d375433cb11a7a74ce20c968491773aa
> -Author: Chris Robinson 
> -Date:   Sat Apr 30 17:14:55 2016 -0700
> -
> -Don't crash when there's no backend to probe
> -
> -Index: Alc/ALc.c
>  Alc/ALc.c.orig
> -+++ Alc/ALc.c
> -@@ -1117,6 +1117,11 @@ static void alc_initconfig(void)
> - V0(factory,init)();
> - }
> -
> -+if(!PlaybackBackend.name)
> -+WARN("No playback backend available!\n");
> -+if(!CaptureBackend.name)
> -+WARN("No capture backend available!\n");
> -+
> - if(ConfigValueStr(NULL, NULL, "excludefx", ))
> - {
> - size_t len;
> -@@ -1230,9 +1235,9 @@ static void ProbeDevices(al_string *list, struct Backe
> - LockLists();
> - al_string_clear(list);
> -
> --if(!backendinfo->getFactor

[update] devel/radare2 3.2.0

2019-01-11 Thread David CARLIER
Hi,

Here a straight update to the 3.2.0 release, here a bump again as some
rinternal apu ewriting has occured.

Thanks.

Kind regards.
Index: main/Makefile
===
RCS file: /cvs/ports/devel/radare2/main/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- main/Makefile	10 Dec 2018 17:06:01 -	1.12
+++ main/Makefile	8 Jan 2019 20:35:05 -
@@ -2,14 +2,14 @@
 
 COMMENT =		reverse engineers disassembler and debugger
 
-V =			3.1.0
+V =			3.2.0
 SUBST_VARS +=		V
 
 GH_PROJECT =		radare2
 GH_TAGNAME =		${V}
 
 # In radare, all libs have the same version
-LIBV =			4.0	# 3.1.0
+LIBV =			5.0	# 3.2.0
 .for _lib in r_anal r_asm r_bin r_bp r_config r_cons r_core \
 	r_crypto r_debug r_egg r_flag r_fs r_hash r_io r_lang \
 	r_magic r_parse r_reg r_search r_socket r_syscall \
Index: main/distinfo
===
RCS file: /cvs/ports/devel/radare2/main/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- main/distinfo	10 Dec 2018 17:06:01 -	1.6
+++ main/distinfo	8 Jan 2019 20:35:05 -
@@ -1,2 +1,2 @@
-SHA256 (radare2-3.1.0.tar.gz) = tudPKcw2/yVAA3ZybhMVs3/lh2ocgs9791s55uW75B8=
-SIZE (radare2-3.1.0.tar.gz) = 6652526
+SHA256 (radare2-3.2.0.tar.gz) = GNvsE1iNd5Xjzgs6RCV4In2UG3DLFCG1Kr4ScZHbZjQ=
+SIZE (radare2-3.2.0.tar.gz) = 6690470
Index: main/pkg/PLIST
===
RCS file: /cvs/ports/devel/radare2/main/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST
--- main/pkg/PLIST	10 Dec 2018 17:06:01 -	1.9
+++ main/pkg/PLIST	8 Jan 2019 20:35:05 -
@@ -59,6 +59,7 @@ include/libr/r_types_base.h
 include/libr/r_userconf.h
 include/libr/r_util/
 include/libr/r_util.h
+include/libr/r_util/pj.h
 include/libr/r_util/r_ascii_table.h
 include/libr/r_util/r_asn1.h
 include/libr/r_util/r_assert.h


Re: Fwd: [update] devel/radare2 3.1.0

2018-12-10 Thread David CARLIER
Alright my mistake was my attempt to follow radar versioning rules
whereas OpenBSD's differ ... this app has the tendency to undergo
refactoring (even within minor releases) and so on might be correct to
just update time to time only...
On Mon, 10 Dec 2018 at 10:36, Edd Barrett  wrote:
>
> On Mon, Dec 10, 2018 at 10:20:16AM +, David CARLIER wrote:
> > I ve redone the patch but I think I did already the bump change (if it
> > is LIBV variable used for ?). Regards.
> > On Mon, 10 Dec 2018 at 10:02, David CARLIER  wrote:
> > >
> > > Hi I was just reading your answer ... I think I did the bump jump already 
> > > ?
>
> ```
> -LIBV = 3.0 # 3.0.1
> +LIBV = 3.1 # 3.1.0
> ```
>
> You did a minor bump. What Stuart has pointed out is that, from my build
> error we know that they have removed functions since the last version.
> So in fact we need a major bump.
>
> --
> Best Regards
> Edd Barrett
>
> http://www.theunixzoo.co.uk


patch-radare2.diff
Description: Binary data


Fwd: [update] devel/radare2 3.1.0

2018-12-10 Thread David CARLIER
I ve redone the patch but I think I did already the bump change (if it
is LIBV variable used for ?). Regards.
On Mon, 10 Dec 2018 at 10:02, David CARLIER  wrote:
>
> Hi I was just reading your answer ... I think I did the bump jump already ?
>
> ie from 3.0 to 3.1 (var LIBV) or did you mean something else ?
> On Sun, 9 Dec 2018 at 22:49, Stuart Henderson  wrote:
> >
> > On 2018/12/09 15:43, Edd Barrett wrote:
> > > On Sun, Dec 09, 2018 at 05:36:21AM +, David CARLIER wrote:
> > > > Hi,
> > > >
> > > > there is an update for radare2 and radare2-bindings.
> >
> > Some functions are no longer exported in some the libraries, this
> > requires the library major to be bumped.
> >
> > From ports faq,
> >
> > "The rules for shared libraries are quite simple.
> >
> > - If functions were added to the library, you must bump the library
> > minor number: a program that needs those functions has no way to require
> > it except by asking explicitly for at least this version.
> >
> > - If the existing API changes, that is, if any function signature is
> > altered, or if valid calling sequences are no longer valid, if a type
> > changes in an incompatible way, the library major number must be bumped.
> >
> > - This includes removing old functions. Any function removal should
> > trigger a major number bump."
> >
> > There is also an offset when applying patch-libr_Makefile which suggests
> > patches haven't been updated properly.
> >
> > : Patching file libr/Makefile using Plan A...
> > : Hunk #1 succeeded at 213 (offset 12 lines).
> > : done
> >
> > > Looks good diff-wise, but the build fails for me.
> > >
> > > (I don't have the old version installed)
> > >
> > > I'm running:
> > > OpenBSD 6.4-current (GENERIC.MP) #493: Wed Dec  5 22:00:48 MST 2018
> >
> > It does build ok for me on amd64 here. (It's one of those annoying ports
> > that fails if the old version is installed but that's a different error).
> >
> > Full working build log at https://junkpile.org/radare2-3.1.0.log if you
> > want to diff and see if anything becomes apparent ..
> >
> > > ---8<---
> > > ...
> > > gmake -C binr
> > > gmake[1]: Entering directory
> > > '/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/binr'
> > > gmake[2]: Entering directory
> > > '/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/binr/rax2'
> > > cc -c -O2 -pipe -O2 -pipe -O2 -pipe -MD   -fPIC -g -Wall -D__UNIX__=1
> > > -O2 -pipe -MD   -fPIC -g -Wall -D__UNIX__=1 -O2 -pipe -MD   -fPIC -g
> > > -Wall  -D__UNIX__=1
> > > -I/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/libr/..//libr/include -o
> > > rax2.o rax2.c
> > > cc -O2 -pipe -O2 -pipe -O2 -pipe -MD   -fPIC -g -Wall -D__UNIX__=1 -O2
> > > -pipe -MD   -fPIC -g -Wall -D__UNIX__=1 -O2 -pipe -MD   -fPIC -g -Wall
> > > -D__UNIX__=1
> > > -I/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/libr/..//libr/include
> > > rax2.o -L.. -o rax2 -L/usr/local/lib  -lpthread -lm
> > > -L/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/libr/util -lr_util -fPIC
> > > -lz -lzip
> > > /usr/bin/ld: error: undefined symbol: ret_ascii_table
> > > >>> referenced by rax2.c:75
> > > >>>   rax2.o:(rax)
> > >
> > > /usr/bin/ld: error: undefined symbol: r_hex_from_code
> > > >>> referenced by rax2.c:391
> > > >>>   rax2.o:(rax)
> > >
> > > /usr/bin/ld: error: undefined symbol: r_print_hex_from_bin
> > > >>> referenced by rax2.c:469
> > > >>>   rax2.o:(rax)
> > > cc: error: linker command failed with exit code 1 (use -v to see
> > > invocation)
> > > --->8---
> > >
> > > --
> > > Best Regards
> > > Edd Barrett
> > >
> > > http://www.theunixzoo.co.uk
> > >
> >
> >


patch-radare2.diff
Description: Binary data


Re: [update] devel/radare2 3.1.0

2018-12-09 Thread David CARLIER
I retested make package from a VM and still builds for me. Is not it
the same issue than the last time ?
On Sun, 9 Dec 2018 at 15:43, Edd Barrett  wrote:
>
> On Sun, Dec 09, 2018 at 05:36:21AM +, David CARLIER wrote:
> > Hi,
> >
> > there is an update for radare2 and radare2-bindings.
>
> Looks good diff-wise, but the build fails for me.
>
> (I don't have the old version installed)
>
> I'm running:
> OpenBSD 6.4-current (GENERIC.MP) #493: Wed Dec  5 22:00:48 MST 2018
>
> ---8<---
> ...
> gmake -C binr
> gmake[1]: Entering directory
> '/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/binr'
> gmake[2]: Entering directory
> '/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/binr/rax2'
> cc -c -O2 -pipe -O2 -pipe -O2 -pipe -MD   -fPIC -g -Wall -D__UNIX__=1
> -O2 -pipe -MD   -fPIC -g -Wall -D__UNIX__=1 -O2 -pipe -MD   -fPIC -g
> -Wall  -D__UNIX__=1
> -I/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/libr/..//libr/include -o
> rax2.o rax2.c
> cc -O2 -pipe -O2 -pipe -O2 -pipe -MD   -fPIC -g -Wall -D__UNIX__=1 -O2
> -pipe -MD   -fPIC -g -Wall -D__UNIX__=1 -O2 -pipe -MD   -fPIC -g -Wall
> -D__UNIX__=1
> -I/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/libr/..//libr/include
> rax2.o -L.. -o rax2 -L/usr/local/lib  -lpthread -lm
> -L/usr/local/pobj/radare2-3.1.0/radare2-3.1.0/libr/util -lr_util -fPIC
> -lz -lzip
> /usr/bin/ld: error: undefined symbol: ret_ascii_table
> >>> referenced by rax2.c:75
> >>>   rax2.o:(rax)
>
> /usr/bin/ld: error: undefined symbol: r_hex_from_code
> >>> referenced by rax2.c:391
> >>>   rax2.o:(rax)
>
> /usr/bin/ld: error: undefined symbol: r_print_hex_from_bin
> >>> referenced by rax2.c:469
> >>>   rax2.o:(rax)
> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> --->8---
>
> --
> Best Regards
> Edd Barrett
>
> http://www.theunixzoo.co.uk



[update] devel/radare2 3.1.0

2018-12-08 Thread David CARLIER
Hi,

there is an update for radare2 and radare2-bindings.

Kind regards.


patch-radare2.diff
Description: Binary data


Re: update games/barony

2018-09-28 Thread David CARLIER
Ah you beat me I was about to post a diff too :-) worked for me too.
On Fri, 28 Sep 2018 at 22:47, Solene Rapenne  wrote:
>
> Barony has a new version. This patch gets to latest version.
>
> barony-editor was missing devel/physfs
> I had to modify the patch on CMakeLists.txt.
> I updated pkg/README because asset file name has changed.
>
> Game works, I've been able to play a game and die at first level...
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/barony/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile4 Sep 2018 12:46:12 -   1.3
> +++ Makefile28 Sep 2018 21:44:44 -
> @@ -1,6 +1,6 @@
>  # $OpenBSD: Makefile,v 1.3 2018/09/04 12:46:12 espie Exp $
>
> -V =3.1.4
> +V =3.2.2
>  COMMENT =  3D, first person roguelike
>  PKGNAME =  ${DISTNAME:L}
>  CATEGORIES =   games x11
> @@ -8,7 +8,6 @@ CATEGORIES =games x11
>  GH_ACCOUNT =   TurningWheel
>  GH_PROJECT =   Barony
>  GH_TAGNAME =   v${V}
> -REVISION = 2
>
>  HOMEPAGE = http://www.baronygame.com/
>  MAINTAINER =   David Carlier 
> @@ -17,7 +16,7 @@ MAINTAINER =  David Carlier   PERMIT_PACKAGE_CDROM = Yes
>
>  WANTLIB += ${COMPILER_LIBCXX} GL GLU SDL2 SDL2_image SDL2_net
> -WANTLIB += SDL2_ttf c execinfo m ogg openal png vorbisfile
> +WANTLIB += SDL2_ttf c execinfo m ogg openal png vorbisfile physfs
>
>  # C++11
>  COMPILER = base-clang ports-gcc
> @@ -27,6 +26,7 @@ MODULES = devel/cmake
>  LIB_DEPENDS =  audio/libvorbis \
> audio/openal \
> devel/libexecinfo \
> +   devel/physfs \
> devel/sdl2 \
> devel/sdl2-image \
> devel/sdl2-net \
> Index: distinfo
> ===
> RCS file: /cvs/ports/games/barony/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo4 May 2018 22:30:08 -   1.1.1.1
> +++ distinfo28 Sep 2018 21:44:44 -
> @@ -1,2 +1,2 @@
> -SHA256 (Barony-3.1.4.tar.gz) = vPdSJjai3CH92kcRT42cDux4yixBYT6JYxDmEQ+/BMQ=
> -SIZE (Barony-3.1.4.tar.gz) = 53299453
> +SHA256 (Barony-3.2.2.tar.gz) = Kd2HLTnqX5rg20d6nYfF58EktoDBldjNckNiH+zW2OY=
> +SIZE (Barony-3.2.2.tar.gz) = 53418154
> Index: patches/patch-CMakeLists_txt
> ===
> RCS file: /cvs/ports/games/barony/patches/patch-CMakeLists_txt,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt4 May 2018 22:30:08 -   
> 1.1.1.1
> +++ patches/patch-CMakeLists_txt28 Sep 2018 21:44:44 -
> @@ -26,7 +26,7 @@ Index: CMakeLists.txt
> endif()
> if (APPLE)
>   set (Apple 1)
> -@@ -253,7 +253,7 @@ message("${CMAKE_CXX_FLAGS_DEBUG}")
> +@@ -255,7 +255,7 @@ message("${CMAKE_CXX_FLAGS_DEBUG}")
>   message("Release flags: ")
>   message("${CMAKE_C_FLAGS_RELEASE}")
>   message("${CMAKE_CXX_FLAGS_RELEASE}")
> @@ -35,7 +35,7 @@ Index: CMakeLists.txt
>   message("***")
>
>
> -@@ -290,7 +290,7 @@ SET_SOURCE_FILES_PROPERTIES(${MACOSX_BUNDLE_ICON_FILE}
> +@@ -292,7 +292,7 @@ SET_SOURCE_FILES_PROPERTIES(${MACOSX_BUNDLE_ICON_FILE}
>   set_source_files_properties(${GAME_SOURCES} PROPERTIES COMPILE_FLAGS "-x 
> objective-c++")
>   #set_source_files_properties(${GAME_SOURCES} PROPERTIES COMPILE_FLAGS 
> "-stdlib=libc++")
>   else()
> @@ -44,7 +44,7 @@ Index: CMakeLists.txt
>   endif()
>
>   if(WIN32)
> -@@ -307,9 +307,9 @@ if(WIN32)
> +@@ -309,9 +309,9 @@ if(WIN32)
>   else()
> if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
>   # 64 bit
> @@ -56,7 +56,7 @@ Index: CMakeLists.txt
> if (STEAMWORKS_ENABLED)
>   target_link_libraries(barony ${STEAMWORKS_LIBRARY})
>   #target_link_libraries(barony ${STEAMWORKS_CWRAPPER_LIBRARIES} -lstdc++)
> -@@ -322,15 +322,15 @@ else()
> +@@ -324,16 +324,16 @@ else()
>   find_path(EXECINFO_INC NAMES execinfo.h)
>   find_library(EXECINFO_LIB NAMES execinfo)
>   include_directories(${EXECINFO_INC})
> @@ -66,18 +66,20 @@ Index: CMakeLists.txt
>   endif()
>  -target_link_libraries(barony ${OPENGL_LIBRARIES})
>  -target_link_libraries(barony ${THREADS_LIBRARIES})
> --target_link_libraries(barony -lm)
> +-target_link_libraries(barony -lm -lc)
>  +target_link_libraries(barony-bin ${OPENGL_LIBRARIES})
>  +target_link_libraries(barony-bin ${THREADS_LIBRARIES})
> -+target_link_libraries(barony-bin -lm)
> 

Re: [update] games/barony 3.2.1

2018-09-12 Thread David CARLIER
Ah right sorry. Thanks !
On Wed, 12 Sep 2018 at 20:32, Stuart Henderson  wrote:
>
> On 2018/09/12 20:25, David CARLIER wrote:
> > Nope but bcallah did a (fixed) one in the previous message.
> > On Wed, 12 Sep 2018 at 20:16, Stuart Henderson  wrote:
> > >
> > > On 2018/09/12 18:43, David CARLIER wrote:
> > > > Hi,
> > > >
> > > > Is there anyone nice enough to commit the last diff ? :-)
> > > >
> > > > Thanks.
> > > >
> > > > Regards.
> > > >
> > >
> > > Diff is missing from your mail?
> > >
> >
>
> Oh. It's a new thread, I did have a few minutes to review but don't
> really have time to dig around archives to look for it. The easier you
> make it for committers, the more chance of things getting in,
>



Re: [update] games/barony 3.2.1

2018-09-12 Thread David CARLIER
Nope but bcallah did a (fixed) one in the previous message.
On Wed, 12 Sep 2018 at 20:16, Stuart Henderson  wrote:
>
> On 2018/09/12 18:43, David CARLIER wrote:
> > Hi,
> >
> > Is there anyone nice enough to commit the last diff ? :-)
> >
> > Thanks.
> >
> > Regards.
> >
>
> Diff is missing from your mail?
>



[update] games/barony 3.2.1

2018-09-12 Thread David CARLIER
Hi,

Is there anyone nice enough to commit the last diff ? :-)

Thanks.

Regards.



Re: [update] games/barony 3.2.1

2018-09-07 Thread David CARLIER
Thanks ... here a newer version.
On Fri, 7 Sep 2018 at 18:01, Brian Callahan  wrote:
>
>
> On 09/07/18 11:37, Solene Rapenne wrote:
> > David CARLIER  wrote:
> >> Here attached a slightly different version of the port after Solene
> >> had kindly tested on her side, helped me to pinpoint the cause.
> >>
> >> If @thfr and/or @bcallah could give a try, would be great and would
> >> push upstream the fix if confirmed.
> >>
> >> Thanks.
> > The patch on Makefile fails
> >
> > |Index: Makefile
> > |===
> > |RCS file: /cvs/ports/games/barony/Makefile,v
> > |retrieving revision 1.2
> > |diff -u -p -r1.2 Makefile
> > |--- Makefile   5 May 2018 08:23:17 -   1.2
> > |+++ Makefile   3 Sep 2018 21:58:31 -
> > --
> > Patching file Makefile using Plan A...
> > Hunk #1 succeeded at 1 with fuzz 1.
> > Hunk #2 failed at 8.
> > Hunk #3 succeeded at 40.
> > 1 out of 3 hunks failed
> >
>
> Additionally, this is missing some LDEPS, at least one on PhysFS.
>
> CMake Error at
> /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137
> (message):
>Could NOT find PhysFS (missing: PHYSFS_LIBRARY PHYSFS_INCLUDE_DIR)
> Call Stack (most recent call first):
> /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378
> (_FPHSA_FAILURE_MESSAGE)
>cmake/Modules/FindPhysFS.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>CMakeLists.txt:150 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
>
> ~Brian


patch-games-barony.diff
Description: Binary data


Re: [update] games/barony 3.2.1

2018-09-07 Thread David CARLIER
My bad ... I redid the diff should work with this one.
On Fri, 7 Sep 2018 at 16:37, Solene Rapenne  wrote:
>
> David CARLIER  wrote:
> > Here attached a slightly different version of the port after Solene
> > had kindly tested on her side, helped me to pinpoint the cause.
> >
> > If @thfr and/or @bcallah could give a try, would be great and would
> > push upstream the fix if confirmed.
> >
> > Thanks.
>
> The patch on Makefile fails
>
> |Index: Makefile
> |===
> |RCS file: /cvs/ports/games/barony/Makefile,v
> |retrieving revision 1.2
> |diff -u -p -r1.2 Makefile
> |--- Makefile   5 May 2018 08:23:17 -   1.2
> |+++ Makefile   3 Sep 2018 21:58:31 -
> --
> Patching file Makefile using Plan A...
> Hunk #1 succeeded at 1 with fuzz 1.
> Hunk #2 failed at 8.
> Hunk #3 succeeded at 40.
> 1 out of 3 hunks failed


patch-games-barony.diff
Description: Binary data


[update] games/barony 3.2.1

2018-09-07 Thread David CARLIER
Here attached a slightly different version of the port after Solene
had kindly tested on her side, helped me to pinpoint the cause.

If @thfr and/or @bcallah could give a try, would be great and would
push upstream the fix if confirmed.

Thanks.


patch-games-barony.diff
Description: Binary data


[update] games/barony 3.2.1

2018-08-30 Thread David CARLIER
Hi,

There is an update to the 3.2.1 (got) version.
Removing the shell "trick" not necessary anymore, the game now saving
into the home directory.

Regards.


games-barony.diff
Description: Binary data


Re: [patch] audio/openal: ugly update to 1.18.2

2018-07-19 Thread David CARLIER
I do agree I tested locally the unpatched version with few softwares
and worked fine.
On Thu, 19 Jul 2018 at 11:18, Alexandre Ratchov  wrote:
>
> On Thu, Jul 19, 2018 at 11:56:14AM +0300, Leonid Bobrov wrote:
> >   From: Alexandre Ratchov 
> >
> >   On Mon, Jul 16, 2018 at 12:06:33AM +0300, Leonid Bobrov wrote:
> >   > update to openal 1.18.2 and use only portaudio?
> >
> >   What's wrong with 1.18.2's sndio bits? Is it a regression in upstream
> >   sndio support? You mentionned crashes, could you provide more details,
> >   especially what crashes, how to reproduce them so they get fixed?
> >
> > Just compile openal 1.18.2 with sndio support at any OS, then start any
> > application depending on openal and using audio input. After start you
> > get segmentation fault immediately. No need to know steps to reproduce
> > this, I am sure kcat after writting Alc/backends/sndio.c didn't try to
> > actually start any application which uses audio input.
>
> If I understand correctly, 1.18.2 playback support works, but the new
> recording support breaks few programs. If so, if we upgrade to 1.18.2
> with recording disabled, we'd get the same functionality as the
> current port. Is this correct.
>
> If so, I'd suggest to quickly switch to 1.18.2, then fix recording in
> tree on a more recent code base. Would that make sense?



Re: [patch] audio/openal: ugly update to 1.18.2

2018-07-19 Thread David CARLIER
Hi Leonid.
 No need to know steps to reproduce
> this, I am sure kcat after writting Alc/backends/sndio.c didn't try to

Did he ? I know him enough as he s more into Linux (we "see" each
other occasionally into gzdoom and openal)
but maybe you re right.

> actually start any application which uses audio input.

The more I read the messages I start to think like others, personal
settings issues. I feel hopeful having pure sndio play/record finally,
changing my mind :-).



Re: [update] www/apache-httpd

2018-07-15 Thread David CARLIER
I did make package and started one time.
On Sun, 15 Jul 2018 at 12:55, Marc Espie  wrote:
>
> On Sun, Jul 15, 2018 at 11:17:36AM +0100, David CARLIER wrote:
> > Hi,
> >
> > Here a proposal to update to the last version.
> > Comes with one less libressl related patch.
> >
> > Regards.
>
> There are more than 65 direct consumers of apache-httpd.
> I haven't even looked at indirect consumers.
>
> Did you test that these still build and work ?
>



Re: [update]: devel/physfs 3.0.1

2018-07-15 Thread David CARLIER
Yes @espie already warned me about this, sorry for that.
On Sun, 15 Jul 2018 at 11:20, Jeremie Courreges-Anglas  wrote:
>
> On Tue, Jul 10 2018, David CARLIER  wrote:
> > Here the dpb output
> >
> > Elapsed time=00:54:19
> >
> > I=1 B=0 Q=0 T=306 F=0 !=0
>
> espie@ committed a fix for devel/sdl-sound, which was broken by this
> physfs-3.0.1 update (use of not-really-public physfs defines which have
> been renamed since ~9 years).
>
> I'm astonished by my unability to read: your dpb run was completely
> broken and it explicitely lists some of the consumers of physfs as
> broken even before build.  Yet, "Here's the dpb output" without any
> mention of a problem kinda implied that you had checked all consumers.
> I should know better.
>
> Next time please make it explicit what you have successfully tested or
> not, and check that information twice!
>
> > E=devel/spidermonkey52:firefox-52.8.1esr.source.tar.xz
> > x11/ogre,-main:ogre-1.9.0.tar.gz
> > games/sumwars:sumwars-0.5.8-src.tar.bz2
> > devel/boost:boost_1_66_0.tar.bz2
> > databases/mariadb,-tests:mariadb-10.0.34.tar.gz
> > games/warzone2100:warzone2100-3.2.3.tar.xz
> > print/foomatic-db:foomatic-db-4.0-20180228.tar.gz
> > textproc/mupdf:mupdf-1.13.0-source.tar.gz
> > graphics/cairo:cairo-1.14.12.tar.xz
> > games/lincity-ng:lincity-ng-2.0.tar.bz2
> > x11/irrlicht:irrlicht-1.8.4.zip
> > print/ghostscript/gnu:ghostscript-9.07.tar.gz
> > databases/postgresql:postgresql-10.4.tar.gz
> > databases/postgresql-previous:postgresql-9.6.6.tar.gz
> > textproc/icu4c,-wwwdata:icu4c-58_2-src.tgz
> > archivers/brotli:brotli-1.0.4.tar.gz
> > games/dxx-rebirth:dxx-rebirth_v0.60-weekly-11-08-17-src.tar.gz
> > lang/python/3.6,-tkinter:Python-3.6.6.tgz
> > x11/gnome/adwaita-icon-theme:gnome/adwaita-icon-theme-3.28.0.tar.xz
> > x11/gtk+3,-cups:gtk+-3.22.30.tar.xz
> > graphics/openexr,-main:openexr-2.2.1.tar.gz
> > x11/gnome/icon-theme:gnome/gnome-icon-theme-3.12.0.tar.xz
> > x11/cegui:cegui-0.8.7.tar.bz2 x11/gtk+2,-main:gtk+-2.24.32.tar.xz
> > lang/python/2.7,-bsddb:Python-2.7.15.tgz
> > lang/php/7.0,-pgsql:php-7.0.30.tar.bz2 graphics/lcms2:lcms2-2.9.tar.gz
> > databases/db/v4,bootstrap,no_java,no_tcl,-java:db-4.6.21.tar.gz
> > devel/gettext:gettext-0.19.8.1.tar.xz
> > print/cups,-libs:cups-2.2.8.tar.gz
> > www/apache-httpd,-common:httpd-2.4.33.tar.gz
> > devel/sdl2-image:SDL2_image-2.0.3.tar.gz print/qpdf:qpdf-8.1.0.tar.gz
> > devel/glib2:glib-2.56.1.tar.xz devel/cmake:cmake-3.10.2.tar.gz
> > security/gnutls:gnutls-3.5.18.tar.xz
> > security/py-cryptodome,python3:pycryptodome-3.6.2.tar.gz
> > x11/p5-Tk:Tk-804.033.tar.gz devel/py-babel:Babel-2.4.0.tar.gz
> > sysutils/e2fsprogs:e2fsprogs-1.42.12.tar.gz
> > net/net-snmp,-main:net-snmp-5.8.rc4.tar.gz
> > graphics/gdk-pixbuf2:gdk-pixbuf-2.36.12.tar.xz
> > archivers/libarchive:libarchive-3.3.2.tar.gz
> > databases/openldap:openldap-2.4.46.tgz
> > textproc/libxml,-python:libxml2-2.9.8.tar.gz
> > devel/sdl2:SDL2-2.0.8.tar.gz math/py-numpy:numpy-1.14.5.zip
> > mail/alpine,-pilot:alpine-2.21.tar.xz
> > graphics/freeimage:FreeImage3152.zip
> > databases/freetds:freetds-0.95.95.tar.gz
> > textproc/py-sphinx:Sphinx-1.4.8.tar.gz
> > audio/libsamplerate:libsamplerate-0.1.9.tar.gz
> > graphics/graphite2:graphite2-1.3.11.tgz
> > devel/sdl2-ttf:SDL2_ttf-2.0.14.tar.gz
> > converters/libunistring:libunistring-0.9.7.tar.gz
> > x11/tk/8.5:tk8.5.19-src.tar.gz devel/sdl-ttf:SDL_ttf-2.0.11.tar.gz
> > graphics/libwebp:libwebp-0.6.1.tar.gz devel/sdl:SDL-1.2.15.tar.gz
> > devel/harfbuzz,-main:harfbuzz-1.8.2.tar.bz2
> > graphics/glm:glm-0.9.8.5.tar.gz
> > devel/sdl-mixer:SDL_mixer-1.2.12.tar.gz
> > security/libgcrypt:libgcrypt-1.8.3.tar.gz
> > textproc/libxslt,-main:libxslt-1.1.32.tar.gz
> > graphics/DevIL:DevIL-1.7.8.zip lang/vala:vala-0.40.7.tar.xz
> > devel/bison:bison-3.0.4.tar.gz
> > devel/libtool,-ltdl:libtool-2.4.2.tar.gz
> > games/solarus/solarus:solarus-1.5.3-src.tar.gz
> > databases/sqlite3:sqlite-autoconf-324.tar.gz
> > www/lynx:lynx2.8.9dev.19.tar.bz2 net/curl:curl-7.60.0.tar.xz
> > graphics/tiff:tiff-4.0.9.tar.gz
> > devel/sdl-image:SDL_image-1.2.12.tar.gz devel/gmp:gmp-6.1.2.tar.xz
> > graphics/openjp2:openjp2-2.3.0.tar.gz devel/pcre2:pcre2-10.31.tar.gz
> > textproc/py-pygments:Pygments-2.1.3.tar.gz
> > devel/fribidi:fribidi-1.0.4.tar.gz x11/dbus,-suid:dbus-1.12.8.tar.gz
> > security/libnettle:nettle-3.4.tar.gz
> > devel/autoconf/2.69:autoconf-2.69.tar.gz
> > devel/autoconf/2.68:autoconf-2.68.tar.gz
> > multimedia/libtheora:lib

[update] www/apache-httpd

2018-07-15 Thread David CARLIER
Hi,

Here a proposal to update to the last version.
Comes with one less libressl related patch.

Regards.


www-apache-httpd.diff
Description: Binary data


Re: [patch] audio/openal: ugly update to 1.18.2

2018-07-15 Thread David CARLIER
> >
>
> The first diff I've sent is perfect, should I resend it at every mail
> if I didn't change anything else? Very well:

As said by others and me if your changes are ok, we ll ok and someone
will commit it. I understand your frustration with the kernel panics
but
no need to get emotional. Better if someone else reviews the dpb I m
not good at it neither.



Re: [patch] audio/openal: ugly update to 1.18.2

2018-07-15 Thread David CARLIER
>
> If staying at 1.17.2 is fine, go ahead and commit this diff:
> https://marc.info/?l=openbsd-ports=152812456419295=2
>
> openal-soft "supports" sndio, I don't know why they commited code that
> only crashes. I created an issue at their github repo - no replies:
> https://github.com/kcat/openal-soft/issues/198

Saying it does not work only is not helpful to the main openal
maintainer in another hand, at least a full backtrace would do.



Re: [patch] audio/openal: ugly update to 1.18.2

2018-07-11 Thread David CARLIER
That s my preferable approach honestly, portaudio backend is good
enough, but I understand if you both still want to push further tests
with the patch. Regards.
On Wed, 11 Jul 2018 at 10:27, Leonid Bobrov  wrote:
>
> On Mon, Jun 25, 2018 at 03:18:36PM +0300, Leonid Bobrov wrote:
> > On Thu, Jun 21, 2018 at 08:44:29AM +0200, Alexandre Ratchov wrote:
> > > On Wed, Jun 06, 2018 at 04:11:17PM +0300, Leonid Bobrov wrote:
> > > > On Tue, Jun 05, 2018 at 08:01:12AM +0200, Alexandre Ratchov wrote:
> > > > > I installed utox, it doesn't crash with the diff below anymore. The
> > > > > "Preview" button in the "Audio & Video" settings records my voice.
> > > > >
> > > >
> > > > Ok, I tested your diff using Toxic at virtual machine. Voice recording
> > > > works, but when I finish a call, I get segmentation fault (and I got
> > > > bus error once).
> > >
> > > Any update on this? does it work on real machines?
> > >
> > > If utox keeps crashing, could you provide a stack trace?
> > >
> >
> > Hi!
> >
> > I made a test at real machine, I didn't say uTox crash. I tested it
> > right now, uTox works fine. I said Toxic crashes and it keeps crashing.
> > This is a nightmare because this made kernel panic, I couldn't reboot
> > properly and now my filesystem is corrupted...
> >
> > Anyway, after applying your patch and setting MODCMAKE_DEBUG to Yes
> > at audio/openal this is what I get at Toxic after finishing audiocall:
> > (note that Toxic is built with -g flag by default)
> >
> > (gdb) bt
> > #0  0x1c9f6b91f51b in ALCdevice_Lock ()
> >from /usr/local/lib/libopenal.so.3.0
> > #1  0x1c9f6b947064 in sndio_proc_capture ()
> >from /usr/local/lib/libopenal.so.3.0
> > #2  0x1c9f6b9475f8 in althrd_starter ()
> >from /usr/local/lib/libopenal.so.3.0
> > #3  0x1c9f475365ae in _rthread_start (v=Variable "v" is not available.
> > )
> > at /usr/src/lib/librthread/rthread.c:96
> > #4  0x1c9fe61c500b in __tfork_thread ()
> > at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
> > #5  0x in ?? ()
> > (gdb) bt full
> > #0  0x1c9f6b91f51b in ALCdevice_Lock ()
> >from /usr/local/lib/libopenal.so.3.0
> > No symbol table info available.
> > #1  0x1c9f6b947064 in sndio_proc_capture ()
> >from /usr/local/lib/libopenal.so.3.0
> > No symbol table info available.
> > #2  0x1c9f6b9475f8 in althrd_starter ()
> >from /usr/local/lib/libopenal.so.3.0
> > No symbol table info available.
> > #3  0x1c9f475365ae in _rthread_start (v=Variable "v" is not available.
> > )
> > at /usr/src/lib/librthread/rthread.c:96
> > thread = Variable "thread" is not available.
> > (gdb)
> >
>
> So, what's next?
>
> I finally gave 100G to /usr/local, so I can build and install all ports
> depending on openal there after updating openal to 1.18.2 and using
> portaudio backend.
>



Re: [update]: devel/physfs 3.0.1

2018-07-10 Thread David CARLIER
.tar.gz
devel/autoconf/2.13:autoconf-2.13.tar.gz
devel/libsigsegv:libsigsegv-2.12.tar.gz print/ijs:ijs-0.35.tar.gz
devel/libdaemon:libdaemon-0.14.tar.gz
security/rhash:rhash-1.3.5-src.tar.gz lang/lua/5.2:lua-5.2.4.tar.gz
textproc/p5-XML-Parser:XML-Parser-2.44.tar.gz
lang/lua/5.1:lua-5.1.5.tar.gz
databases/p5-SQL-Statement:SQL-Statement-1.407.tar.gz
textproc/p5-XML-SAX:XML-SAX-0.99.tar.gz
textproc/p5-XML-SAX-Base:XML-SAX-Base-1.09.tar.gz
converters/sqlite2mdoc:sqlite2mdoc-0.1.4.tar.gz
textproc/p5-XML-NamespaceSupport:XML-NamespaceSupport-1.12.tar.gz
devel/p5-Devel-CheckLib:Devel-CheckLib-1.02.tar.gz
textproc/p5-XML-SAX-Expat:XML-SAX-Expat-0.51.tar.gz
mail/femail,-main:femail-1.0.tgz
devel/libexecinfo:backtrace-0.3.tar.gz
games/blobby:blobby2-linux-1.0rc3.tar.gz
devel/sdl-sound:SDL_sound-1.0.3.tar.gz
On Sat, 7 Jul 2018 at 20:42, David CARLIER  wrote:
>
> Here a proposal to update to newer version.
>
> Kind regards.



[update]: devel/physfs 3.0.1

2018-07-07 Thread David CARLIER
Here a proposal to update to newer version.

Kind regards.


patch-devel-physfs.diff
Description: Binary data


Re: NEW games/gzdoom

2018-07-06 Thread David CARLIER
If it does you can always cherry-pick this commit.

https://github.com/coelckers/gzdoom/commit/2a59327aebcdea245c96dddcb255ed15f8c38c05

Cheers.
On Thu, 5 Jul 2018 at 20:17, David CARLIER  wrote:
>
> HI,
>
> Sorry to intervene but
>
> All games work except hexen, hexen crashes before the screen draws:
> gzdoom(99905) in free(): bogus pointer 0x1cd85b39e008
> The process was killed by SIGABRT: Abort trap
>
>
> Is changing the line into the file rawpagetexture.cpp
>
> {
>   free(foo);
>
> to
> {
>  M_Free(foo);
>
> is solving the issue ?
>
> Kind regards.



Re: NEW games/gzdoom

2018-07-05 Thread David CARLIER
HI,

Sorry to intervene but

All games work except hexen, hexen crashes before the screen draws:
gzdoom(99905) in free(): bogus pointer 0x1cd85b39e008
The process was killed by SIGABRT: Abort trap


Is changing the line into the file rawpagetexture.cpp

{
  free(foo);

to
{
 M_Free(foo);

is solving the issue ?

Kind regards.



update lang/pypy

2018-06-12 Thread David CARLIER
ping :)



Re: [patch] audio/openal: ugly update to 1.18.2

2018-06-04 Thread David CARLIER
Looks ok to me.

On Mon, 4 Jun 2018 at 12:41, Leonid Bobrov  wrote:

> I'm not sure this is correct, but here is output:
>
> mazocomp$ cat openal.packages
> emulators/fs-uae
> emulators/higan
> emulators/retroarch
> games/0ad/base
> games/arx-libertatis
> games/astromenace
> games/barony
> games/dhewm3
> games/dustrac
> games/fifengine
> games/fs2open
> games/gemrb
> games/ioquake3
> games/irrlamb
> games/love
> games/lugaru
> games/lwjgl
> games/megaglest/base
> games/minetest
> games/openmw
> games/scorched3d
> games/solarus/solarus
> games/spacezero
> games/supertux
> games/supertuxkart
> games/taisei
> games/tome4
> games/ufoai/base,-editor
> games/valyriatear
> games/vegastrike/engine
> games/warzone2100
> games/yquake2
> graphics/blender
> graphics/simgear
> multimedia/sfml
> x11/kde4/libkdegames
> mazocomp$ doas dpb openal.packages
> Started as: root
> Port user: root
> Build user: _pbuild
> Fetch user: _pfetch
> Log user: _pbuild
> Unpriv user: _dpb
> Reading build stats...zapping old stuff...Done
> zap duplicates...Done
> Waiting for hosts to finish STARTUP...ready on localhost
> 4 Jun 14:17:59 [74151] running for 01:01:58
>
> Hosts: localhost
> I=0 B=0 Q=0 T=475 F=0 !=0
> L=backtrace-0.3.tar.gz.dist
> E=games/ufoai/data:ufoai-2.5-data.tar
> games/supertuxkart:supertuxkart-0.9.3-src.tar.xz
> games/vegastrike/data:vegastrike-data-0.5.1.r1.tar.bz2
> games/tome4,-data:t-engine4-src-1.5.10.tar.bz2
> games/megaglest/data:megaglest-data-3.
> 13.0.tar.gz x11/qt4,-sqlite2:qt-everywhere-opensource-src-4.8.7.tar.gz
> devel/spidermonkey52:firefox-52.7.3esr.source.tar.xz
> x11/ogre,-samples:ogre-1.9.0.tar.gz
> games/valyriatear:ValyriaTear-1.0.0.tar.gz games/taisei:taisei-1.0a
> .tar.gz games/supertux:SuperTux-v0.5.1-Source.tar.gz
> devel/boost:boost_1_66_0.tar.bz2
> games/warzone2100:warzone2100-3.2.3.tar.xz
> databases/mariadb,-main:mariadb-10.0.34.tar.gz
> print/foomatic-db:foomatic-db-4.0-20180228.tar.gz d
> evel/bullet:bullet-2.87.tar.gz
> games/astromenace:astromenace-src-1.3.2.tar.bz2
> games/barony:Barony-3.1.4.tar.gz
> textproc/mupdf:mupdf-1.13.0-source.tar.gz
> graphics/blender:blender-2.79.tar.gz databases/postgresql:postgresql-10.4
> .tar.gz games/scorched3d:Scorched3D-44-src.tar.gz
> graphics/cairo:cairo-1.14.12.tar.xz games/lugaru:lugaru-1.2.tar.xz
> print/ghostscript/gnu:ghostscript-9.07.tar.gz
> games/0ad/base:0ad-0.0.22-alpha-unix-build.tar.gz geo/gdal,-pyth
> on:gdalautotest-2.3.0.tar.gz x11/irrlicht:irrlicht-1.8.4.zip
> graphics/openimageio:openimageio-1.8.6.tar.gz
> databases/postgresql-previous:postgresql-9.6.6.tar.gz
> multimedia/sfml:SFML-2.4.0-sources.zip games/ufoai/base:ufoai-2.5-
> source.tar.bz2 archivers/brotli:brotli-1.0.4.tar.gz
> textproc/icu4c,-main:icu4c-58_2-src.tgz
> textproc/texi2html:texi2html-5.0.tar.gz
> lang/python/3.6,-idle:Python-3.6.5.tgz x11/vlc:vlc-2.2.8.tar.xz
> devel/mygui:mygui-3.2.2.tar.gz
> x11/gtk+3,-guic:gtk+-3.22.30.tar.xz
> emulators/retroarch:retroarch-1.7.2.tar.gz
> x11/wxWidgets:wxWidgets-2.8.12.tar.gz
> games/dustrac:DustRacing2D-1.13.0.tar.gz
> graphics/openexr,-main:openexr-2.2.1.tar.gz lang/php/7.0,-pdo_sqlite:
> php-7.0.30.tar.bz2 lang/python/2.7,-tkinter:Python-2.7.15.tgz
> games/fifengine:fifengine-0.4.1.tar.gz games/lwjgl:lwjgl2.9.3.tar.gz
> geo/gdal,-python:gdal-2.3.0.tar.gz lang/ruby/2.4,-gdbm:ruby-2.4.4.tar.gz
> graphics/opencolorio:Op
> enColorIO-20140911.tar.gz x11/gtk+2:gtk+-2.24.32.tar.xz
> games/gemrb:gemrb-0.8.5.tar.gz
> databases/db/v4,bootstrap,no_java,no_tcl,-tcl:db-4.6.21.tar.gz
> games/ioquake3:ioquake3-2018.04.13-3377f998.tar.gz
> graphics/lcms2:lcms2-2.9.t
> ar.gz games/vegastrike/engine:vegastrike-src-0.5.1.r1.tar.bz2
> print/cups,-main:cups-2.2.7.tar.gz
> devel/gettext-tools:gettext-0.19.8.1.tar.xz
> www/apache-httpd:httpd-2.4.33.tar.gz
> games/fs2open:fs2_open_3_8_0-source-Unix_1.tar.gz
>  devel/sdl2-image:SDL2_image-2.0.3.tar.gz
> games/minetest:minetest-0.4.14.tar.gz devel/swig:swig-3.0.12.tar.gz
> devel/glib2:glib-2.56.1.tar.xz print/qpdf:qpdf-8.0.2.tar.gz
> devel/cmake:cmake-3.10.2.tar.gz security/gnutls:gnutls-3.
> 5.18.tar.xz security/py-cryptodome,python3:pycryptodome-3.6.1.tar.gz
> x11/p5-Tk:Tk-804.033.tar.gz graphics/ffmpeg:ffmpeg-git-20180219.tar.xz
> devel/py-babel:Babel-2.4.0.tar.gz security/gnupg2:gnupg-2.2.6.tar.bz2
> devel/proj:proj-d
> atumgrid-1.7.tar.gz lang/gawk:gawk-4.2.1.tar.gz
> net/net-snmp,-tkmib:net-snmp-5.8.rc3.tar.gz
> sysutils/e2fsprogs:e2fsprogs-1.42.12.tar.gz
> archivers/libarchive:libarchive-3.3.2.tar.gz
> databases/openldap:openldap-2.4.46.tgz graphic
> s/openscenegraph:openscenegraph-3.4.1.tar.gz
> graphics/exiv2:exiv2-0.26-trunk.tar.gz
> graphics/gdk-pixbuf2:gdk-pixbuf-2.36.12.tar.xz
> devel/apache-ant:apache-ant-1.10.3-bin.tar.bz2
> textproc/libxml,-main:libxml2-2.9.8.tar.gz games/
> dhewm3:dhewm3-1.4.1.tar.gz security/gnupg:gnupg-1.4.22.tar.gz
> games/openmw:openmw-0.43.0.tar.gz devel/sdl2:SDL2-2.0.8.tar.gz
> mail/alpine,-mailutil:alpine-2.21.tar.xz devel/libidn:libidn-1.35.tar.gz
> 

Re: [patch] audio/openal: ugly update to 1.18.2

2018-06-04 Thread David CARLIER
On Mon, 4 Jun 2018 at 12:05, Stuart Henderson  wrote:

> On 2018/06/04 10:31, Leonid Bobrov wrote:
>
> Wouldn't it be better to add record support to the sndio backend?
>
>
I remember the previous maintainer have tried unsuccessfully. But opener's
architecture has changed since maybe it s more doable now.


Re: [patch] audio/openal: ugly update to 1.18.2

2018-06-04 Thread David CARLIER
1/ Finding out the list of packages dependent on openal
2/ Putting it on the file to give to dpb

Does not take days :) I did exactly that for the last significant update of
openal months ago.
Just to make sure no package is broken because of api made obsolete for
example ... etc ...

Regards.

On Mon, 4 Jun 2018 at 09:22, Leonid Bobrov  wrote:

> On Mon, Jun 04, 2018 at 08:55:41AM +0100, David CARLIER wrote:
> > It is more building ports using openal in fact.
> >
>
> Should I compile all ports using openal or just several ones and test
> them? If all, that may take days :)
>
> Ok, I'll compile few ports.
>


Re: [patch] audio/openal: ugly update to 1.18.2

2018-06-04 Thread David CARLIER
It is more building ports using openal in fact.

On Mon, 4 Jun 2018 at 08:48, Leonid Bobrov  wrote:

> On Mon, Jun 04, 2018 at 08:44:49AM +0100, David CARLIER wrote:
> > Yes the final one please. If it is as expected I would not be against
> > updating to the 1.18 branch though.
> >
>
> I didn't read dpb's man page yet (I'm not fast at reading), so:
>
> mazocomp$ doas infrastructure/bin/dpb audio/openal
> doas (mazoc...@mazocomp.lan) password:
> Started as: root
> Port user: root
> Build user: _pbuild
> Fetch user: _pfetch
> Log user: _pbuild
> Unpriv user: _dpb
> Reading build stats...zapping old stuff...Done
> zap duplicates...Done
> Waiting for hosts to finish STARTUP...ready on localhost
> 4 Jun 10:28:35 [46648] running for 00:08:27
>
> Hosts: localhost
> I=0 B=0 Q=0 T=52 F=0 !=0
> E=devel/gettext:gettext-0.19.8.1.tar.xz lang/python/3.6,-tkinter:
> Python-3.6.5.tg
> z lang/python/2.7,-tests:Python-2.7.15.tgz
> databases/db/v4,bootstrap,no_java,no_
> tcl,-main:db-4.6.21.tar.gz devel/cmake:cmake-3.10.2.tar.gz
> devel/libtool:libtool
> -2.4.2.tar.gz devel/py-babel:Babel-2.4.0.tar.gz
> archivers/libarchive:libarchive-
> 3.3.2.tar.gz textproc/py-sphinx:Sphinx-1.4.8.tar.gz
> x11/tk/8.5:tk8.5.19-src.tar.
> gz devel/autoconf/2.69:autoconf-2.69.tar.gz net/curl:curl-7.60.0.tar.xz
> textproc
> /py-pygments:Pygments-2.1.3.tar.gz
> devel/autoconf/2.67:autoconf-2.67.tar.gz deve
> l/automake/1.14:automake-1.14.1.tar.xz
> textproc/py-docutils:docutils-0.12.tar.gz
>  audio/portaudio-svn:pa_stable_v19_20140130.tgz
> devel/gmake:make-4.2.1.tar.bz2 d
> evel/meson:meson-0.46.1.tar.gz databases/gdbm:gdbm-1.14.1.tar.gz
> textproc/py-sph
> inx_rtd_theme:sphinx_rtd_theme-0.2.4.tar.gz
> devel/libuv:libuv-v1.19.1.tar.gz dev
> el/help2man:help2man-1.47.6.tar.xz
> devel/py-setuptools:setuptools-39.0.1.zip tex
> tproc/py-stemmer:PyStemmer-1.3.0.tar.gz archivers/lz4:lz4-1.8.2.tar.gz
> devel/py-
> tz:pytz-2018.3.tar.gz www/py-jinja2:Jinja2-2.10.tar.gz
> devel/jsoncpp:jsoncpp-1.8
> .4.tar.gz converters/libiconv:libiconv-1.14.tar.gz
> devel/ninja:ninja-1.8.2.tar.g
> z textproc/py-snowballstemmer:snowballstemmer-1.2.1.tar.gz
> databases/db/v4,boots
> trap,no_java,no_tcl,-main:patch.4.6.21.4 devel/py-six:six-1.11.0.tar.gz
> textproc
> /py-MarkupSafe:MarkupSafe-1.0.tar.gz
> textproc/py-alabaster:alabaster-0.7.10.tar.
> Elapsed time=00:08:27
> I=0 B=0 Q=0 T=52 F=0 !=0
> E=devel/gettext:gettext-0.19.8.1.tar.xz
> lang/python/3.6,-tkinter:Python-3.6.5.tgz
> lang/python/2.7,-tests:Python-2.7.15.tgz
> databases/db/v4,bootstrap,no_java,no_tcl,-main:db-4.6.21.tar.gz
> devel/cmake:cmake-3.10.2.tar.gz devel/libtool:libtool-2.4.2.tar.gz
> devel/py-babel:Babel-2.4.0.tar.gz
> archivers/libarchive:libarchive-3.3.2.tar.gz
> textproc/py-sphinx:Sphinx-1.4.8.tar.gz x11/tk/8.5:tk8.5.19-src.tar.gz
> devel/autoconf/2.69:autoconf-2.69.tar.gz net/curl:curl-7.60.0.tar.xz
> textproc/py-pygments:Pygments-2.1.3.tar.gz
> devel/autoconf/2.67:autoconf-2.67.tar.gz
> devel/automake/1.14:automake-1.14.1.tar.xz
> textproc/py-docutils:docutils-0.12.tar.gz
> audio/portaudio-svn:pa_stable_v19_20140130.tgz
> devel/gmake:make-4.2.1.tar.bz2 devel/meson:meson-0.46.1.tar.gz
> databases/gdbm:gdbm-1.14.1.tar.gz
> textproc/py-sphinx_rtd_theme:sphinx_rtd_theme-0.2.4.tar.gz
> devel/libuv:libuv-v1.19.1.tar.gz devel/help2man:help2man-1.47.6.tar.xz
> devel/py-setuptools:setuptools-39.0.1.zip
> textproc/py-stemmer:PyStemmer-1.3.0.tar.gz
> archivers/lz4:lz4-1.8.2.tar.gz devel/py-tz:pytz-2018.3.tar.gz
> www/py-jinja2:Jinja2-2.10.tar.gz devel/jsoncpp:jsoncpp-1.8.4.tar.gz
> converters/libiconv:libiconv-1.14.tar.gz devel/ninja:ninja-1.8.2.tar.gz
> textproc/py-snowballstemmer:snowballstemmer-1.2.1.tar.gz
> databases/db/v4,bootstrap,no_java,no_tcl,-main:patch.4.6.21.4
> devel/py-six:six-1.11.0.tar.gz
> textproc/py-MarkupSafe:MarkupSafe-1.0.tar.gz
> textproc/py-alabaster:alabaster-0.7.10.tar.gz
> graphics/py-imagesize:imagesize-0.7.1.tar.gz
> databases/db/v4,bootstrap,no_java,no_tcl,-main:patch.4.6.21.1
> databases/db/v4,bootstrap,no_java,no_tcl,-main:patch.4.6.21.3
> databases/db/v4,bootstrap,no_java,no_tcl,-main:patch.4.6.21.2.fixed
> devel/re2c:re2c-1.0.3.tar.gz lang/tcl/8.5:tcl8.5.19-src.tar.gz
> www/nghttp2:nghttp2-1.32.0.tar.gz
> databases/sqlite3:sqlite-autoconf-3230100.tar.gz
> devel/metaauto:pkg-config-0.27.1.tar.gz archivers/unzip:unzip60.tar.gz
> archivers/xz:xz-5.2.4.tar.gz security/rhash:rhash-1.3.5-src.tar.gz
> devel/libffi:libffi-3.2.1.tar.gz archivers/bzip2:bzip2-1.0.6.tar.gz
> audio/openal:openal-soft-1.18.2.tar.bz2
> mazocomp$
>


Re: [patch] audio/openal: ugly update to 1.18.2

2018-06-04 Thread David CARLIER
Yes the final one please. If it is as expected I would not be against
updating to the 1.18 branch though.

On Mon, 4 Jun 2018 at 08:38, Leonid Bobrov  wrote:

> About infrastracture/bin/dpb, should I send any output?
>


Re: [patch] audio/openal: ugly update to 1.18.2

2018-06-03 Thread David CARLIER
Hi

On Mon, 4 Jun 2018 at 02:30, Leonid Bobrov  wrote:

> Hi!
>
> audio/openal still doesn't support sndio (how many years?),


What do you mean ?


> so I came
> up with temporary fix: use portaudio backend (yes, error of the past).
>
> I use Tox chat, it's very critical for me to have working audio input
> right now (well, Tox itself is clear, its clients prefer openal).
>
> BTW, by looking at this port's commit history, I'm confused what to do
> with SHARED_LIBS variable, so I added +1 to major.
>


Beyond that, there is a need to test build against softwares dependant on
this package.

>
> Index: Makefile
> ===
> RCS file: /cvs/ports/audio/openal/Makefile,v
> retrieving revision 1.50
> diff -u -p -u -p -r1.50 Makefile
> --- Makefile31 Dec 2017 18:46:26 -  1.50
> +++ Makefile4 Jun 2018 01:16:29 -
> @@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s
>
>  COMMENT =  cross-platform 3D audio API
>
> -V =1.17.2
> +V =1.18.2
>  EPOCH =0
>  DISTNAME = openal-soft-$V
>  PKGNAME =  openal-$V
>  CATEGORIES =   audio
> -SHARED_LIBS =  openal  3.0
> -REVISION = 0
> +SHARED_LIBS =  openal  4.0
>
>  HOMEPAGE = http://kcat.strangesoft.net/openal.html
>
> @@ -19,7 +18,7 @@ MAINTAINER =  David Carlier   # LGPLv2+
>  PERMIT_PACKAGE_CDROM = Yes
>
> -WANTLIB += c m pthread sndio ${COMPILER_LIBCXX}
> +WANTLIB += c m portaudio pthread
>
>  MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,}
>  EXTRACT_SUFX = .tar.bz2
> @@ -29,7 +28,7 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
> -DALSOFT_DLOPEN=Off \
> -DALSOFT_UTILS=On \
> -DALSOFT_EXAMPLES=Off \
> -   -DALSOFT_REQUIRE_SNDIO=On \
> +   -DALSOFT_REQUIRE_PORTAUDIO=On \
> -DALSOFT_BACKEND_WAVE=Off \
> -DALSOFT_CPUEXT_SSE=Off \
> -DALSOFT_CPUEXT_SSE2=Off \
> @@ -39,12 +38,13 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
> -DCMAKE_DISABLE_FIND_PACKAGE_AudioIO:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_JACK:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_OSS:Bool=Yes \
> -   -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \
> +   -DCMAKE_DISABLE_FIND_PACKAGE_SoundIO:Bool=Yes \
> -DALSOFT_NO_CONFIG_UTIL=On
>
>  MODULES =  devel/cmake
> +LIB_DEPENDS =  audio/portaudio-svn
>
>  COMPILER = base-clang ports-clang ports-gcc
>
> Index: distinfo
> ===
> RCS file: /cvs/ports/audio/openal/distinfo,v
> retrieving revision 1.10
> diff -u -p -u -p -r1.10 distinfo
> --- distinfo15 Nov 2017 13:02:42 -  1.10
> +++ distinfo4 Jun 2018 01:16:29 -
> @@ -1,2 +1,2 @@
> -SHA256 (openal-soft-1.17.2.tar.bz2) =
> o0H4VC8fC4xlJBoX2hPQc/GOwGZY4aFgao7Mi7wrMxQ=
> -SIZE (openal-soft-1.17.2.tar.bz2) = 486934
> +SHA256 (openal-soft-1.18.2.tar.bz2) =
> n4rB4n+6FaWXWKE/DH9lQKBgW2w6aR3vnUIFcFBtfoI=
> +SIZE (openal-soft-1.18.2.tar.bz2) = 639420
> Index: patches/patch-Alc_ALc_c
> ===
> RCS file: patches/patch-Alc_ALc_c
> diff -N patches/patch-Alc_ALc_c
> --- patches/patch-Alc_ALc_c 31 Dec 2017 18:46:26 -  1.1
> +++ /dev/null   1 Jan 1970 00:00:00 -
> @@ -1,35 +0,0 @@
> -$OpenBSD: patch-Alc_ALc_c,v 1.1 2017/12/31 18:46:26 jca Exp $
> -
> -commit d1e98c36d375433cb11a7a74ce20c968491773aa
> -Author: Chris Robinson 
> -Date:   Sat Apr 30 17:14:55 2016 -0700
> -
> -Don't crash when there's no backend to probe
> -
> -Index: Alc/ALc.c
>  Alc/ALc.c.orig
> -+++ Alc/ALc.c
> -@@ -1117,6 +1117,11 @@ static void alc_initconfig(void)
> - V0(factory,init)();
> - }
> -
> -+if(!PlaybackBackend.name)
> -+WARN("No playback backend available!\n");
> -+if(!CaptureBackend.name)
> -+WARN("No capture backend available!\n");
> -+
> - if(ConfigValueStr(NULL, NULL, "excludefx", ))
> - {
> - size_t len;
> -@@ -1230,9 +1235,9 @@ static void ProbeDevices(al_string *list, struct
> Backe
> - LockLists();
> - al_string_clear(list);
> -
> --if(!backendinfo->getFactory)
> -+if(backendinfo->Probe)
> - backendinfo->Probe(type);
> --else
> -+else if(backendinfo->getFactory)
> - {
> - ALCba

Re: update net/xmlrpc-c

2018-05-11 Thread David CARLIER
Another (hopefully last) attempt :). Regards.

On 11 May 2018 at 11:24, David CARLIER <devne...@gmail.com> wrote:

> Ok seems there is a missing patch (patch-src_makefile for instance) then I
> did patch this one, seems due to a wrong cvs file deletion in my side ...
> Will check.
> Ok for the common.mk change, makes sense.
>
> On 11 May 2018 at 10:19, Stuart Henderson <s...@spacehopper.org> wrote:
>
>> On 2018/05/10 22:41, David CARLIER wrote:
>> > Another attempt, locally I m able to build all C and C++ libraries and
>> > install them but @sthen tried and did not work for him. If anyone is
>> > interested giving it a shot.
>>
>> I think you're missing setting MAJ in src/Makefile. Can you kill the
>> forced
>> debug symbols and -O3 while you're there too please (in common.mk)?
>> I don't see any way this diff can have built packages - please, make sure
>> "make repackage" works before sending a new one :)
>>
>>
>
Index: Makefile
===
RCS file: /cvs/ports/net/xmlrpc-c/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	8 Dec 2017 17:25:07 -	1.17
+++ Makefile	11 May 2018 17:45:01 -
@@ -7,22 +7,20 @@ NOT_FOR_ARCHS=	m88k
 COMMENT=	XML-RPC C/C++ client-server implementation
 CATEGORIES=	net devel textproc
 
-V=		1.06.35
+V=		1.39.12
 DISTNAME=	xmlrpc-c-${V}
-REVISION=	3
 FIX_EXTRACT_PERMISSIONS=Yes
 
 EXTRACT_SUFX=	.tgz
 
-SHARED_LIBS +=	xmlrpc_util  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_abyss 1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmlparse  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmltok1.0  # .9.15
-SHARED_LIBS +=	xmlrpc   1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_abyss  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_client1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_cgi1.0  # .9.15
+.for i in xmlrpc_util xmlrpc_abyss xmlrpc_xmlparse xmlrpc_xmltok 	\
+	 xmlrpc xmlrpc_server xmlrpc_server_abyss xmlrpc_client 		\
+	 xmlrpc_server_cgi xmlrpc_util++ xmlrpc_abyss++	\
+	 xmlrpc_xmlparse++ xmlrpc_xmltok++ xmlrpc++ xmlrpc_server++		\
+	 xmlrpc_server_abyss++ xmlrpc_server_pstream++ xmlrpc_client++ 	\
+	 xmlrpc_server_cgi++ xmlrpc_cpp xmlrpc_packetsocket
+SHARED_LIBS += $i 2.0
+.endfor
 
 HOMEPAGE=	http://xmlrpc-c.sourceforge.net/
 
@@ -31,7 +29,8 @@ MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:
 # BSD
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z
+WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z \
+		  ${COMPILER_LIBCXX}
 
 LIB_DEPENDS=		devel/gettext \
 			net/curl
@@ -39,7 +38,9 @@ LIB_DEPENDS=		devel/gettext \
 CONFIGURE_STYLE=	gnu
 USE_GMAKE=		Yes
 
-MAKE_ENV=		COPTS="${CFLAGS}"
+MAKE_ENV=		COPTS="${CFLAGS}"\
+			LIB_MAJ=${LIBxmlrpc_VERSION:R}	\
+			LIB_MIN=${LIBxmlrpc_VERSION:E}
 
 # we don't have libwww for now, this guards against picking it up
 # if somebody ports it
Index: distinfo
===
RCS file: /cvs/ports/net/xmlrpc-c/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	18 Jan 2015 03:14:55 -	1.6
+++ distinfo	11 May 2018 17:45:01 -
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-c-1.06.35.tgz) = b8DcmiGUD9WHlbXB+cVL+WM+Gcv0jmKmrmWcgO6fceo=
-SIZE (xmlrpc-c-1.06.35.tgz) = 701970
+SHA256 (xmlrpc-c-1.39.12.tgz) = 2DDzJkqDLf4J9inMZANqz9CBIWklJtD6vgkPf/iBzgg=
+SIZE (xmlrpc-c-1.39.12.tgz) = 816428
Index: patches/patch-Makefile_common
===
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- patches/patch-Makefile_common	15 Mar 2008 10:35:54 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-Makefile_common,v 1.2 2008/03/15 10:35:54 ajacoutot Exp $
 Makefile.common.orig	Fri Jul 13 02:32:20 2007
-+++ Makefile.common	Wed Jan 16 14:20:17 2008
-@@ -32,11 +32,11 @@ CFLAGS_COMMON = -DNDEBUG
- CXXFLAGS_COMMON = -DNDEBUG
- 
- ifeq ($(C_COMPILER_GNU),yes)
--  CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
-+  CFLAGS_COMMON += $(GCC_C_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- ifeq ($(CXX_COMPILER_GNU),yes)
--  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
-+  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- DISTDIR = $(BUILDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
-@@ -259,6 +259,10 @@ $(ALL_OBJS): $(BUILDDIR)/include/xmlrpc-c/config.h
- 
- ifeq ($(SHARED_LIB_TYPE),unix)
-   include $(SRCDIR)/unix-common.make
-+  endif
-+
-+ifeq ($(SHARED_LIB_TYPE),openbsd)
-+  include $(SRCDIR)/openbsd-common.make
-   endif
- 
- ifeq ($(SHARED_LIB_TYPE),irix)
Index: patches/patch-Makefile_config_in
===
RCS file: patches/patch-Makef

Re: update net/xmlrpc-c

2018-05-11 Thread David CARLIER
Ok seems there is a missing patch (patch-src_makefile for instance) then I
did patch this one, seems due to a wrong cvs file deletion in my side ...
Will check.
Ok for the common.mk change, makes sense.

On 11 May 2018 at 10:19, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2018/05/10 22:41, David CARLIER wrote:
> > Another attempt, locally I m able to build all C and C++ libraries and
> > install them but @sthen tried and did not work for him. If anyone is
> > interested giving it a shot.
>
> I think you're missing setting MAJ in src/Makefile. Can you kill the forced
> debug symbols and -O3 while you're there too please (in common.mk)?
> I don't see any way this diff can have built packages - please, make sure
> "make repackage" works before sending a new one :)
>
>


update net/xmlrpc-c

2018-05-10 Thread David CARLIER
Another attempt, locally I m able to build all C and C++ libraries and
install them but @sthen tried and did not work for him. If anyone is
interested giving it a shot.
Index: Makefile
===
RCS file: /cvs/ports/net/xmlrpc-c/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	8 Dec 2017 17:25:07 -	1.17
+++ Makefile	10 May 2018 21:35:10 -
@@ -7,22 +7,20 @@ NOT_FOR_ARCHS=	m88k
 COMMENT=	XML-RPC C/C++ client-server implementation
 CATEGORIES=	net devel textproc
 
-V=		1.06.35
+V=		1.39.12
 DISTNAME=	xmlrpc-c-${V}
-REVISION=	3
 FIX_EXTRACT_PERMISSIONS=Yes
 
 EXTRACT_SUFX=	.tgz
 
-SHARED_LIBS +=	xmlrpc_util  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_abyss 1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmlparse  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmltok1.0  # .9.15
-SHARED_LIBS +=	xmlrpc   1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_abyss  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_client1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_cgi1.0  # .9.15
+.for i in xmlrpc_util xmlrpc_abyss xmlrpc_xmlparse xmlrpc_xmltok 	\
+	 xmlrpc xmlrpc_server xmlrpc_server_abyss xmlrpc_client 		\
+	 xmlrpc_server_cgi xmlrpc_util++ xmlrpc_abyss++	\
+	 xmlrpc_xmlparse++ xmlrpc_xmltok++ xmlrpc++ xmlrpc_server++		\
+	 xmlrpc_server_abyss++ xmlrpc_server_pstream++ xmlrpc_client++ 	\
+	 xmlrpc_server_cgi++ xmlrpc_cpp xmlrpc_packetsocket
+SHARED_LIBS += $i 2.0
+.endfor
 
 HOMEPAGE=	http://xmlrpc-c.sourceforge.net/
 
@@ -31,7 +29,8 @@ MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:
 # BSD
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z
+WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z \
+		  ${COMPILER_LIBCXX}
 
 LIB_DEPENDS=		devel/gettext \
 			net/curl
@@ -39,7 +38,9 @@ LIB_DEPENDS=		devel/gettext \
 CONFIGURE_STYLE=	gnu
 USE_GMAKE=		Yes
 
-MAKE_ENV=		COPTS="${CFLAGS}"
+MAKE_ENV=		COPTS="${CFLAGS}"\
+			LIB_MAJ=${LIBxmlrpc_VERSION:R}	\
+			LIB_MIN=${LIBxmlrpc_VERSION:E}
 
 # we don't have libwww for now, this guards against picking it up
 # if somebody ports it
Index: distinfo
===
RCS file: /cvs/ports/net/xmlrpc-c/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	18 Jan 2015 03:14:55 -	1.6
+++ distinfo	10 May 2018 21:35:10 -
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-c-1.06.35.tgz) = b8DcmiGUD9WHlbXB+cVL+WM+Gcv0jmKmrmWcgO6fceo=
-SIZE (xmlrpc-c-1.06.35.tgz) = 701970
+SHA256 (xmlrpc-c-1.39.12.tgz) = 2DDzJkqDLf4J9inMZANqz9CBIWklJtD6vgkPf/iBzgg=
+SIZE (xmlrpc-c-1.39.12.tgz) = 816428
Index: patches/patch-Makefile_common
===
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- patches/patch-Makefile_common	15 Mar 2008 10:35:54 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-Makefile_common,v 1.2 2008/03/15 10:35:54 ajacoutot Exp $
 Makefile.common.orig	Fri Jul 13 02:32:20 2007
-+++ Makefile.common	Wed Jan 16 14:20:17 2008
-@@ -32,11 +32,11 @@ CFLAGS_COMMON = -DNDEBUG
- CXXFLAGS_COMMON = -DNDEBUG
- 
- ifeq ($(C_COMPILER_GNU),yes)
--  CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
-+  CFLAGS_COMMON += $(GCC_C_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- ifeq ($(CXX_COMPILER_GNU),yes)
--  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
-+  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- DISTDIR = $(BUILDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
-@@ -259,6 +259,10 @@ $(ALL_OBJS): $(BUILDDIR)/include/xmlrpc-c/config.h
- 
- ifeq ($(SHARED_LIB_TYPE),unix)
-   include $(SRCDIR)/unix-common.make
-+  endif
-+
-+ifeq ($(SHARED_LIB_TYPE),openbsd)
-+  include $(SRCDIR)/openbsd-common.make
-   endif
- 
- ifeq ($(SHARED_LIB_TYPE),irix)
Index: patches/patch-Makefile_config_in
===
RCS file: patches/patch-Makefile_config_in
diff -N patches/patch-Makefile_config_in
--- patches/patch-Makefile_config_in	14 Mar 2009 19:01:31 -	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,27 +0,0 @@
-$OpenBSD: patch-Makefile_config_in,v 1.3 2009/03/14 19:01:31 ajacoutot Exp $
 Makefile.config.in.orig	Tue Mar 25 15:24:58 2008
-+++ Makefile.config.in	Sat Mar 14 19:07:03 2009
-@@ -35,8 +35,8 @@ HAVE_WCHAR_H_DEFINE = @HAVE_WCHAR_H_DEFINE@
- SHELL = @SHELL@
- CC = @CC@
- CXX = @CXX@
--CCLD = $(CC)
--CXXLD = $(CXX)
-+CCLD = $(CC) $(CFLAGS)
-+CXXLD = $(CXX) $(CXXFLAGS)
- AR = ar
- RANLIB = @RANLIB@
- LN_S = @LN_S@
-@@ -195,6 +195,12 @@ ifeq ($(findstring netbsd,$(HOST_OS)),netbsd)
-   CFLAGS_SHLIB = -fpic
- endif
- 
-+ifeq ($(findstring openbsd,$(HOST_OS)),FIND)
-+  SHARED_LIB_TYPE = openbsd
-+  SHLIB_SUFFIX = so
-+  CFLAGS_SHLIB = -fpic
-+  LDFLAGS_SHLIB = -shared
-+endif
- ifeq ($(HOST_OS),darwin)
-   # This code 

Re: update net/xmlrpc-c

2018-05-08 Thread David CARLIER
Thanks again, you re right.

On 8 May 2018 at 12:13, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2018/05/08 10:38, David CARLIER wrote:
> > Thanks for inputs, here an update version.
>
> I've just tried this, with changed SHARED_LIBS lines (because these lines
> are meant to be the "source of truth" for library versions, i.e. you
> should be able to change these in the port Makefile and the build should
> change to produce files with those version numbers), but it still
> generates the files as .so.2.0 files. (Then looking at the patches it's
> clear why this is the case :)
>
> From the port Makefile, you have access to variables like
> LIBxmlrpc_util_VERSION
> that you can feed into the build environment, if these need to be
> modified you can use e.g. LIBxmlrpc_util_VERSION:R for the major version,
> LIBxmlrpc_util_VERSION:E for the minor.
>
> It's not quite perfect but I don't think there will be any major complaints
> if you use the same library versioning for all libraries, something like
>
> .for i in xmlrpc xmlrpc_abyss xmlrpc_client [..]
> SHARED_LIBS += $i 2.0
> .endfor
>
> to simplify the patching/passthrough that is needed.
>
>
Index: Makefile
===
RCS file: /cvs/ports/net/xmlrpc-c/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	8 Dec 2017 17:25:07 -	1.17
+++ Makefile	8 May 2018 12:45:17 -
@@ -7,22 +7,20 @@ NOT_FOR_ARCHS=	m88k
 COMMENT=	XML-RPC C/C++ client-server implementation
 CATEGORIES=	net devel textproc
 
-V=		1.06.35
+V=		1.39.12
 DISTNAME=	xmlrpc-c-${V}
-REVISION=	3
 FIX_EXTRACT_PERMISSIONS=Yes
 
 EXTRACT_SUFX=	.tgz
 
-SHARED_LIBS +=	xmlrpc_util  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_abyss 1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmlparse  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmltok1.0  # .9.15
-SHARED_LIBS +=	xmlrpc   1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_abyss  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_client1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_cgi1.0  # .9.15
+.for i in xmlrpc_util xmlrpc_abyss xmlrpc_xmlparse xmlrpc_xmltok 	\
+	 xmlrpc xmlrpc_server xmlrpc_server_abyss xmlrpc_client 		\
+	 xmlrpc_server_cgi xmlrpc_util++ xmlrpc_abyss++	\
+	 xmlrpc_xmlparse++ xmlrpc_xmltok++ xmlrpc++ xmlrpc_server++		\
+	 xmlrpc_server_abyss++ xmlrpc_server_pstream++ xmlrpc_client++ 	\
+	 xmlrpc_server_cgi++ xmlrpc_cpp xmlrpc_packetsocket
+SHARED_LIBS += $i 2.0
+.endfor
 
 HOMEPAGE=	http://xmlrpc-c.sourceforge.net/
 
@@ -31,7 +29,8 @@ MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:
 # BSD
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z
+WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z \
+		  ${COMPILER_LIBCXX}
 
 LIB_DEPENDS=		devel/gettext \
 			net/curl
@@ -39,7 +38,9 @@ LIB_DEPENDS=		devel/gettext \
 CONFIGURE_STYLE=	gnu
 USE_GMAKE=		Yes
 
-MAKE_ENV=		COPTS="${CFLAGS}"
+MAKE_ENV=		COPTS="${CFLAGS}"\
+			LIB_MAJ=${LIBxmlrpc_VERSION:R}	\
+			LIB_MIN=${LIBxmlrpc_VERSION:E}	\
 
 # we don't have libwww for now, this guards against picking it up
 # if somebody ports it
Index: distinfo
===
RCS file: /cvs/ports/net/xmlrpc-c/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	18 Jan 2015 03:14:55 -	1.6
+++ distinfo	8 May 2018 12:45:17 -
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-c-1.06.35.tgz) = b8DcmiGUD9WHlbXB+cVL+WM+Gcv0jmKmrmWcgO6fceo=
-SIZE (xmlrpc-c-1.06.35.tgz) = 701970
+SHA256 (xmlrpc-c-1.39.12.tgz) = 2DDzJkqDLf4J9inMZANqz9CBIWklJtD6vgkPf/iBzgg=
+SIZE (xmlrpc-c-1.39.12.tgz) = 816428
Index: patches/patch-Makefile_common
===
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- patches/patch-Makefile_common	15 Mar 2008 10:35:54 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-Makefile_common,v 1.2 2008/03/15 10:35:54 ajacoutot Exp $
 Makefile.common.orig	Fri Jul 13 02:32:20 2007
-+++ Makefile.common	Wed Jan 16 14:20:17 2008
-@@ -32,11 +32,11 @@ CFLAGS_COMMON = -DNDEBUG
- CXXFLAGS_COMMON = -DNDEBUG
- 
- ifeq ($(C_COMPILER_GNU),yes)
--  CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
-+  CFLAGS_COMMON += $(GCC_C_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- ifeq ($(CXX_COMPILER_GNU),yes)
--  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
-+  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- DISTDIR = $(BUILDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
-@@ -259,6 +259,10 @@ $(ALL_OBJS): $(BUILDDIR)/include/xmlrpc-c/config.h
- 
- ifeq ($(SHARED_LIB_TYPE),unix)
-   include $(SRCDIR)/unix-common.make
-+  endif
-+
-+ifeq ($(SHARED_LIB_TYPE),openbsd)
-+  includ

Re: update net/xmlrpc-c

2018-05-08 Thread David CARLIER
Thanks for inputs, here an update version.

On 8 May 2018 at 09:22, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2018/05/08 09:57, David CARLIER wrote:
> > @@ -34,34 +40,78 @@ include/xmlrpc_client.h
> >  include/xmlrpc_server.h
> >  include/xmlrpc_server_w32httpsys.h
> >  lib/libxmlrpc++.a
> > +lib/libxmlrpc++.so
> > +lib/libxmlrpc++.so.2
>
> These symlinks are wrong..
>
> > +@lib lib/libxmlrpc++.so.${LIBxmlrpc++_VERSION}
> >  lib/libxmlrpc.a
> > -lib/libxmlrpc.la
> > +lib/libxmlrpc.so
> > +lib/libxmlrpc.so.2
> >  @lib lib/libxmlrpc.so.${LIBxmlrpc_VERSION}
>
> (same for the rest of libs).
>
>
Index: Makefile
===
RCS file: /cvs/ports/net/xmlrpc-c/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	8 Dec 2017 17:25:07 -	1.17
+++ Makefile	8 May 2018 10:36:16 -
@@ -7,22 +7,33 @@ NOT_FOR_ARCHS=	m88k
 COMMENT=	XML-RPC C/C++ client-server implementation
 CATEGORIES=	net devel textproc
 
-V=		1.06.35
+V=		1.39.12
 DISTNAME=	xmlrpc-c-${V}
-REVISION=	3
 FIX_EXTRACT_PERMISSIONS=Yes
 
 EXTRACT_SUFX=	.tgz
 
-SHARED_LIBS +=	xmlrpc_util  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_abyss 1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmlparse  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmltok1.0  # .9.15
-SHARED_LIBS +=	xmlrpc   1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_abyss  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_client1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_cgi1.0  # .9.15
+SHARED_LIBS +=	xmlrpc_util	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_abyss   	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_xmlparse	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_xmltok  	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc 	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server  	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server_abyss	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_client  	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server_cgi  	2.0  # .3.39
+SHARED_LIBS +=  xmlrpc_util++		   	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_abyss++ 	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_xmlparse++  	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_xmltok++	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc++   	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server++	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_abyss++  	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_pstream++ 2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_client++	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_cgi++	2.0  # .8.39
+SHARED_LIBS +=  xmlrpc_cpp			   	2.0  # .8.39
+SHARED_LIBS +=  xmlrpc_packetsocket	2.0  # .8.39
 
 HOMEPAGE=	http://xmlrpc-c.sourceforge.net/
 
@@ -31,7 +42,8 @@ MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:
 # BSD
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z
+WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z \
+		  ${COMPILER_LIBCXX}
 
 LIB_DEPENDS=		devel/gettext \
 			net/curl
Index: distinfo
===
RCS file: /cvs/ports/net/xmlrpc-c/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	18 Jan 2015 03:14:55 -	1.6
+++ distinfo	8 May 2018 10:36:16 -
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-c-1.06.35.tgz) = b8DcmiGUD9WHlbXB+cVL+WM+Gcv0jmKmrmWcgO6fceo=
-SIZE (xmlrpc-c-1.06.35.tgz) = 701970
+SHA256 (xmlrpc-c-1.39.12.tgz) = 2DDzJkqDLf4J9inMZANqz9CBIWklJtD6vgkPf/iBzgg=
+SIZE (xmlrpc-c-1.39.12.tgz) = 816428
Index: patches/patch-Makefile_common
===
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- patches/patch-Makefile_common	15 Mar 2008 10:35:54 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-Makefile_common,v 1.2 2008/03/15 10:35:54 ajacoutot Exp $
 Makefile.common.orig	Fri Jul 13 02:32:20 2007
-+++ Makefile.common	Wed Jan 16 14:20:17 2008
-@@ -32,11 +32,11 @@ CFLAGS_COMMON = -DNDEBUG
- CXXFLAGS_COMMON = -DNDEBUG
- 
- ifeq ($(C_COMPILER_GNU),yes)
--  CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
-+  CFLAGS_COMMON += $(GCC_C_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- ifeq ($(CXX_COMPILER_GNU),yes)
--  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
-+  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- DISTDIR = $(BUILDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
-@@ -259,6 +259,10 @@ $(ALL_OBJS): $(BUILDDIR)/include/xmlrpc-c/config.h
- 
- ifeq ($(SHARED_LIB_TYPE),unix)
-   include $(SRCDIR)/unix-common.make
-+  endif
-+
-+ifeq ($(SHARED_LIB_TYPE),openbsd)
-+  include $(SRCDIR)/openbsd-common.make
-   endif
- 
- ifeq ($(SHARED_LIB_TYPE),irix)
Index: patches/patch-Makefile_config_in

Re: update net/xmlrpc-c

2018-05-08 Thread David CARLIER
On 7 May 2018 at 23:49, Marc Espie <es...@nerim.net> wrote:

> On Mon, May 07, 2018 at 10:57:48PM +0100, David CARLIER wrote:
> > Hi,
> >
> > here a proposal to update xmlrpc-c to the last "stable" release in case
> it
> > might be of interest.
> >
> > Regards.
>
> > ? patches/patch-common_mk
> Looks like you forgot something.
>
>
I always do :-)

> This looks bogus right there. If you control the shared libs version,
> these should be 2.0
>
>
> If you don't, you're missing patches to make it so.
>

Thus an updated version.
Index: Makefile
===
RCS file: /cvs/ports/net/xmlrpc-c/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	8 Dec 2017 17:25:07 -	1.17
+++ Makefile	8 May 2018 08:55:30 -
@@ -7,22 +7,33 @@ NOT_FOR_ARCHS=	m88k
 COMMENT=	XML-RPC C/C++ client-server implementation
 CATEGORIES=	net devel textproc
 
-V=		1.06.35
+V=		1.39.12
 DISTNAME=	xmlrpc-c-${V}
-REVISION=	3
 FIX_EXTRACT_PERMISSIONS=Yes
 
 EXTRACT_SUFX=	.tgz
 
-SHARED_LIBS +=	xmlrpc_util  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_abyss 1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmlparse  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmltok1.0  # .9.15
-SHARED_LIBS +=	xmlrpc   1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_abyss  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_client1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_cgi1.0  # .9.15
+SHARED_LIBS +=	xmlrpc_util	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_abyss   	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_xmlparse	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_xmltok  	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc 	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server  	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server_abyss	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_client  	2.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server_cgi  	2.0  # .3.39
+SHARED_LIBS +=  xmlrpc_util++		   	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_abyss++ 	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_xmlparse++  	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_xmltok++	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc++   	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server++	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_abyss++  	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_pstream++ 2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_client++	2.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_cgi++	2.0  # .8.39
+SHARED_LIBS +=  xmlrpc_cpp			   	2.0  # .8.39
+SHARED_LIBS +=  xmlrpc_packetsocket	2.0  # .8.39
 
 HOMEPAGE=	http://xmlrpc-c.sourceforge.net/
 
@@ -31,7 +42,8 @@ MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:
 # BSD
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z
+WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z \
+		  ${COMPILER_LIBCXX}
 
 LIB_DEPENDS=		devel/gettext \
 			net/curl
Index: distinfo
===
RCS file: /cvs/ports/net/xmlrpc-c/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	18 Jan 2015 03:14:55 -	1.6
+++ distinfo	8 May 2018 08:55:30 -
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-c-1.06.35.tgz) = b8DcmiGUD9WHlbXB+cVL+WM+Gcv0jmKmrmWcgO6fceo=
-SIZE (xmlrpc-c-1.06.35.tgz) = 701970
+SHA256 (xmlrpc-c-1.39.12.tgz) = 2DDzJkqDLf4J9inMZANqz9CBIWklJtD6vgkPf/iBzgg=
+SIZE (xmlrpc-c-1.39.12.tgz) = 816428
Index: patches/patch-Makefile_common
===
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- patches/patch-Makefile_common	15 Mar 2008 10:35:54 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-Makefile_common,v 1.2 2008/03/15 10:35:54 ajacoutot Exp $
 Makefile.common.orig	Fri Jul 13 02:32:20 2007
-+++ Makefile.common	Wed Jan 16 14:20:17 2008
-@@ -32,11 +32,11 @@ CFLAGS_COMMON = -DNDEBUG
- CXXFLAGS_COMMON = -DNDEBUG
- 
- ifeq ($(C_COMPILER_GNU),yes)
--  CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
-+  CFLAGS_COMMON += $(GCC_C_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- ifeq ($(CXX_COMPILER_GNU),yes)
--  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
-+  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- DISTDIR = $(BUILDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
-@@ -259,6 +259,10 @@ $(ALL_OBJS): $(BUILDDIR)/include/xmlrpc-c/config.h
- 
- ifeq ($(SHARED_LIB_TYPE),unix)
-   include $(SRCDIR)/unix-common.make
-+  endif
-+
-+ifeq ($(SHARED_LIB_TYPE),openbsd)
-+  include $(SRCDIR)/openbsd-common.make
-   endif
- 
- ifeq ($(SHARED_LIB_TYPE),irix)
Index: patches/patch-Makefile_config_in
===
RCS file: patches/patch-Ma

update net/xmlrpc-c

2018-05-07 Thread David CARLIER
Hi,

here a proposal to update xmlrpc-c to the last "stable" release in case it
might be of interest.

Regards.
? patches/patch-common_mk
Index: Makefile
===
RCS file: /cvs/ports/net/xmlrpc-c/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	8 Dec 2017 17:25:07 -	1.17
+++ Makefile	7 May 2018 21:46:50 -
@@ -7,22 +7,33 @@ NOT_FOR_ARCHS=	m88k
 COMMENT=	XML-RPC C/C++ client-server implementation
 CATEGORIES=	net devel textproc
 
-V=		1.06.35
+V=		1.39.12
 DISTNAME=	xmlrpc-c-${V}
-REVISION=	3
 FIX_EXTRACT_PERMISSIONS=Yes
 
 EXTRACT_SUFX=	.tgz
 
-SHARED_LIBS +=	xmlrpc_util  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_abyss 1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmlparse  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_xmltok1.0  # .9.15
-SHARED_LIBS +=	xmlrpc   1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_abyss  1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_client1.0  # .9.15
-SHARED_LIBS +=	xmlrpc_server_cgi1.0  # .9.15
+SHARED_LIBS +=	xmlrpc_util	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc_abyss   	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc_xmlparse	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc_xmltok  	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc 	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server  	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server_abyss	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc_client  	3.0  # .3.39
+SHARED_LIBS +=	xmlrpc_server_cgi  	3.0  # .3.39
+SHARED_LIBS +=  xmlrpc_util++		   	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_abyss++ 	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_xmlparse++  	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_xmltok++	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc++   	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server++	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_abyss++  	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_pstream++ 8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_client++	8.0  # .8.39
+SHARED_LIBS +=	xmlrpc_server_cgi++	8.0  # .8.39
+SHARED_LIBS +=  xmlrpc_cpp			   	8.0  # .8.39
+SHARED_LIBS +=  xmlrpc_packetsocket	8.0  # .8.39
 
 HOMEPAGE=	http://xmlrpc-c.sourceforge.net/
 
@@ -31,7 +42,8 @@ MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:
 # BSD
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z
+WANTLIB=  c crypto curl iconv intl nghttp2 pthread ssl z \
+		  ${COMPILER_LIBCXX}
 
 LIB_DEPENDS=		devel/gettext \
 			net/curl
Index: distinfo
===
RCS file: /cvs/ports/net/xmlrpc-c/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo	18 Jan 2015 03:14:55 -	1.6
+++ distinfo	7 May 2018 21:46:50 -
@@ -1,2 +1,2 @@
-SHA256 (xmlrpc-c-1.06.35.tgz) = b8DcmiGUD9WHlbXB+cVL+WM+Gcv0jmKmrmWcgO6fceo=
-SIZE (xmlrpc-c-1.06.35.tgz) = 701970
+SHA256 (xmlrpc-c-1.39.12.tgz) = 2DDzJkqDLf4J9inMZANqz9CBIWklJtD6vgkPf/iBzgg=
+SIZE (xmlrpc-c-1.39.12.tgz) = 816428
Index: patches/patch-Makefile_common
===
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- patches/patch-Makefile_common	15 Mar 2008 10:35:54 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,28 +0,0 @@
-$OpenBSD: patch-Makefile_common,v 1.2 2008/03/15 10:35:54 ajacoutot Exp $
 Makefile.common.orig	Fri Jul 13 02:32:20 2007
-+++ Makefile.common	Wed Jan 16 14:20:17 2008
-@@ -32,11 +32,11 @@ CFLAGS_COMMON = -DNDEBUG
- CXXFLAGS_COMMON = -DNDEBUG
- 
- ifeq ($(C_COMPILER_GNU),yes)
--  CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
-+  CFLAGS_COMMON += $(GCC_C_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- ifeq ($(CXX_COMPILER_GNU),yes)
--  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
-+  CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -O2 -g -pthread $(COPTS)
- endif
- 
- DISTDIR = $(BUILDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
-@@ -259,6 +259,10 @@ $(ALL_OBJS): $(BUILDDIR)/include/xmlrpc-c/config.h
- 
- ifeq ($(SHARED_LIB_TYPE),unix)
-   include $(SRCDIR)/unix-common.make
-+  endif
-+
-+ifeq ($(SHARED_LIB_TYPE),openbsd)
-+  include $(SRCDIR)/openbsd-common.make
-   endif
- 
- ifeq ($(SHARED_LIB_TYPE),irix)
Index: patches/patch-Makefile_config_in
===
RCS file: patches/patch-Makefile_config_in
diff -N patches/patch-Makefile_config_in
--- patches/patch-Makefile_config_in	14 Mar 2009 19:01:31 -	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,27 +0,0 @@
-$OpenBSD: patch-Makefile_config_in,v 1.3 2009/03/14 19:01:31 ajacoutot Exp $
 Makefile.config.in.orig	Tue Mar 25 15:24:58 2008
-+++ Makefile.config.in	Sat Mar 14 19:07:03 2009
-@@ -35,8 +35,8 @@ HAVE_WCHAR_H_DEFINE = @HAVE_WCHAR_H_DEFINE@
- SHELL = @SHELL@
- CC = @CC@
- CXX = @CXX@
--CCLD = $(CC)

Re: new: games/barony

2018-05-04 Thread David CARLIER
fair enough. here an updated version.

On 4 May 2018 at 08:10, Solene Rapenne <sol...@perso.pw> wrote:

>
> David CARLIER writes:
>
> > slightly update version with all your inputs.
> >
>
> I don't know if it's preferable but I would have renamed the binary
> barony-bin and named the launcher barony. So that users just type
> "barony" to get the game with the correct saving folder.
>
> Also, someone on IRC (sorry anonymous, I don't remember your name )
> noticed that the echo should send text to stderr in the launcher script.
>
> 4c4
> < cd ~/.barony || (echo "Can't cd into ~/.barony"; exit 1)
> ---
> > cd ~/.barony || (echo "Can't cd into ~/.barony" >&2 ; exit 1)
>


barony.tgz
Description: application/compressed-tar


Re: new: games/barony

2018-05-03 Thread David CARLIER
True for the typo :-) thx

On 3 May 2018 at 20:33, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2018/05/03 20:18, David CARLIER wrote:
> > slightly update version with all your inputs.
>
> - the MAINTAINER line looks to be missing an 'x'?
>
> - since it's using github on-the-fly-generated files it might as well
> use GH_*
>
> diff for these below - no assets to test with but otherwise looks OK to
> me.
>
>
> --- Makefile.orig   Thu May  3 20:25:09 2018
> +++ MakefileThu May  3 20:26:09 2018
> @@ -2,13 +2,15 @@
>
>  V =3.1.4
>  COMMENT =  3D, first person roguelike
> -DISTNAME = Barony-${V}{v${V}}
> -PKGNAME =  barony-${V}
> +GH_ACCOUNT =   TurningWheel
> +GH_PROJECT =   Barony
> +GH_TAGNAME =   v$V
> +
>  CATEGORIES =   games x11
>
>  HOMEPAGE = http://www.baronygame.com/
>
> -MAINTAINER = David Carlier <devn...@gmail.com>
> +MAINTAINER =   David Carlier <devne...@gmail.com>
>
>  # GPLv3 only
>  PERMIT_PACKAGE_CDROM = Yes
> @@ -16,8 +18,6 @@ PERMIT_PACKAGE_CDROM =Yes
>  WANTLIB += ${COMPILER_LIBCXX} GL GLU SDL2 SDL2_image SDL2_net
>  WANTLIB += SDL2_ttf c execinfo m ogg openal png vorbisfile
>
> -MASTER_SITES = https://github.com/TurningWheel/Barony/archive/
> -
>  # C++11
>  COMPILER = base-clang ports-gcc
>
> @@ -40,8 +40,6 @@ CONFIGURE_ARGS =  -DCMAKE_C_FLAGS="${CFLAGS}" \
> -DCMAKE_INSTALL_BINDIR="${LOCALBASE}/bin"
>
>  NO_TEST =  Yes
> -
> -WRKDIST =  ${WRKDIR}/Barony-${V}
>
>  post-install:
> ${SUBST_CMD} -m 555 -c ${FILESDIR}/barony-launcher.sh \
>


Re: new: games/barony

2018-05-03 Thread David CARLIER
slightly update version with all your inputs.

On 3 May 2018 at 19:40, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2018/05/03 20:18, Solene Rapenne wrote:
> >
> > Stuart Henderson writes:
> >
> > > On 2018/05/03 15:21, David CARLIER wrote:
> > >> True it writes in the current folder, due to the original design of
> the
> > >> game structure (meant to be packaged for gaming platform).
> > >> Is this a blocker for pushing the port ?
> > >
> > > imho yes. at a minimum we could ship a wrapper that cd's somewhere
> sane first.
> >
> > Something like this ?
> >
> > #!/bin/sh
> > mkdir -p ~/.barony
> > cd ~/.barony || ( echo "Can't cd into ~/.barony" ; exit 1 )
> > ${LOCALBASE}/bin/barony $@
> > cd $OLDPWD
>
> pretty much; I'd exec rather than keep the shell hanging around (and no
> need to cd back).
>
>


barony.tgz
Description: GNU Zip compressed data


Re: new: games/barony

2018-05-03 Thread David CARLIER
Sounds good enough, if it suffices ... Meanwhile I ll push an improvement
upstream for next versions ...
Thanks.

On 3 May 2018 at 19:18, Solene Rapenne <sol...@perso.pw> wrote:

>
> Stuart Henderson writes:
>
> > On 2018/05/03 15:21, David CARLIER wrote:
> >> True it writes in the current folder, due to the original design of the
> >> game structure (meant to be packaged for gaming platform).
> >> Is this a blocker for pushing the port ?
> >
> > imho yes. at a minimum we could ship a wrapper that cd's somewhere sane
> first.
>
> Something like this ?
>
> #!/bin/sh
> mkdir -p ~/.barony
> cd ~/.barony || ( echo "Can't cd into ~/.barony" ; exit 1 )
> ${LOCALBASE}/bin/barony $@
> cd $OLDPWD
>


Re: new: games/barony

2018-05-03 Thread David CARLIER
True it writes in the current folder, due to the original design of the
game structure (meant to be packaged for gaming platform).
Is this a blocker for pushing the port ?
If yes I ll try to come up with a solution.

Regards.

On 3 May 2018 at 15:09, Solene Rapenne <sol...@perso.pw> wrote:

>
> Solene Rapenne writes:
>
> > David CARLIER writes:
> >
> >> Thanks for your input, here an updated version.
> >>
> >
> > Seems fine for me. Doesn't work on powerpc, but I can't understand why,
> > maybe too low memory (512 Mb) so I don't think we should tag this arch
> > as broken.
> >
> > ok solene@
>
> When playing the game, it creates the following files in $PWD :
>
> default.cfg
> log.txt
> savegame.dat
> savegame2.dat
> scores.dat
> scores_multiplayer.dat
>
> is there a way to prevent it ? Those files should be in something like
> ~/.barony or ~/.config/barony or /some/where/, not $PWD.
>


update lang/mruby 1.4.1

2018-05-01 Thread David CARLIER
Hi,

Here a proposal to update this port.

Regards.
? patches/1
Index: Makefile
===
RCS file: /cvs/ports/lang/mruby/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile	1 Nov 2017 21:44:44 -	1.7
+++ Makefile	1 May 2018 20:31:45 -
@@ -4,7 +4,7 @@ BROKEN-sparc64 =	Bus error (core dumped)
 
 COMMENT =		lightweight, embeddable implementation of ruby
 
-VERSION =		1.3.0
+VERSION =		1.4.1
 DISTNAME =		mruby-${VERSION}
 CATEGORIES =		lang
 HOMEPAGE =		https://github.com/mruby/mruby
Index: distinfo
===
RCS file: /cvs/ports/lang/mruby/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo	1 Nov 2017 21:44:44 -	1.2
+++ distinfo	1 May 2018 20:31:45 -
@@ -1,2 +1,2 @@
-SHA256 (mruby-1.3.0-1.3.0.tar.gz) = EMZkXsWbX4zYAGnnKXq8UUtUrzVAciECtbloAzogm/Q=
-SIZE (mruby-1.3.0-1.3.0.tar.gz) = 424107
+SHA256 (mruby-1.4.1-1.4.1.tar.gz) = JGmx8+PJejT4w9yhvKl5X2bWsXx75g3fwfO1As3LtAA=
+SIZE (mruby-1.4.1-1.4.1.tar.gz) = 496839
Index: patches/patch-build_config_rb
===
RCS file: patches/patch-build_config_rb
diff -N patches/patch-build_config_rb
--- patches/patch-build_config_rb	1 Nov 2017 21:44:44 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,36 +0,0 @@
-$OpenBSD: patch-build_config_rb,v 1.2 2017/11/01 21:44:44 jeremy Exp $
-
-Don't build in debug mode by default.
-
-Only build binaries we plan to use.
-
-Index: build_config.rb
 build_config.rb.orig
-+++ build_config.rb
-@@ -8,7 +8,7 @@ MRuby::Build.new do |conf|
- toolchain :gcc
-   end
- 
--  enable_debug
-+  #enable_debug
- 
-   # Use mrbgems
-   # conf.gem 'examples/mrbgems/ruby_extension_example'
-@@ -107,7 +107,7 @@ MRuby::Build.new('host-debug') do |conf|
- 
-   # bintest
-   # conf.enable_bintest
--end
-+end if false
- 
- MRuby::Build.new('test') do |conf|
-   # Gets set by the VS command prompts.
-@@ -134,7 +134,7 @@ MRuby::Build.new('bench') do |conf|
-   end
- 
-   conf.gembox 'default'
--end
-+end if false
- 
- # Define cross build settings
- # MRuby::CrossBuild.new('32bit') do |conf|
Index: patches/patch-lib_mruby_build_rb
===
RCS file: patches/patch-lib_mruby_build_rb
diff -N patches/patch-lib_mruby_build_rb
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-lib_mruby_build_rb	1 May 2018 20:31:45 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: lib/mruby/build.rb
+--- lib/mruby/build.rb.orig
 lib/mruby/build.rb
+@@ -304,7 +304,7 @@ EOS
+ def run_bintest
+   targets = @gems.select { |v| File.directory? "#{v.dir}/bintest" }.map { |v| filename v.dir }
+   targets << filename(".") if File.directory? "./bintest"
+-  sh "ruby test/bintest.rb #{targets.join ' '}"
++  sh "${RUBY} test/bintest.rb #{targets.join ' '}"
+ end
+ 
+ def print_build_summary
Index: patches/patch-tasks_mruby_build_rake
===
RCS file: patches/patch-tasks_mruby_build_rake
diff -N patches/patch-tasks_mruby_build_rake
--- patches/patch-tasks_mruby_build_rake	1 Nov 2017 21:44:44 -	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-$OpenBSD: patch-tasks_mruby_build_rake,v 1.2 2017/11/01 21:44:44 jeremy Exp $
-Index: tasks/mruby_build.rake
 tasks/mruby_build.rake.orig
-+++ tasks/mruby_build.rake
-@@ -304,7 +304,7 @@ EOS
- def run_bintest
-   targets = @gems.select { |v| File.directory? "#{v.dir}/bintest" }.map { |v| filename v.dir }
-   targets << filename(".") if File.directory? "./bintest"
--  sh "ruby test/bintest.rb #{targets.join ' '}"
-+  sh "${RUBY} test/bintest.rb #{targets.join ' '}"
- end
- 
- def print_build_summary
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/mruby/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST	1 Nov 2017 21:44:44 -	1.3
+++ pkg/PLIST	1 May 2018 20:31:45 -
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.3 2017/11/01 21:44:44 jeremy Exp $
 @bin bin/mirb
 @bin bin/mrbc
+@bin bin/mrdb
 @bin bin/mruby
 @bin bin/mruby-strip
 include/mrbconf.h
@@ -102,6 +103,10 @@ lib/mruby/mrbgems/mruby-class-ext/src/
 lib/mruby/mrbgems/mruby-class-ext/src/class.c
 lib/mruby/mrbgems/mruby-class-ext/test/
 lib/mruby/mrbgems/mruby-class-ext/test/module.rb
+lib/mruby/mrbgems/mruby-compar-ext/
+lib/mruby/mrbgems/mruby-compar-ext/mrbgem.rake
+lib/mruby/mrbgems/mruby-compar-ext/mrblib/
+lib/mruby/mrbgems/mruby-compar-ext/mrblib/compar.rb
 lib/mruby/mrbgems/mruby-compiler/
 lib/mruby/mrbgems/mruby-compiler/bintest/
 lib/mruby/mrbgems/mruby-compiler/bintest/mrbc.rb
@@ -166,8 +171,36 @@ lib/mruby/mrbgems/mruby-inline-struct/mr
 lib/mruby/mrbgems/mruby-inline-struct/test/
 lib/mruby/mrbgems/mruby-inline-struct/test/inline.c
 

Re: new: games/barony

2018-05-01 Thread David CARLIER
Thanks for your input, here an updated version.

On 1 May 2018 at 18:35, Solene Rapenne <sol...@perso.pw> wrote:

>
> Brian Callahan writes:
>
> > On 04/30/18 18:57, David CARLIER wrote:
> >> A small update to install instead into ${LOCALBASE}/share/barony as
> request
> >> by @bcallah.
> >
> > Attached is a better version with fixes and a proper pkg/README.
> >
> > OK?
> >
> > ~Brian
> >
> >> On 30 April 2018 at 21:35, Brian Callahan <bcal...@devio.us> wrote:
> >>
> >>> (Responding from my phone so apologies)
> >>> Download the Linux version and extract it with unzip.
> >>>
> >>>
> >>>
> >>> Sent from my Verizon, Samsung Galaxy smartphone
> >>>
> >>>  Original message 
> >>> From: David CARLIER <devne...@gmail.com>
> >>> Date: 4/30/18 2:10 PM (GMT-05:00)
> >>> To: Timo Myyrä <timo.my...@bittivirhe.fi>
> >>> Cc: Solene Rapenne <sol...@perso.pw>, OpenBSD ports <ports@openbsd.org
> >
> >>> Subject: Re: new: games/barony
> >>>
> >>> I checked the Gog com ... do not find the folders needed to get
> started the
> >>> game ! e.g images maps items music sounds lang ...
> >>>
> >>> On 30 April 2018 at 15:05, Timo Myyrä <timo.my...@bittivirhe.fi>
> wrote:
> >>>
> >>>> David CARLIER <devne...@gmail.com> writes:
> >>>>
> >>>>> Thanks for the feedback, in case you can always force the Debug mode
> >>> via
> >>>>> cmake e.g. -DCMAKE_BUILD_TYPE=Debug
> >>>>> If I recall correctly you re running it into ppc arch ? Would like to
> >>> see
> >>>>> classic x86 archs users feedbacks too.
> >>>>> Will try myself in some hours.
> >>>>>
> >>>>> On 30 April 2018 at 11:01, Solene Rapenne <sol...@perso.pw> wrote:
> >>>>>
> >>>>>> Thomas Frohwein writes:
> >>>>>>
> >>>>>>> On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
> >>>>>>>
> >>>>>>> I tried it on amd64 - installed the package, downloaded Barony:
> >>> Cursed
> >>>>>> Edition
> >>>>>>> from gog.com, innoextract, then copied all the game files to
> >>>>>>> /usr/local/share/games/barony. It counts through all the
> >>> 400-something
> >>>>>> assets
> >>>>>>> that it loads, but afterwards just exits without any error.
> >>>>>>>
> >>>>>>> The version on gog.com is listed as 2.0.7 and is probably
> >>> outdated. I
> >>>>>> think
> >>>>>>> a README with some details on this and maybe the game data folder
> >>> may
> >>>> be
> >>>>>>> useful.
> >>>>>>>
> >>>>>>> I'll probably have to wait for an update on gog.com before being
> >>> able
> >>>>>> to test.
> >>>>>>
> >>>>>> GOG now has 3.1.4 version. I still can't get the game to work, using
> >>>>>> latest port version.
> >>>>>>
> >>>>>> I did :
> >>>>>>
> >>>>>>  $ innoextract 'setup_barony_cursed_edition_3.1.4_(20340).exe'
> >>>>>>  $ doas rsync -av tmp/ /usr/local/share/games/barony/
> >>>>>>  $ barony
> >>>>>>  [12-58-43] Data path is /usr/local/share/games/barony
> >>>>>>  $ echo $?
> >>>>>>  $ 1
> >>>>>>
> >>>>>> I don't succeed having a backtrace with gdb.
> >>>>>>
> >>>> Same issue seems to happen on amd64 here.
> >>>> Haven't tested yet with debug build.
> >>>>
> >>>> Timo
> >>>>
>
> the file pkg/PLIST requires the following line (reported by portcheck)
>
> share/doc/pkg-readmes/${FULLPKGNAME}
>
>
> about the pkg/README, using cp -R doesn't allow to play the game because
> I get folders with a permission 711, so a regular user can't access the
> data and the game can't start.
>
> the following command fix permissions issues but maybe there is a better
> approach?
>
> doas find /usr/local/share/barony/ -type d ! -perm 755 -exec chmod 755 {}
> \;
>


barony.tgz
Description: application/compressed-tar


Re: new: games/barony

2018-04-30 Thread David CARLIER
Why not but would like to take maintainer ship here. Regards.

On 1 May 2018 at 03:49, Brian Callahan <bcal...@devio.us> wrote:

>
> On 04/30/18 18:57, David CARLIER wrote:
>
>> A small update to install instead into ${LOCALBASE}/share/barony as
>> request
>> by @bcallah.
>>
>
> Attached is a better version with fixes and a proper pkg/README.
>
> OK?
>
> ~Brian
>
>
> On 30 April 2018 at 21:35, Brian Callahan <bcal...@devio.us> wrote:
>>
>> (Responding from my phone so apologies)
>>> Download the Linux version and extract it with unzip.
>>>
>>>
>>>
>>> Sent from my Verizon, Samsung Galaxy smartphone
>>>
>>>  Original message 
>>> From: David CARLIER <devne...@gmail.com>
>>> Date: 4/30/18 2:10 PM (GMT-05:00)
>>> To: Timo Myyrä <timo.my...@bittivirhe.fi>
>>> Cc: Solene Rapenne <sol...@perso.pw>, OpenBSD ports <ports@openbsd.org>
>>> Subject: Re: new: games/barony
>>>
>>> I checked the Gog com ... do not find the folders needed to get started
>>> the
>>> game ! e.g images maps items music sounds lang ...
>>>
>>> On 30 April 2018 at 15:05, Timo Myyrä <timo.my...@bittivirhe.fi> wrote:
>>>
>>> David CARLIER <devne...@gmail.com> writes:
>>>>
>>>> Thanks for the feedback, in case you can always force the Debug mode
>>>>>
>>>> via
>>>
>>>> cmake e.g. -DCMAKE_BUILD_TYPE=Debug
>>>>> If I recall correctly you re running it into ppc arch ? Would like to
>>>>>
>>>> see
>>>
>>>> classic x86 archs users feedbacks too.
>>>>> Will try myself in some hours.
>>>>>
>>>>> On 30 April 2018 at 11:01, Solene Rapenne <sol...@perso.pw> wrote:
>>>>>
>>>>> Thomas Frohwein writes:
>>>>>>
>>>>>> On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
>>>>>>>
>>>>>>> I tried it on amd64 - installed the package, downloaded Barony:
>>>>>>>
>>>>>> Cursed
>>>
>>>> Edition
>>>>>>
>>>>>>> from gog.com, innoextract, then copied all the game files to
>>>>>>> /usr/local/share/games/barony. It counts through all the
>>>>>>>
>>>>>> 400-something
>>>
>>>> assets
>>>>>>
>>>>>>> that it loads, but afterwards just exits without any error.
>>>>>>>
>>>>>>> The version on gog.com is listed as 2.0.7 and is probably
>>>>>>>
>>>>>> outdated. I
>>>
>>>> think
>>>>>>
>>>>>>> a README with some details on this and maybe the game data folder
>>>>>>>
>>>>>> may
>>>
>>>> be
>>>>
>>>>> useful.
>>>>>>>
>>>>>>> I'll probably have to wait for an update on gog.com before being
>>>>>>>
>>>>>> able
>>>
>>>> to test.
>>>>>>
>>>>>> GOG now has 3.1.4 version. I still can't get the game to work, using
>>>>>> latest port version.
>>>>>>
>>>>>> I did :
>>>>>>
>>>>>>  $ innoextract 'setup_barony_cursed_edition_3.1.4_(20340).exe'
>>>>>>  $ doas rsync -av tmp/ /usr/local/share/games/barony/
>>>>>>  $ barony
>>>>>>  [12-58-43] Data path is /usr/local/share/games/barony
>>>>>>  $ echo $?
>>>>>>  $ 1
>>>>>>
>>>>>> I don't succeed having a backtrace with gdb.
>>>>>>
>>>>>> Same issue seems to happen on amd64 here.
>>>> Haven't tested yet with debug build.
>>>>
>>>> Timo
>>>>
>>>>
>


Re: new: games/barony

2018-04-30 Thread David CARLIER
A small update to install instead into ${LOCALBASE}/share/barony as request
by @bcallah.

On 30 April 2018 at 21:35, Brian Callahan <bcal...@devio.us> wrote:

> (Responding from my phone so apologies)
> Download the Linux version and extract it with unzip.
>
>
>
> Sent from my Verizon, Samsung Galaxy smartphone
>
>  Original message 
> From: David CARLIER <devne...@gmail.com>
> Date: 4/30/18 2:10 PM (GMT-05:00)
> To: Timo Myyrä <timo.my...@bittivirhe.fi>
> Cc: Solene Rapenne <sol...@perso.pw>, OpenBSD ports <ports@openbsd.org>
> Subject: Re: new: games/barony
>
> I checked the Gog com ... do not find the folders needed to get started the
> game ! e.g images maps items music sounds lang ...
>
> On 30 April 2018 at 15:05, Timo Myyrä <timo.my...@bittivirhe.fi> wrote:
>
> > David CARLIER <devne...@gmail.com> writes:
> >
> > > Thanks for the feedback, in case you can always force the Debug mode
> via
> > > cmake e.g. -DCMAKE_BUILD_TYPE=Debug
> > > If I recall correctly you re running it into ppc arch ? Would like to
> see
> > > classic x86 archs users feedbacks too.
> > > Will try myself in some hours.
> > >
> > > On 30 April 2018 at 11:01, Solene Rapenne <sol...@perso.pw> wrote:
> > >
> > >>
> > >> Thomas Frohwein writes:
> > >>
> > >> > On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
> > >> >
> > >> > I tried it on amd64 - installed the package, downloaded Barony:
> Cursed
> > >> Edition
> > >> > from gog.com, innoextract, then copied all the game files to
> > >> > /usr/local/share/games/barony. It counts through all the
> 400-something
> > >> assets
> > >> > that it loads, but afterwards just exits without any error.
> > >> >
> > >> > The version on gog.com is listed as 2.0.7 and is probably
> outdated. I
> > >> think
> > >> > a README with some details on this and maybe the game data folder
> may
> > be
> > >> > useful.
> > >> >
> > >> > I'll probably have to wait for an update on gog.com before being
> able
> > >> to test.
> > >>
> > >> GOG now has 3.1.4 version. I still can't get the game to work, using
> > >> latest port version.
> > >>
> > >> I did :
> > >>
> > >> $ innoextract 'setup_barony_cursed_edition_3.1.4_(20340).exe'
> > >> $ doas rsync -av tmp/ /usr/local/share/games/barony/
> > >> $ barony
> > >> [12-58-43] Data path is /usr/local/share/games/barony
> > >> $ echo $?
> > >> $ 1
> > >>
> > >> I don't succeed having a backtrace with gdb.
> > >>
> >
> > Same issue seems to happen on amd64 here.
> > Haven't tested yet with debug build.
> >
> > Timo
> >
>


barony.tar
Description: Unix tar archive


Re: new: games/barony

2018-04-30 Thread David CARLIER
@bcallah found out the Linux version is ok (we both checked the windows
version) from the previous comments all the assets are inside
data/noarch/game subfolder

On 30 April 2018 at 22:29, Solene Rapenne <sol...@perso.pw> wrote:

>
> David CARLIER writes:
>
> > I checked the Gog com ... do not find the folders needed to get started
> the
> > game ! e.g images maps items music sounds lang ...
> >
>
> So, I assume that the port is not usable by GOG customers ? :/
>


Re: new: games/barony

2018-04-30 Thread David CARLIER
I was able to run the game with the Linux version indeed thanks ! (from
data/noarch/game/* folder content)

On 30 April 2018 at 21:35, Brian Callahan <bcal...@devio.us> wrote:

> (Responding from my phone so apologies)
> Download the Linux version and extract it with unzip.
>
>
>
> Sent from my Verizon, Samsung Galaxy smartphone
>
>  Original message 
> From: David CARLIER <devne...@gmail.com>
> Date: 4/30/18 2:10 PM (GMT-05:00)
> To: Timo Myyrä <timo.my...@bittivirhe.fi>
> Cc: Solene Rapenne <sol...@perso.pw>, OpenBSD ports <ports@openbsd.org>
> Subject: Re: new: games/barony
>
> I checked the Gog com ... do not find the folders needed to get started the
> game ! e.g images maps items music sounds lang ...
>
> On 30 April 2018 at 15:05, Timo Myyrä <timo.my...@bittivirhe.fi> wrote:
>
> > David CARLIER <devne...@gmail.com> writes:
> >
> > > Thanks for the feedback, in case you can always force the Debug mode
> via
> > > cmake e.g. -DCMAKE_BUILD_TYPE=Debug
> > > If I recall correctly you re running it into ppc arch ? Would like to
> see
> > > classic x86 archs users feedbacks too.
> > > Will try myself in some hours.
> > >
> > > On 30 April 2018 at 11:01, Solene Rapenne <sol...@perso.pw> wrote:
> > >
> > >>
> > >> Thomas Frohwein writes:
> > >>
> > >> > On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
> > >> >
> > >> > I tried it on amd64 - installed the package, downloaded Barony:
> Cursed
> > >> Edition
> > >> > from gog.com, innoextract, then copied all the game files to
> > >> > /usr/local/share/games/barony. It counts through all the
> 400-something
> > >> assets
> > >> > that it loads, but afterwards just exits without any error.
> > >> >
> > >> > The version on gog.com is listed as 2.0.7 and is probably
> outdated. I
> > >> think
> > >> > a README with some details on this and maybe the game data folder
> may
> > be
> > >> > useful.
> > >> >
> > >> > I'll probably have to wait for an update on gog.com before being
> able
> > >> to test.
> > >>
> > >> GOG now has 3.1.4 version. I still can't get the game to work, using
> > >> latest port version.
> > >>
> > >> I did :
> > >>
> > >> $ innoextract 'setup_barony_cursed_edition_3.1.4_(20340).exe'
> > >> $ doas rsync -av tmp/ /usr/local/share/games/barony/
> > >> $ barony
> > >> [12-58-43] Data path is /usr/local/share/games/barony
> > >> $ echo $?
> > >> $ 1
> > >>
> > >> I don't succeed having a backtrace with gdb.
> > >>
> >
> > Same issue seems to happen on amd64 here.
> > Haven't tested yet with debug build.
> >
> > Timo
> >
>


Re: new: games/barony

2018-04-30 Thread David CARLIER
I checked the Gog com ... do not find the folders needed to get started the
game ! e.g images maps items music sounds lang ...

On 30 April 2018 at 15:05, Timo Myyrä <timo.my...@bittivirhe.fi> wrote:

> David CARLIER <devne...@gmail.com> writes:
>
> > Thanks for the feedback, in case you can always force the Debug mode via
> > cmake e.g. -DCMAKE_BUILD_TYPE=Debug
> > If I recall correctly you re running it into ppc arch ? Would like to see
> > classic x86 archs users feedbacks too.
> > Will try myself in some hours.
> >
> > On 30 April 2018 at 11:01, Solene Rapenne <sol...@perso.pw> wrote:
> >
> >>
> >> Thomas Frohwein writes:
> >>
> >> > On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
> >> >
> >> > I tried it on amd64 - installed the package, downloaded Barony: Cursed
> >> Edition
> >> > from gog.com, innoextract, then copied all the game files to
> >> > /usr/local/share/games/barony. It counts through all the 400-something
> >> assets
> >> > that it loads, but afterwards just exits without any error.
> >> >
> >> > The version on gog.com is listed as 2.0.7 and is probably outdated. I
> >> think
> >> > a README with some details on this and maybe the game data folder may
> be
> >> > useful.
> >> >
> >> > I'll probably have to wait for an update on gog.com before being able
> >> to test.
> >>
> >> GOG now has 3.1.4 version. I still can't get the game to work, using
> >> latest port version.
> >>
> >> I did :
> >>
> >> $ innoextract 'setup_barony_cursed_edition_3.1.4_(20340).exe'
> >> $ doas rsync -av tmp/ /usr/local/share/games/barony/
> >> $ barony
> >> [12-58-43] Data path is /usr/local/share/games/barony
> >> $ echo $?
> >> $ 1
> >>
> >> I don't succeed having a backtrace with gdb.
> >>
>
> Same issue seems to happen on amd64 here.
> Haven't tested yet with debug build.
>
> Timo
>


Re: new: games/barony

2018-04-30 Thread David CARLIER
Thanks for the feedback, in case you can always force the Debug mode via
cmake e.g. -DCMAKE_BUILD_TYPE=Debug
If I recall correctly you re running it into ppc arch ? Would like to see
classic x86 archs users feedbacks too.
Will try myself in some hours.

On 30 April 2018 at 11:01, Solene Rapenne  wrote:

>
> Thomas Frohwein writes:
>
> > On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
> >
> > I tried it on amd64 - installed the package, downloaded Barony: Cursed
> Edition
> > from gog.com, innoextract, then copied all the game files to
> > /usr/local/share/games/barony. It counts through all the 400-something
> assets
> > that it loads, but afterwards just exits without any error.
> >
> > The version on gog.com is listed as 2.0.7 and is probably outdated. I
> think
> > a README with some details on this and maybe the game data folder may be
> > useful.
> >
> > I'll probably have to wait for an update on gog.com before being able
> to test.
>
> GOG now has 3.1.4 version. I still can't get the game to work, using
> latest port version.
>
> I did :
>
> $ innoextract 'setup_barony_cursed_edition_3.1.4_(20340).exe'
> $ doas rsync -av tmp/ /usr/local/share/games/barony/
> $ barony
> [12-58-43] Data path is /usr/local/share/games/barony
> $ echo $?
> $ 1
>
> I don't succeed having a backtrace with gdb.
>


Re: new: games/barony

2018-04-27 Thread David CARLIER
ping here with a refreshed version (3.1.4).

On 5 April 2018 at 03:53, frohw...@ymail.com <frohw...@ymail.com> wrote:

> As far as I know there will eventually be a free update on gog.com, but
> it is delayed compared to steam. The developers explain this on the steam
> forum of the game. I'm waiting for that update, too.
>
> On April 4, 2018 11:37:06 PM UTC, Solene Rapenne <sol...@perso.pw> wrote:
> >
> >David CARLIER writes:
> >
> >> Hi indeed it works only from the blessed edition. It should probably
> >being
> >> marked as broken for ppc archs.
> >
> >hello, I just bought the game on GOG but I have the Cursed edition, how
> >can I get the assets of the blessed edition ? Is it an update or
> >another
> >version of the game to buy ?
>


barony.tar
Description: Unix tar archive


Re: clang 6: php 5.6 broken with opcache

2018-04-23 Thread David CARLIER
Surely not that s not ideal even without this C++ runtime conflict.
Seems FreeBSD touched by similar issue

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723

On 21 April 2018 at 12:48, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2018/04/21 13:27, David CARLIER wrote:
> > I got same issue, once I recompiled the whole system earlier still got
> > segfault but slightly different ... If I switched the compiler to gcc 4.9
> > it worked but as said do not know if it worths keeping this version in
> the
> > tree ...
>
> Not checked but it's fairly likely that gcc 4.9 will result in problems
> with icu4c (php-intl) due to the mixture of libc++ and libstdc++. I don't
> think that is the answer.
>
>


Re: clang 6: php 5.6 broken with opcache

2018-04-21 Thread David CARLIER
I got same issue, once I recompiled the whole system earlier still got
segfault but slightly different ... If I switched the compiler to gcc 4.9
it worked but as said do not know if it worths keeping this version in the
tree ...

On 21 April 2018 at 12:51, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2018/04/20 12:59, Stuart Henderson wrote:
> > php 5.6 built with clang 6 segfaults at runtime if opcache is used
> > (same with the in-tree version and a locally-built update to 5.6.35).
> >
> > Packages built with old clang do work ok on the same kernel that the
> > new ones fail with.
> >
> > Seems okay if opcache is not enabled. Seems okay in 7.0.
> >
> > Does anyone have an idea what might be going on? In the absence of
> > anything better I'm currently trying to figure out how to compile
> > various files with a different compiler to try to narrow things down
> > to a particular file.
>
> This problem is only triggered if suhosin is used, if I build with
> FLAVOR=no_suhosin or install the no_suhosin flavoured packages then
> it works ok.
>
> Wondering if the easy option to "fix" this would be to kill 5.6.
> Is it important for anything any more? I've been running with 7.0.x
> for ages with no version-related problems.
>
>
>
>
> > Example backtrace:
> >
> > (gdb) bt
> > #0  0x0d96cb832f53 in zend_block_optimization (op_array=Variable
> "op_array" is not available.
> > )
> > at block_pass.c:1902
> > #1  0x0d96cb830a8a in zend_optimize (op_array=Variable "op_array" is
> not available.
> > ) at pass5.c:2
> > #2  0x0d96cb82dad2 in zend_accel_optimize (op_array=0xd9664740a38,
> > script=Variable "script" is not available.
> > )
> > at /usr/obj/ports/php-5.6.35/php-5.6.35/ext/opcache/Optimizer/
> zend_optimizer.c:586
> > #3  0x0d96cb82d897 in zend_accel_script_optimize
> (script=0xd9664740a20)
> > at /usr/obj/ports/php-5.6.35/php-5.6.35/ext/opcache/Optimizer/
> zend_optimizer.c:633
> > #4  0x0d96cb821d7b in compile_and_cache_file (file_handle=Variable
> "file_handle" is not available.
> > )
> > at ZendAccelerator.c:1165
> > #5  0x0d96cb821674 in persistent_compile_file (
> > file_handle=0x7f7dcf48, type=8) at ZendAccelerator.c:1680
> > #6  0x0d943a70c10e in zend_execute_scripts (type=8, retval=0x0,
> > file_count=3) at zend.c:1333
> > #7  0x0d943a6a9b36 in php_execute_script (primary_file=Variable
> "primary_file" is not available.
> > ) at main.c:2613
> > #8  0x0d943a79c0fd in do_cli (argc=Variable "argc" is not available.
> > ) at php_cli.c:999
> > #9  0x0d943a79b03f in main (argc=2, argv=0x7f7dd588)
> > at php_cli.c:1383
> >
> > Tail of kdump:
> >
> >  42144 php-5.6  CALL  lseek(4,0,SEEK_CUR)
> >  42144 php-5.6  RET   lseek 5766/0x1686
> >  42144 php-5.6  CALL  fcntl(4,F_ISATTY)
> >  42144 php-5.6  RET   fcntl -1 errno 25 Inappropriate ioctl for device
> >  42144 php-5.6  CALL  fstat(4,0x7f7d0070)
> >  42144 php-5.6  STRU  struct stat { dev=1037, ino=947378,
> mode=-rwxr-xr-x , nlink=1, uid=0<"root">, gid=7<"bin">, rdev=3812237,
> atime=1524224156<"Apr 20 12:35:56 2018">.361714097, mtime=1524095986<"Apr
> 19 00:59:46 2018">, ctime=1524217255<"Apr 20 10:40:55 2018">.710145907,
> size=5766, blocks=16, blksize=32768, flags=0x0, gen=0x0 }
> >  42144 php-5.6  RET   fstat 0
> >  42144 php-5.6  CALL  mmap(0,0x16a6,0x1,0x2,4,0)
> >  42144 php-5.6  RET   mmap 33848217530368/0x1ec8e6fb7000
> >  42144 php-5.6  CALL  mmap(0,0x4,0x3<PROT_READ|
> PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON>,-1,0)
> >  42144 php-5.6  RET   mmap 33850099900416/0x1ec9572e2000
> >  42144 php-5.6  CALL  kbind(0x7f7d02a0,24,0xc153e7a574fb2071)
> >  42144 php-5.6  RET   kbind 0
> >  42144 php-5.6  CALL  kbind(0x7f7d02c0,24,0xc153e7a574fb2071)
> >  42144 php-5.6  RET   kbind 0
> >  42144 php-5.6  CALL  kbind(0x7f7d02c0,24,0xc153e7a574fb2071)
> >  42144 php-5.6  RET   kbind 0
> >  42144 php-5.6  CALL  kbind(0x7f7d02c0,24,0xc153e7a574fb2071)
> >  42144 php-5.6  RET   kbind 0
> >  42144 php-5.6  CALL  kbind(0x7f7d02c0,24,0xc153e7a574fb2071)
> >  42144 php-5.6  RET   kbind 0
> >  42144 php-5.6  CALL  kbind(0x7f7d0130,24,0xc153e7a574fb2071)
> >  42144 php-5.6  RET   kbind 0
> >  42144 php-5.6  CALL  kbind(0x7f7d0130,24,0xc153e7a574fb2071)
> >  42144 php-5.6  RET   kbind 0
> >  42144 php-5

Re: games/vegastrike/engine clang6 fix

2018-04-13 Thread David CARLIER
Would this version fits better ?

Regards.

On 13 April 2018 at 11:55, Jonathan Gray <j...@jsg.id.au> wrote:

> On Fri, Apr 13, 2018 at 11:05:58AM +0100, David CARLIER wrote:
> > Hi,
> >
> > here a simple fix turning to C++03 mode.
>
> This will break gcc archs. --std only goes to c++98 with 4.2.1.
>
> >
> > Regards.
>
> > Index: engine/Makefile
> > ===
> > RCS file: /cvs/ports/games/vegastrike/engine/Makefile,v
> > retrieving revision 1.10
> > diff -u -p -r1.10 Makefile
> > --- engine/Makefile   26 Dec 2017 19:18:57 -  1.10
> > +++ engine/Makefile   13 Apr 2018 10:02:23 -
> > @@ -41,7 +41,8 @@ CONFIGURE_ARGS +=   --with-python-version=
> >   --disable-ffmpeg \
> >   --with-data-dir="${TRUEPREFIX}/share/vegastrike"
> >
> > -CXXFLAGS +=  -Wno-undefined-var-template -Wno-unused-volatile-lvalue
> > +CXXFLAGS +=  -Wno-undefined-var-template -Wno-unused-volatile-lvalue \
> > + -std=c++03
> >
> >  CONFIGURE_ENV =  \
> >   CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include
> -I${LOCALBASE}/include/libpng" \
>
>
Index: engine/Makefile
===
RCS file: /cvs/ports/games/vegastrike/engine/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- engine/Makefile	26 Dec 2017 19:18:57 -	1.10
+++ engine/Makefile	13 Apr 2018 12:18:41 -
@@ -41,7 +41,12 @@ CONFIGURE_ARGS +=	--with-python-version=
 			--disable-ffmpeg \
 			--with-data-dir="${TRUEPREFIX}/share/vegastrike"
 
+.include 
+
 CXXFLAGS +=	-Wno-undefined-var-template -Wno-unused-volatile-lvalue
+.if ${PROPERTIES:Mclang}
+CXXFLAGS +=	-std=c++03
+.endif
 
 CONFIGURE_ENV =	\
 	CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \


update games/ja2-stracciatella

2018-04-13 Thread David CARLIER
Hi,
here an update proposal for this port.

Regards.
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:21 -	1.3
+++ Makefile	13 Apr 2018 10:51:37 -
@@ -29,6 +29,8 @@ USE_GMAKE =	Yes
 MAKE_FLAGS =	Q= WITH_UNITTESTS=0 WITH_DEBUGINFO=1 \
 		CXX=c++
 
+MAKE_ENV =  CXXFLAGS="${CXXFLAGS} -std=c++03"
+
 NO_TEST =	Yes
 
 # strip BOM, gcc 4.2.1 doesn't understand it


games/vegastrike/engine clang6 fix

2018-04-13 Thread David CARLIER
Hi,

here a simple fix turning to C++03 mode.

Regards.
Index: engine/Makefile
===
RCS file: /cvs/ports/games/vegastrike/engine/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- engine/Makefile	26 Dec 2017 19:18:57 -	1.10
+++ engine/Makefile	13 Apr 2018 10:02:23 -
@@ -41,7 +41,8 @@ CONFIGURE_ARGS +=	--with-python-version=
 			--disable-ffmpeg \
 			--with-data-dir="${TRUEPREFIX}/share/vegastrike"
 
-CXXFLAGS +=	-Wno-undefined-var-template -Wno-unused-volatile-lvalue
+CXXFLAGS +=	-Wno-undefined-var-template -Wno-unused-volatile-lvalue \
+			-std=c++03
 
 CONFIGURE_ENV =	\
 	CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \


update devel/openmpi clang6 fix

2018-04-11 Thread David CARLIER
Hi,

fix for openmpi here.

Regards.


patch-devel-openmpi.diff
Description: Binary data


update math/openfst clang6 fix

2018-04-11 Thread David CARLIER
Hi,

Here a little fix for openfst.

Regards.
Index: patches/patch-src_script_text-io_cc
===
RCS file: patches/patch-src_script_text-io_cc
diff -N patches/patch-src_script_text-io_cc
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_script_text-io_cc	11 Apr 2018 15:19:54 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/script/text-io.cc
+--- src/script/text-io.cc.orig
 src/script/text-io.cc
+@@ -84,7 +84,7 @@ bool WritePotentials(const string& filename,
+   if (!*strm)
+ LOG(ERROR) << "WritePotentials: Write failed: "
+<< (filename.empty() ? "standard output" : filename);
+-  bool ret = *strm;
++  bool ret = !(!*strm);
+   if (strm != ::cout)
+ delete strm;
+   return ret;


update net/amule clang6 fix

2018-04-11 Thread David CARLIER
Hi,

Here a small fix for amule.

Regards.
Index: patches/patch-src_webserver_src_php_amule_lib_cpp
===
RCS file: patches/patch-src_webserver_src_php_amule_lib_cpp
diff -N patches/patch-src_webserver_src_php_amule_lib_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_webserver_src_php_amule_lib_cpp	11 Apr 2018 14:52:04 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/webserver/src/php_amule_lib.cpp
+--- src/webserver/src/php_amule_lib.cpp.orig
 src/webserver/src/php_amule_lib.cpp
+@@ -564,7 +564,7 @@ void php_native_search_start_cmd(PHP_VALUE_NODE *)
+ 		case 1: search_type = EC_SEARCH_GLOBAL; break;
+ 		case 2: search_type = EC_SEARCH_KAD; break;
+ 		default:
+-			php_report_error(PHP_ERROR, "Invalid search type %"PRIu64, si->var->value.int_val);
++			php_report_error(PHP_ERROR, "Invalid search type %" PRIu64, si->var->value.int_val);
+ 			return;
+ 	}
+ 
Index: patches/patch-src_webserver_src_php_core_lib_cpp
===
RCS file: patches/patch-src_webserver_src_php_core_lib_cpp
diff -N patches/patch-src_webserver_src_php_core_lib_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_webserver_src_php_core_lib_cpp	11 Apr 2018 14:52:04 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/webserver/src/php_core_lib.cpp
+--- src/webserver/src/php_core_lib.cpp.orig
 src/webserver/src/php_core_lib.cpp
+@@ -71,7 +71,7 @@ void php_var_dump(PHP_VALUE_NODE *node, int ident, int
+ 	if ( ref ) printf("&");
+ 	switch(node->type) {
+ 		case PHP_VAL_BOOL: printf("bool(%s)\n", node->int_val ? "true" : "false"); break;
+-		case PHP_VAL_INT: printf("int(%"PRIu64")\n", node->int_val); break;
++		case PHP_VAL_INT: printf("int(%" PRIu64 ")\n", node->int_val); break;
+ 		case PHP_VAL_FLOAT: printf("float(%f)\n", node->float_val); break;
+ 		case PHP_VAL_STRING: printf("string(%d) \"%s\"\n", (int)strlen(node->str_val), node->str_val); break;
+ 		case PHP_VAL_OBJECT: printf("Object(%s)\n", node->obj_val.class_name); break;
Index: patches/patch-src_webserver_src_php_syntree_cpp
===
RCS file: patches/patch-src_webserver_src_php_syntree_cpp
diff -N patches/patch-src_webserver_src_php_syntree_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_webserver_src_php_syntree_cpp	11 Apr 2018 14:52:04 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/webserver/src/php_syntree.cpp
+--- src/webserver/src/php_syntree.cpp.orig
 src/webserver/src/php_syntree.cpp
+@@ -926,7 +926,7 @@ void cast_value_str(PHP_VALUE_NODE *val)
+ 	switch(val->type) {
+ 		case PHP_VAL_NONE: buff[0] = 0; break;
+ 		case PHP_VAL_BOOL:
+-		case PHP_VAL_INT: snprintf(buff, sizeof(buff), "%"PRIu64, val->int_val); break;
++		case PHP_VAL_INT: snprintf(buff, sizeof(buff), "%" PRIu64, val->int_val); break;
+ 		case PHP_VAL_FLOAT: snprintf(buff, sizeof(buff), "%.02f", val->float_val); break;
+ 		case PHP_VAL_STRING: return;
+ 		case PHP_VAL_ARRAY: {


update textproc/sphinx clang6 fix

2018-04-10 Thread David CARLIER
Hi,

here a bit lengthy one.

Regards.
Index: patches/patch-src_indexer_cpp
===
RCS file: patches/patch-src_indexer_cpp
diff -N patches/patch-src_indexer_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_indexer_cpp	10 Apr 2018 21:07:57 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/indexer.cpp
+--- src/indexer.cpp.orig
 src/indexer.cpp
+@@ -1291,7 +1291,7 @@ bool DoIndex ( const CSphConfigSection & hIndex, const
+ 			iTotalBytes += tSource.m_iTotalBytes;
+ 		}
+ 
+-		fprintf ( stdout, "total "INT64_FMT" docs, "INT64_FMT" bytes\n", iTotalDocs, iTotalBytes );
++		fprintf ( stdout, "total " INT64_FMT " docs, " INT64_FMT " bytes\n", iTotalDocs, iTotalBytes );
+ 
+ 		fprintf ( stdout, "total %d.%03d sec, %d bytes/sec, %d.%02d docs/sec\n",
+ 			(int)(tmTime/100), (int)(tmTime%100)/1000, // sec
Index: patches/patch-src_indextool_cpp
===
RCS file: patches/patch-src_indextool_cpp
diff -N patches/patch-src_indextool_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_indextool_cpp	10 Apr 2018 21:07:57 -
@@ -0,0 +1,32 @@
+$OpenBSD$
+
+Index: src/indextool.cpp
+--- src/indextool.cpp.orig
 src/indextool.cpp
+@@ -490,7 +490,7 @@ bool BuildIDF ( const CSphString & sFilename, const CS
+ 			break;
+ 	}
+ 
+-	fprintf ( stdout, INT64_FMT" documents, "INT64_FMT" words ("INT64_FMT" read, "INT64_FMT" merged, "INT64_FMT" skipped)\n",
++	fprintf ( stdout, INT64_FMT " documents, " INT64_FMT " words (" INT64_FMT" read, " INT64_FMT " merged, " INT64_FMT " skipped)\n",
+ 		iTotalDocuments, iTotalWords, iReadWords, iMergedWords, iSkippedWords );
+ 
+ 	// write to disk
+@@ -643,7 +643,7 @@ bool MergeIDF ( const CSphString & sFilename, const CS
+ 	ARRAY_FOREACH ( i, dFiles )
+ 		SafeDeleteArray ( dBuffers[i] );
+ 
+-	fprintf ( stdout, INT64_FMT" documents, "INT64_FMT" words ("INT64_FMT" read, "INT64_FMT" merged, "INT64_FMT" skipped)\n",
++	fprintf ( stdout, INT64_FMT " documents, " INT64_FMT " words (" INT64_FMT " read, " INT64_FMT " merged, " INT64_FMT " skipped)\n",
+ 		iTotalDocuments, iTotalWords, iReadWords, iMergedWords, iSkippedWords );
+ 
+ 	int tmWallMsec = (int)( ( sphMicroTimer() - tmStart )/1000 );
+@@ -1170,7 +1170,7 @@ int main ( int argc, char ** argv )
+ fprintf ( stdout, "dumping dictionary for index '%s'...\n", sIndex.cstr() );
+ 
+ 			if ( bStats )
+-fprintf ( stdout, "total-documents: "INT64_FMT"\n", pIndex->GetStats().m_iTotalDocuments );
++fprintf ( stdout, "total-documents: " INT64_FMT "\n", pIndex->GetStats().m_iTotalDocuments );
+ 			pIndex->DebugDumpDict ( stdout );
+ 			break;
+ 		}
Index: patches/patch-src_searchd_cpp
===
RCS file: patches/patch-src_searchd_cpp
diff -N patches/patch-src_searchd_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_searchd_cpp	10 Apr 2018 21:07:57 -
@@ -0,0 +1,274 @@
+$OpenBSD$
+
+Index: src/searchd.cpp
+--- src/searchd.cpp.orig
 src/searchd.cpp
+@@ -3927,7 +3927,7 @@ struct MetaAgentDesc_t (public)
+ 		// only one node with lowest error rating. Return it.
+ 		if ( !dCandidates.GetLength() )
+ 		{
+-			sphLogDebug ( "HA selected %d node with best num of errors a row ("INT64_FMT")", iBestAgent, iErrARow );
++			sphLogDebug ( "HA selected %d node with best num of errors a row (" INT64_FMT ")", iBestAgent, iErrARow );
+ 			return _dAgents[iBestAgent];
+ 		}
+ 
+@@ -3940,7 +3940,7 @@ struct MetaAgentDesc_t (public)
+ 		{
+ 			const HostDashboard_t & dDash = GetCommonStat ( iBestAgent );
+ 			fAge = ( dDash.m_iLastAnswerTime-dDash.m_iLastQueryTime ) / 1000.0f;
+-			sLogStr = "HA selected %d node by weighted random, with best EaR ("INT64_FMT"), last answered in %f milliseconds";
++			sLogStr = "HA selected %d node by weighted random, with best EaR (" INT64_FMT "), last answered in %f milliseconds";
+ 		}
+ 
+ 		sphLogDebug ( sLogStr, iBestAgent, iErrARow, fAge );
+@@ -6935,7 +6935,7 @@ void LogQueryPlain ( const CSphQuery & tQuery, const C
+ 	// [matchmode/numfilters/sortmode matches (offset,limit)
+ 	static const char * sModes [ SPH_MATCH_TOTAL ] = { "all", "any", "phr", "bool", "ext", "scan", "ext2" };
+ 	static const char * sSort [ SPH_SORT_TOTAL ] = { "rel", "attr-", "attr+", "tsegs", "ext", "expr" };
+-	tBuf.Appendf ( " [%s/%d/%s "INT64_FMT" (%d,%d)",
++	tBuf.Appendf ( " [%s/%d/%s " INT64_FMT " (%d,%d)",
+ 		sModes [ tQuery.m_eMode ], tQuery.m_dFilters.GetLength(), sSort [ tQuery.m_eSort ],
+ 		tRes.m_iTotalMatches, tQuery.m_iOffset, tQuery.m_iLimit );
+ 
+@@ -7045,10 +7045,10 @@ static void LogQuerySphinxql ( const CSphQuery & q, co
+ 	tBuf += sTimeBuf;
+ 
+ 	if ( tRes.m_iMultiplier>1 )
+-		tBuf.Appendf ( " conn %d real %d.%03d wall %d.%03d x%d found "INT64_FMT" *""/ ",
++		tBuf.Appendf ( " conn %d real %d.%03d wall %d.%03d x%d found " INT64_FMT " *""/ ",
+ 			iCid, iRealTime/1000, iRealTime%1000, 

update devel/bullet clang6 fix

2018-04-10 Thread David CARLIER
Hi,

Here a proposal for bullet library.

Hope it s good enough.

Regards.
Index: patches/patch-examples_OpenGLWindow_LoadShader_cpp
===
RCS file: patches/patch-examples_OpenGLWindow_LoadShader_cpp
diff -N patches/patch-examples_OpenGLWindow_LoadShader_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-examples_OpenGLWindow_LoadShader_cpp	10 Apr 2018 18:44:39 -
@@ -0,0 +1,32 @@
+$OpenBSD$
+
+Index: examples/OpenGLWindow/LoadShader.cpp
+--- examples/OpenGLWindow/LoadShader.cpp.orig
 examples/OpenGLWindow/LoadShader.cpp
+@@ -47,7 +47,7 @@ GLuint gltLoadShaderPair(const char *szVertexProg, con
+ return 0;
+ 		glDeleteShader(hVertexShader);
+ 		glDeleteShader(hFragmentShader);
+-		return (GLuint)NULL;
++		return (GLuint)0;
+ 	}
+ 
+   assert(glGetError()==GL_NO_ERROR);
+@@ -65,7 +65,7 @@ GLuint gltLoadShaderPair(const char *szVertexProg, con
+ exit(EXIT_FAILURE);
+ 		glDeleteShader(hVertexShader);
+ 		glDeleteShader(hFragmentShader);
+-		return (GLuint)NULL;
++		return (GLuint)0;
+ 	}
+ 
+ assert(glGetError()==GL_NO_ERROR);
+@@ -102,7 +102,7 @@ GLuint gltLoadShaderPair(const char *szVertexProg, con
+ 		printf("Warning/Error in GLSL shader:\n");
+ 		printf("%s\n",infoLog);
+ 		glDeleteProgram(hReturn);
+-		return (GLuint)NULL;
++		return (GLuint)0;
+ 	}
+ 
+ 	return hReturn;
Index: patches/patch-examples_SharedMemory_PhysicsServerExample_cpp
===
RCS file: patches/patch-examples_SharedMemory_PhysicsServerExample_cpp
diff -N patches/patch-examples_SharedMemory_PhysicsServerExample_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-examples_SharedMemory_PhysicsServerExample_cpp	10 Apr 2018 18:44:39 -
@@ -0,0 +1,26 @@
+$OpenBSD$
+
+Index: examples/SharedMemory/PhysicsServerExample.cpp
+--- examples/SharedMemory/PhysicsServerExample.cpp.orig
 examples/SharedMemory/PhysicsServerExample.cpp
+@@ -2416,14 +2416,14 @@ void PhysicsServerExample::drawUserDebugLines()
+ 			}
+ 
+ 			float colorRGBA[4] = {
+-m_multiThreadedHelper->m_userDebugText[i].m_textColorRGB[0],
+-m_multiThreadedHelper->m_userDebugText[i].m_textColorRGB[1],
+-m_multiThreadedHelper->m_userDebugText[i].m_textColorRGB[2],
++static_cast(m_multiThreadedHelper->m_userDebugText[i].m_textColorRGB[0]),
++static_cast(m_multiThreadedHelper->m_userDebugText[i].m_textColorRGB[1]),
++static_cast(m_multiThreadedHelper->m_userDebugText[i].m_textColorRGB[2]),
+ 1.};
+ 
+-			float pos[3] = {m_multiThreadedHelper->m_userDebugText[i].m_textPositionXYZ1[0],
+-			m_multiThreadedHelper->m_userDebugText[i].m_textPositionXYZ1[1],
+-			m_multiThreadedHelper->m_userDebugText[i].m_textPositionXYZ1[2]};
++			float pos[3] = {static_cast(m_multiThreadedHelper->m_userDebugText[i].m_textPositionXYZ1[0]),
++			static_cast(m_multiThreadedHelper->m_userDebugText[i].m_textPositionXYZ1[1]),
++			static_cast(m_multiThreadedHelper->m_userDebugText[i].m_textPositionXYZ1[2])};
+ 
+ 			int graphicsIndex = m_multiThreadedHelper->m_userDebugText[i].m_trackingVisualShapeIndex;
+ 			if (graphicsIndex>=0)
Index: patches/patch-examples_SharedMemory_TinyRendererVisualShapeConverter_cpp
===
RCS file: patches/patch-examples_SharedMemory_TinyRendererVisualShapeConverter_cpp
diff -N patches/patch-examples_SharedMemory_TinyRendererVisualShapeConverter_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-examples_SharedMemory_TinyRendererVisualShapeConverter_cpp	10 Apr 2018 18:44:39 -
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Index: examples/SharedMemory/TinyRendererVisualShapeConverter.cpp
+--- examples/SharedMemory/TinyRendererVisualShapeConverter.cpp.orig
 examples/SharedMemory/TinyRendererVisualShapeConverter.cpp
+@@ -725,7 +725,8 @@ void TinyRendererVisualShapeConverter::changeRGBAColor
+ 		TinyRendererObjectArray** ptrptr = m_data->m_swRenderInstances.getAtIndex(i);
+ 		if (ptrptr && *ptrptr)
+ 		{
+-			float rgba[4] = {rgbaColor[0], rgbaColor[1], rgbaColor[2], rgbaColor[3]};
++			float rgba[4] = {static_cast(rgbaColor[0]), static_cast(rgbaColor[1]), static_cast(rgbaColor[2]), 
++static_cast(rgbaColor[3])};
+ 			TinyRendererObjectArray* visuals = *ptrptr;
+ 			if ((bodyUniqueId == visuals->m_objectUniqueId) && (linkIndex == visuals->m_linkIndex))
+ 			{


update : multimedia/sfml clang6 fix

2018-04-10 Thread David CARLIER
Hi.

Here a very typical clang6 fix.

Regards.
Index: patches/patch-src_SFML_Window_Unix_WindowImplX11_cpp
===
RCS file: patches/patch-src_SFML_Window_Unix_WindowImplX11_cpp
diff -N patches/patch-src_SFML_Window_Unix_WindowImplX11_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_SFML_Window_Unix_WindowImplX11_cpp	10 Apr 2018 17:54:02 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/SFML/Window/Unix/WindowImplX11.cpp
+--- src/SFML/Window/Unix/WindowImplX11.cpp.orig
 src/SFML/Window/Unix/WindowImplX11.cpp
+@@ -1592,7 +1592,7 @@ void WindowImplX11::initialize()
+ m_window,
+ XNInputStyle,
+ XIMPreeditNothing | XIMStatusNothing,
+-reinterpret_cast(NULL)
++static_cast(NULL)
+ );
+ }
+ else


fix clang6 build for libv8

2018-04-07 Thread David CARLIER
Hi,

Here a proposal to fix build broken by the recent clang6 update.

Regards.
Index: Makefile
===
RCS file: /cvs/ports/lang/libv8/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	8 Nov 2017 18:06:24 -	1.17
+++ Makefile	7 Apr 2018 13:17:24 -
@@ -6,7 +6,7 @@ COMMENT=	V8 JavaScript for clients and s
 
 V8_VERSION=	3.16.14.11
 EPOCH=		0
-REVISION=	0
+REVISION=	1
 V8_ARCH=	${MACHINE_ARCH:S/amd64/x64/:S/i386/ia32/}
 V8_RELEASE=	release
 
Index: patches/patch-src_stub-cache_cc
===
RCS file: patches/patch-src_stub-cache_cc
diff -N patches/patch-src_stub-cache_cc
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_stub-cache_cc	7 Apr 2018 13:17:24 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/stub-cache.cc
+--- src/stub-cache.cc.orig
 src/stub-cache.cc
+@@ -1376,7 +1376,7 @@ Handle StubCompiler::GetCodeWithFlags(Code::Flag
+ Handle name) {
+   return (FLAG_print_code_stubs && !name.is_null())
+   ? GetCodeWithFlags(flags, *name->ToCString())
+-  : GetCodeWithFlags(flags, reinterpret_cast(NULL));
++  : GetCodeWithFlags(flags, static_cast(NULL));
+ }
+ 
+ 


update: net/nmap 7.70

2018-04-01 Thread David CARLIER
Hi,

Here an update of mmap port.

Happy easter !


patch-net-nmap.diff
Description: Binary data


Re: new: games/barony

2018-03-29 Thread David CARLIER
Once I got enough feedbacks I ll start doing changes.

On 30 March 2018 at 06:40, David CARLIER <devne...@gmail.com> wrote:

> Hi indeed it works only from the blessed edition. It should probably being
> marked as broken for ppc archs.
>
> On 30 March 2018 at 06:36, Thomas Frohwein <frohw...@ymail.com> wrote:
>
>> On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
>> > I compiled it on -current on power pc and when I start barony I get this
>> > error, please find gdb backtrace :
>> >
>> > $ gdb barony
>> > GNU gdb 6.3
>> > Copyright 2004 Free Software Foundation, Inc.
>> > GDB is free software, covered by the GNU General Public License, and
>> you are
>> > welcome to change it and/or distribute copies of it under certain
>> conditions.
>> > Type "show copying" to see the conditions.
>> > There is absolutely no warranty for GDB.  Type "show warranty" for
>> details.
>> > This GDB was configured as "powerpc-unknown-openbsd6.3"...
>> > (gdb) run
>> > Starting program: /usr/local/bin/barony
>> > [00-40-01] Data path is /usr/local/share/games/barony
>> >
>> > Program received signal SIGABRT, Aborted.
>> > 0xc086f7d0 in thrkill () at {standard input}:5
>> > 5   {standard input}: No such file or directory.
>> > in {standard input}
>> > Current language:  auto; currently asm
>> > (gdb) backtrace
>> > #0  0xc086f7d0 in thrkill () at {standard input}:5
>> > #1  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #2  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #3  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #4  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #5  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #6  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #7  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #8  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #9  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > #10 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
>> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
>> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
>> > Previous frame inner to this frame (corrupt stack?)
>>
>> I tried it on amd64 - installed the package, downloaded Barony: Cursed
>> Edition
>> from gog.com, innoextract, then copied all the game files to
>> /usr/local/share/games/barony. It counts through all the 400-something
>> assets
>> that it loads, but afterwards just exits without any error.
>>
>> The version on gog.com is listed as 2.0.7 and is probably outdated. I
>> think
>> a README with some details on this and maybe the game data folder may be
>> useful.
>>
>> I'll probably have to wait for an update on gog.com before being able to
>> test.
>>
>>
>


Re: new: games/barony

2018-03-29 Thread David CARLIER
Hi indeed it works only from the blessed edition. It should probably being
marked as broken for ppc archs.

On 30 March 2018 at 06:36, Thomas Frohwein  wrote:

> On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
> > I compiled it on -current on power pc and when I start barony I get this
> > error, please find gdb backtrace :
> >
> > $ gdb barony
> > GNU gdb 6.3
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you
> are
> > welcome to change it and/or distribute copies of it under certain
> conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> > This GDB was configured as "powerpc-unknown-openbsd6.3"...
> > (gdb) run
> > Starting program: /usr/local/bin/barony
> > [00-40-01] Data path is /usr/local/share/games/barony
> >
> > Program received signal SIGABRT, Aborted.
> > 0xc086f7d0 in thrkill () at {standard input}:5
> > 5   {standard input}: No such file or directory.
> > in {standard input}
> > Current language:  auto; currently asm
> > (gdb) backtrace
> > #0  0xc086f7d0 in thrkill () at {standard input}:5
> > #1  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #2  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #3  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #4  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #5  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #6  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #7  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #8  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #9  0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > #10 0xc082db08 in *_libc___stack_smash_handler (func=0xc3322434
> "X11_InitKeyboard", damaged=Variable "damaged" is not available.
> > ) at /usr/src/lib/libc/sys/stack_protector.c:79
> > Previous frame inner to this frame (corrupt stack?)
>
> I tried it on amd64 - installed the package, downloaded Barony: Cursed
> Edition
> from gog.com, innoextract, then copied all the game files to
> /usr/local/share/games/barony. It counts through all the 400-something
> assets
> that it loads, but afterwards just exits without any error.
>
> The version on gog.com is listed as 2.0.7 and is probably outdated. I
> think
> a README with some details on this and maybe the game data folder may be
> useful.
>
> I'll probably have to wait for an update on gog.com before being able to
> test.
>
>


new: games/barony

2018-03-29 Thread David CARLIER
Hi,

Here a video game I had been followed up (and contributed to) since last
summer,
a 3D rogue game named Barony. It is a potentially attractive and addictive,
each time I did a demo I had hard time to get back my laptop ... I could
have released before but wanted to wait as this "Blessed Edition" has much
more content than the "Cursed" one, quite some bug fixes and so on ...

Basically the game relate to the recent 3.1.1 version (so no need, the game
assets can be found in the most popular gaming platform.

This port reflects the work of @thfr, @bcallah and me.

Thanks in advance.


barony.tar
Description: Unix tar archive


Re: [UPDATE] audio/openal

2017-12-27 Thread David CARLIER
Works for me thanks.

On 28 December 2017 at 03:54, Jeremie Courreges-Anglas <j...@openbsd.org>
wrote:

>
> On Sun, Dec 24 2017, David CARLIER <devne...@gmail.com> wrote:
> > On 24 December 2017 at 00:25, Jeremie Courreges-Anglas <j...@wxcvbn.org>
> > wrote:
> >
> >> On Sat, Dec 23 2017, David CARLIER <devne...@gmail.com> wrote:
> >> > Hi,
> >> >
> >> > Due to lot of gaming porting efforts these days :-),
> >> > here a little diff for openal just a fix to avoid probing non existent
> >> > capture handling (in the sndio backend).
> >>
> >> Could you please describe in more details the problem and why you chose
> >> to fix it this way?  I don't know much about OpenAL, but it's not
> >> obvious to me why you're modifying what looks like backend-agnostic code
> >> to fix a problem in sndio support.
>
> > Sure. In fact our sndio backend does not have capture handling thus
> > trying to probe it in this case would cause a segfault in case a software
> > would require it.
> > Noted by thrfw while porting fs2open recently.
>
> OK so it turns out this is easily reachable from openal-info.  egdb
> backtrace with DEBUG='-g -O0':
>
> --8<--
> Reading symbols from openal-info...done.
> (gdb) r
> Starting program: /usr/local/bin/openal-info
> Available playback devices:
> SndIO Default
> Available capture devices:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x in ?? ()
> (gdb) bt
> #0  0x in ?? ()
> #1  0x01f9f8f51096 in ProbeDevices (list=0x1f9f91b02a0
> , backendinfo=0x1f9f91b0338 ,
> type=CAPTURE_DEVICE_PROBE)
> at /usr/ports/pobj/openal-1.17.2/openal-soft-1.17.2/Alc/ALc.c:1234
> #2  0x01f9f8f4948c in ProbeCaptureDeviceList () at
> /usr/ports/pobj/openal-1.17.2/openal-soft-1.17.2/Alc/ALc.c:1246
> #3  0x01f9f8f491e5 in alcGetString (Device=0x0, param=784) at
> /usr/ports/pobj/openal-1.17.2/openal-soft-1.17.2/Alc/ALc.c:2617
> #4  0x01f6fae0078b in main (argc=1, argv=0x7f7e1a08) at
> /usr/ports/pobj/openal-1.17.2/openal-soft-1.17.2/utils/openal-info.c:299
> (gdb) frame 1
> #1  0x01f9f8f51096 in ProbeDevices (list=0x1f9f91b02a0
> , backendinfo=0x1f9f91b0338 ,
> type=CAPTURE_DEVICE_PROBE)
> at /usr/ports/pobj/openal-1.17.2/openal-soft-1.17.2/Alc/ALc.c:1234
> 1234backendinfo->Probe(type);
> (gdb) p backendinfo
> $2 = (struct BackendInfo *) 0x1f9f91b0338 
> (gdb) p *backendinfo
> $3 = {name = 0x0, getFactory = 0x0, Init = 0x0, Deinit = 0x0, Probe = 0x0,
> Funcs = {OpenPlayback = 0x0, ClosePlayback = 0x0, ResetPlayback = 0x0,
> StartPlayback = 0x0, StopPlayback = 0x0, OpenCapture = 0x0,
> CloseCapture = 0x0, StartCapture = 0x0, StopCapture = 0x0,
> CaptureSamples = 0x0, AvailableSamples = 0x0}}
> (gdb)
> -->8--
>
> Indeed the CaptureBackend is not initialized and obviously shouldn't be
> used, but your diff disables all probing:
>
>   ritchie /usr/ports/audio/openal$ openal-info
>   Available playback devices:
>   !!! none !!!
>   Available capture devices:
>   !!! none !!!
>   Default playback device:
>   Default capture device:
>   ALC version: 1.1
>   [...]
>
> Upstream has already fixed this issue:
>
>   https://github.com/kcat/openal-soft/commit/
> d1e98c36d375433cb11a7a74ce20c968491773aa
>
>   ritchie /usr/ports/audio/openal$ openal-info
>   Available playback devices:
>   SndIO Default
>   Available capture devices:
>   !!! none !!!
>   Default playback device: SndIO Default
>   Default capture device:
>   ALC version: 1.1
>   [...]
>
> I have only tested openal-info.  Does the diff below work for you?
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/audio/openal/Makefile,v
> retrieving revision 1.49
> diff -u -p -r1.49 Makefile
> --- Makefile15 Nov 2017 13:02:42 -  1.49
> +++ Makefile28 Dec 2017 03:43:49 -
> @@ -10,6 +10,7 @@ DISTNAME =openal-soft-$V
>  PKGNAME =  openal-$V
>  CATEGORIES =   audio
>  SHARED_LIBS =  openal  3.0
> +REVISION = 0
>
>  HOMEPAGE = http://kcat.strangesoft.net/openal.html
>
> Index: patches/patch-Alc_ALc_c
> ===
> RCS file: patches/patch-Alc_ALc_c
> diff -N patches/patch-Alc_ALc_c
> --- /dev/null   1 Jan 1970 00:00:00 -
> +++ patches/patch-Alc_ALc_c 28 Dec 2017 03:43:49 -
> @@ -0,0 +1,35 @@
> +$OpenBSD$
> +
> +commit d1e98c36d375433cb11a7a74ce20c968491773aa
> +Author: Chris Robinson <chris.k...@gma

Re: [UPDATE] audio/openal

2017-12-24 Thread David CARLIER
I tried couple of softwares before sending but would be kind if anyone
tried a bit as well with this patch. Kind Regards.

On 24 December 2017 at 09:03, David CARLIER <devne...@gmail.com> wrote:

> Sure. In fact our sndio backend does not have capture handling thus
> trying to probe it in this case would cause a segfault in case a software
> would require it.
> Noted by thrfw while porting fs2open recently.
>
>
>
> On 24 December 2017 at 00:25, Jeremie Courreges-Anglas <j...@wxcvbn.org>
> wrote:
>
>> On Sat, Dec 23 2017, David CARLIER <devne...@gmail.com> wrote:
>> > Hi,
>> >
>> > Due to lot of gaming porting efforts these days :-),
>> > here a little diff for openal just a fix to avoid probing non existent
>> > capture handling (in the sndio backend).
>>
>> Could you please describe in more details the problem and why you chose
>> to fix it this way?  I don't know much about OpenAL, but it's not
>> obvious to me why you're modifying what looks like backend-agnostic code
>> to fix a problem in sndio support.
>>
>> --
>> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524
>> E7EE
>>
>
>


Re: [UPDATE] audio/openal

2017-12-24 Thread David CARLIER
Sure. In fact our sndio backend does not have capture handling thus
trying to probe it in this case would cause a segfault in case a software
would require it.
Noted by thrfw while porting fs2open recently.



On 24 December 2017 at 00:25, Jeremie Courreges-Anglas <j...@wxcvbn.org>
wrote:

> On Sat, Dec 23 2017, David CARLIER <devne...@gmail.com> wrote:
> > Hi,
> >
> > Due to lot of gaming porting efforts these days :-),
> > here a little diff for openal just a fix to avoid probing non existent
> > capture handling (in the sndio backend).
>
> Could you please describe in more details the problem and why you chose
> to fix it this way?  I don't know much about OpenAL, but it's not
> obvious to me why you're modifying what looks like backend-agnostic code
> to fix a problem in sndio support.
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
>


[UPDATE] audio/openal

2017-12-23 Thread David CARLIER
Hi,

Due to lot of gaming porting efforts these days :-),
here a little diff for openal just a fix to avoid probing non existent
capture handling (in the sndio backend).

Hope it s good.

Kind regards.
Index: Makefile
===
RCS file: /cvs/ports/audio/openal/Makefile,v
retrieving revision 1.49
diff -u -p -r1.49 Makefile
--- Makefile15 Nov 2017 13:02:42 -  1.49
+++ Makefile23 Dec 2017 08:44:40 -
@@ -10,6 +10,7 @@ DISTNAME =openal-soft-$V
 PKGNAME =  openal-$V
 CATEGORIES =   audio
 SHARED_LIBS =  openal  3.0
+REVISION =  0
 
 HOMEPAGE = http://kcat.strangesoft.net/openal.html
 
Index: patches/patch-Alc_ALc_c
===
RCS file: patches/patch-Alc_ALc_c
diff -N patches/patch-Alc_ALc_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Alc_ALc_c 23 Dec 2017 08:44:40 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Index: Alc/ALc.c
+--- Alc/ALc.c.orig
 Alc/ALc.c
+@@ -1230,9 +1230,7 @@ static void ProbeDevices(al_string *list, struct Backe
+ LockLists();
+ al_string_clear(list);
+ 
+-if(!backendinfo->getFactory)
+-backendinfo->Probe(type);
+-else
++if(backendinfo->getFactory)
+ {
+ ALCbackendFactory *factory = backendinfo->getFactory();
+ V(factory,probe)(type);


Re: update www/apache-httpd 2.4.29

2017-12-20 Thread David CARLIER
ping ? :-)

On 23 November 2017 at 08:33, Stuart Henderson <s...@spacehopper.org> wrote:

> On 2017/11/23 08:43, Giovanni Bechis wrote:
> > On Wed, Nov 22, 2017 at 07:24:08PM +, David CARLIER wrote:
> > > On 22 November 2017 at 16:28, Giovanni Bechis <giova...@paclan.it>
> wrote:
> > >
> > > > On Sat, Nov 04, 2017 at 09:13:43AM +, David CARLIER wrote:
> > > > > Hi,
> > > > >
> > > > > here a proposal to update to 2.4.29, removing some patches
> LIBRESSL's
> > > > > related pushed upstream in the process.
> > > > >
> > > > not all of them has been pushed, ad least mod_ssl.c is missing one,
> > > > I haven't looked at all patches yet.
> > > >
> > > >
> > > You sure ? For example in this version
> > >
> > yep:
> > --
> > $ cd $(make show=WRKSRC)
> > $ grep -nHA4 OPENSSL_VERSION_NUMBER modules/ssl/mod_ssl.c
> > modules/ssl/mod_ssl.c:340:#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
> > modules/ssl/mod_ssl.c-341-#ifndef OPENSSL_NO_COMP
> > modules/ssl/mod_ssl.c-342-SSL_COMP_free_compression_methods();
> > modules/ssl/mod_ssl.c-343-#endif
> > modules/ssl/mod_ssl.c-344-#endif
>
> That one is ok, we define OPENSSL_NO_COMP. I haven't checked the others.
>


Re: update www/apache-httpd 2.4.29

2017-11-22 Thread David CARLIER
On 22 November 2017 at 16:28, Giovanni Bechis <giova...@paclan.it> wrote:

> On Sat, Nov 04, 2017 at 09:13:43AM +0000, David CARLIER wrote:
> > Hi,
> >
> > here a proposal to update to 2.4.29, removing some patches LIBRESSL's
> > related pushed upstream in the process.
> >
> not all of them has been pushed, ad least mod_ssl.c is missing one,
> I haven't looked at all patches yet.
>
>
You sure ? For example in this version

mod_ssl.c

#if MODSSL_USE_OPENSSL_PRE_1_1_API

(void)CRYPTO_malloc_init();

#else

OPENSSL_malloc_init();

#endif



e.g. in ssl_private.h is

...

#if defined(LIBRESSL_VERSION_NUMBER)

/* Missing from LibreSSL */

#if LIBRESSL_VERSION_NUMBER < 0x206f

#define SSL_CTRL_SET_MIN_PROTO_VERSION  123

#define SSL_CTRL_SET_MAX_PROTO_VERSION  124

#define SSL_CTX_set_min_proto_version(ctx, version) \

SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MIN_PROTO_VERSION, version, NULL)

#define SSL_CTX_set_max_proto_version(ctx, version) \

SSL_CTX_ctrl(ctx, SSL_CTRL_SET_MAX_PROTO_VERSION, version, NULL)

#endif

/* LibreSSL declares OPENSSL_VERSION_NUMBER == 2.0 but does not include most

 * changes from OpenSSL >= 1.1 (new functions, macros, deprecations, ...),
so

 * we have to work around this...

 */

#define MODSSL_USE_OPENSSL_PRE_1_1_API (1)

#else

#define MODSSL_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x1010L
)

#endif

...



> > Hope it is good.
> >
> > Kind regards.
>
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/www/apache-httpd/Makefile,v
> > retrieving revision 1.85
> > diff -u -p -r1.85 Makefile
> > --- Makefile  18 Sep 2017 19:25:38 -  1.85
> > +++ Makefile  4 Nov 2017 09:10:58 -
> > @@ -3,8 +3,7 @@
> >  COMMENT-main=apache HTTP server
> [...]
> >  share/doc/apache2/mod/prefork.html.en
> > @@ -1453,4 +1455,3 @@ share/examples/apache2/htdocs/
> >  share/examples/apache2/htdocs/index.html
> >  @sample /var/www/htdocs/index.html
> >  %%ldap%%
> > -@rcscript ${RCDIR}/apache2
> you should not remove the rcscript
>
>
Good point . Corrected.



>  Cheers
>   Giovanni
>
Index: Makefile
===
RCS file: /cvs/ports/www/apache-httpd/Makefile,v
retrieving revision 1.85
diff -u -p -r1.85 Makefile
--- Makefile18 Sep 2017 19:25:38 -  1.85
+++ Makefile22 Nov 2017 19:15:11 -
@@ -3,8 +3,7 @@
 COMMENT-main=  apache HTTP server
 COMMENT-common=/var/www files for Apache HTTPd
 
-V= 2.4.27
-REVISION-main= 0
+V= 2.4.29
 DISTNAME=  httpd-${V}
 PKGNAME=   apache-httpd-${V}
 
Index: distinfo
===
RCS file: /cvs/ports/www/apache-httpd/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo14 Jul 2017 17:14:33 -  1.26
+++ distinfo22 Nov 2017 19:15:11 -
@@ -1,2 +1,2 @@
-SHA256 (httpd-2.4.27.tar.gz) = NG3T0BauXXEBAW5ogFFQvc6QQKjSRsKJqnDminzYa2Y=
-SIZE (httpd-2.4.27.tar.gz) = 8603417
+SHA256 (httpd-2.4.29.tar.gz) = lI5KESeKWVRpi4gLMPQBsemrdDcT7ixygKVN1N3YcIU=
+SIZE (httpd-2.4.29.tar.gz) = 8638793
Index: patches/patch-modules_ssl_mod_ssl_c
===
RCS file: patches/patch-modules_ssl_mod_ssl_c
diff -N patches/patch-modules_ssl_mod_ssl_c
--- patches/patch-modules_ssl_mod_ssl_c 14 Jul 2017 17:04:12 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,23 +0,0 @@
-$OpenBSD: patch-modules_ssl_mod_ssl_c,v 1.3 2017/07/14 17:04:12 sthen Exp $
-
-Index: modules/ssl/mod_ssl.c
 modules/ssl/mod_ssl.c.orig
-+++ modules/ssl/mod_ssl.c
-@@ -337,7 +337,7 @@ static apr_status_t ssl_cleanup_pre_config(void *data)
- #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES
- ENGINE_cleanup();
- #endif
--#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
-+#if OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(LIBRESSL_VERSION_NUMBER)
- SSL_COMP_free_compression_methods();
- #endif
- 
-@@ -390,7 +390,7 @@ static int ssl_hook_pre_config(apr_pool_t *pconf,
- /* We must register the library in full, to ensure our configuration
-  * code can successfully test the SSL environment.
-  */
--#if OPENSSL_VERSION_NUMBER < 0x1010L
-+#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
- CRYPTO_malloc_init();
- #else
- OPENSSL_malloc_init();
Index: patches/patch-modules_ssl_ssl_engine_init_c
===
RCS file: patches/patch-modules_ssl_ssl_engine_init_c
diff -N patches/patch-modules_ssl_ssl_engine_init_c
--- patches/patch-modules_ssl_ssl_engine_init_c 14 Jul 20

[UPDATE] games/ioquake

2017-11-21 Thread David CARLIER
Hi,

brynet@ reported a segfault when it uses openal/sndio backend due to the
fact there is no capture device handling. ioquake3 enables VOIP support by
default, the solution would be to disable it.

Hope it is good.

Kind regards.
Index: Makefile
===
RCS file: /cvs/ports/games/ioquake3/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile10 Nov 2017 14:59:52 -  1.18
+++ Makefile21 Nov 2017 22:03:19 -
@@ -6,6 +6,7 @@ ONLY_FOR_ARCHS= amd64 i386
 COMMENT=   clone of the original Quake III Arena
 
 DISTNAME=  ioquake3-2017.11.09
+REVISION=   0
 
 GH_ACCOUNT=ioquake
 GH_PROJECT=ioq3
@@ -28,7 +29,7 @@ LIB_DEPENDS=  audio/libogg \
devel/sdl2 \
net/curl
 
-MAKE_ENV=  V=1 USE_INTERNAL_OGG=0 CC="${CC}" TOOLS_CC="${CC}"
+MAKE_ENV=  V=1 USE_VOIP=0 USE_INTERNAL_OGG=0 CC="${CC}" TOOLS_CC="${CC}"
 ALL_TARGET="release"
 USE_GMAKE= Yes
 NO_TEST=   Yes


Re: update www/apache-httpd 2.4.29

2017-11-15 Thread David CARLIER
ping :-)

On 4 November 2017 at 09:13, David CARLIER <devne...@gmail.com> wrote:

> Hi,
>
> here a proposal to update to 2.4.29, removing some patches LIBRESSL's
> related pushed upstream in the process.
>
> Hope it is good.
>
> Kind regards.
>


Re: update: audio/openal

2017-11-11 Thread David CARLIER
ping.

On 30 October 2017 at 14:43, David CARLIER <devne...@gmail.com> wrote:

> Another diff updated. Thanks for feedback.
>
> On 30 October 2017 at 08:12, Rafael Sadowski <raf...@sizeofvoid.org>
> wrote:
>
>> On Mon Oct 30, 2017 at 08:07:07AM +, David CARLIER wrote:
>> > Here an an updated version.
>> >
>> > Kind regards.
>> >
>> > On 30 October 2017 at 07:27, Rafael Sadowski <raf...@sizeofvoid.org>
>> wrote:
>> >
>> > > On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote:
>> > > > Hi,
>> > > >
>> > > > there is a small update of this port.
>> > > >
>> > > > Hope it s good.
>> > > >
>> > > > Regards.
>> > >
>> > > Some comments below.
>> > >
>> > > make configure:
>> > >
>> > > CMake Warning:
>> > >   Manually-specified variables were not used by the project:
>> > >
>> > > ALSOFT_BACKEND_ALSA
>> > > ALSOFT_BACKEND_COREAUDIO
>> > > ALSOFT_BACKEND_DSOUND
>> > > ALSOFT_BACKEND_MMDEVAPI
>> > > ALSOFT_BACKEND_OPENSL
>> > > ALSOFT_BACKEND_OSS
>> > > ALSOFT_BACKEND_PORTAUDIO
>> > > ALSOFT_BACKEND_QSA
>> > > ALSOFT_BACKEND_WINMM
>> > > ALSOFT_CONFIG_DESTINATION
>> > > ALSOFT_SYSCONFDIR
>> > >
>> > > and CMake fetch Qt4, what we should try to avoid.
>> > >
>> > > COMPILER =  clang gcc
>> > > # clang fails on those architectures
>> > > MODGCC4_ARCHS = sparc64 powerpc
>> > > MODCLANG_ARCHS =aarch64 amd64 arm i386 mips64 mips64el
>> > >
>> > > can be replaced with:
>> > >
>> > > COMPILER = base-clang ports-clang ports-gcc
>> > >
>> > >
>>
>> > Index: Makefile
>> > ===
>> > RCS file: /cvs/ports/audio/openal/Makefile,v
>> > retrieving revision 1.48
>> > diff -u -p -r1.48 Makefile
>> > --- Makefile  18 Aug 2017 12:47:58 -  1.48
>> > +++ Makefile  30 Oct 2017 08:06:00 -
>> > @@ -4,13 +4,12 @@ BROKEN-hppa =   undefined reference to __s
>> >
>> >  COMMENT =cross-platform 3D audio API
>> >
>> > -V =  1.16.0
>> > +V =  1.17.2
>> >  EPOCH =  0
>> >  DISTNAME =   openal-soft-$V
>> >  PKGNAME =openal-$V
>> >  CATEGORIES = audio
>> > -SHARED_LIBS =openal  2.2
>> > -REVISION =   1
>> > +SHARED_LIBS =openal  3.0
>> >
>> >  HOMEPAGE =   http://kcat.strangesoft.net/openal.html
>> >
>> > @@ -25,33 +24,18 @@ MASTER_SITES =${HOMEPAGE:S,.html,-relea
>> >  EXTRACT_SUFX =   .tar.bz2
>> >
>> >  CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \
>> > - -DALSOFT_SYSCONFDIR=${SYSCONFDIR} \
>> > - -DALSOFT_CONFIG_DESTINATION=share/examples/openal \
>> > + -DALSOFT_CONFIG=share/examples/openal \
>> >   -DALSOFT_DLOPEN=Off \
>> >   -DALSOFT_UTILS=On \
>> >   -DALSOFT_EXAMPLES=Off \
>> >   -DALSOFT_REQUIRE_SNDIO=On \
>> > - -DALSOFT_BACKEND_ALSA=Off \
>> > - -DALSOFT_BACKEND_COREAUDIO=Off \
>> > - -DALSOFT_BACKEND_DSOUND=Off \
>> > - -DALSOFT_BACKEND_JACK=Off \
>> > - -DALSOFT_BACKEND_MMDEVAPI=Off \
>> > - -DALSOFT_BACKEND_OPENSL=Off \
>> > - -DALSOFT_BACKEND_OSS=Off \
>> > - -DALSOFT_BACKEND_PORTAUDIO=Off \
>> > - -DALSOFT_BACKEND_PULSEAUDIO=Off \
>> > - -DALSOFT_BACKEND_QSA=Off \
>> >   -DALSOFT_BACKEND_SOLARIS=Off \
>> > - -DALSOFT_BACKEND_WAVE=Off \
>> > - -DALSOFT_BACKEND_WINMM=Off \
>> > + -DALSOFT_BACKEND_PULSEAUDIO=Off \
>> >   -DALSOFT_NO_CONFIG_UTIL=On
>> >
>> This is too easy! We want to avoid using these libs. CMake searches for
>> them during the configuration and that's to be prevented.
>>
>>
>


update www/apache-httpd 2.4.29

2017-11-04 Thread David CARLIER
Hi,

here a proposal to update to 2.4.29, removing some patches LIBRESSL's
related pushed upstream in the process.

Hope it is good.

Kind regards.
Index: Makefile
===
RCS file: /cvs/ports/www/apache-httpd/Makefile,v
retrieving revision 1.85
diff -u -p -r1.85 Makefile
--- Makefile18 Sep 2017 19:25:38 -  1.85
+++ Makefile4 Nov 2017 09:10:58 -
@@ -3,8 +3,7 @@
 COMMENT-main=  apache HTTP server
 COMMENT-common=/var/www files for Apache HTTPd
 
-V= 2.4.27
-REVISION-main= 0
+V= 2.4.29
 DISTNAME=  httpd-${V}
 PKGNAME=   apache-httpd-${V}
 
Index: distinfo
===
RCS file: /cvs/ports/www/apache-httpd/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo14 Jul 2017 17:14:33 -  1.26
+++ distinfo4 Nov 2017 09:10:58 -
@@ -1,2 +1,2 @@
-SHA256 (httpd-2.4.27.tar.gz) = NG3T0BauXXEBAW5ogFFQvc6QQKjSRsKJqnDminzYa2Y=
-SIZE (httpd-2.4.27.tar.gz) = 8603417
+SHA256 (httpd-2.4.29.tar.gz) = lI5KESeKWVRpi4gLMPQBsemrdDcT7ixygKVN1N3YcIU=
+SIZE (httpd-2.4.29.tar.gz) = 8638793
Index: patches/patch-modules_ssl_mod_ssl_c
===
RCS file: patches/patch-modules_ssl_mod_ssl_c
diff -N patches/patch-modules_ssl_mod_ssl_c
--- patches/patch-modules_ssl_mod_ssl_c 14 Jul 2017 17:04:12 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,23 +0,0 @@
-$OpenBSD: patch-modules_ssl_mod_ssl_c,v 1.3 2017/07/14 17:04:12 sthen Exp $
-
-Index: modules/ssl/mod_ssl.c
 modules/ssl/mod_ssl.c.orig
-+++ modules/ssl/mod_ssl.c
-@@ -337,7 +337,7 @@ static apr_status_t ssl_cleanup_pre_config(void *data)
- #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES
- ENGINE_cleanup();
- #endif
--#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
-+#if OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(LIBRESSL_VERSION_NUMBER)
- SSL_COMP_free_compression_methods();
- #endif
- 
-@@ -390,7 +390,7 @@ static int ssl_hook_pre_config(apr_pool_t *pconf,
- /* We must register the library in full, to ensure our configuration
-  * code can successfully test the SSL environment.
-  */
--#if OPENSSL_VERSION_NUMBER < 0x1010L
-+#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
- CRYPTO_malloc_init();
- #else
- OPENSSL_malloc_init();
Index: patches/patch-modules_ssl_ssl_engine_init_c
===
RCS file: patches/patch-modules_ssl_ssl_engine_init_c
diff -N patches/patch-modules_ssl_ssl_engine_init_c
--- patches/patch-modules_ssl_ssl_engine_init_c 14 Jul 2017 17:04:12 -  
1.9
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,50 +0,0 @@
-$OpenBSD: patch-modules_ssl_ssl_engine_init_c,v 1.9 2017/07/14 17:04:12 sthen 
Exp $
-
-Index: modules/ssl/ssl_engine_init.c
 modules/ssl/ssl_engine_init.c.orig
-+++ modules/ssl/ssl_engine_init.c
-@@ -47,7 +47,7 @@ APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ssl, SSL, int, ini
- #define KEYTYPES "RSA or DSA"
- #endif
- 
--#if OPENSSL_VERSION_NUMBER < 0x1010L
-+#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
- /* OpenSSL Pre-1.1.0 compatibility */
- /* Taken from OpenSSL 1.1.0 snapshot 20160410 */
- static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
-@@ -380,7 +380,7 @@ apr_status_t ssl_init_Module(apr_pool_t *p, apr_pool_t
- modssl_init_app_data2_idx(); /* for modssl_get_app_data2() at request 
time */
- 
- init_dh_params();
--#if OPENSSL_VERSION_NUMBER >= 0x1010L
-+#if OPENSSL_VERSION_NUMBER >= 0x1010L && !defined(LIBRESSL_VERSION_NUMBER)
- init_bio_methods();
- #endif
- 
-@@ -513,7 +513,7 @@ static apr_status_t ssl_init_ctx_protocol(server_rec *
- char *cp;
- int protocol = mctx->protocol;
- SSLSrvConfigRec *sc = mySrvConfig(s);
--#if OPENSSL_VERSION_NUMBER >= 0x1010L
-+#if OPENSSL_VERSION_NUMBER >= 0x1010L && !defined(LIBRESSL_VERSION_NUMBER)
- int prot;
- #endif
- 
-@@ -583,7 +583,7 @@ static apr_status_t ssl_init_ctx_protocol(server_rec *
- 
- SSL_CTX_set_options(ctx, SSL_OP_ALL);
- 
--#if OPENSSL_VERSION_NUMBER < 0x1010L
-+#if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
- /* always disable SSLv2, as per RFC 6176 */
- SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2);
- 
-@@ -2011,7 +2011,7 @@ apr_status_t ssl_init_ModuleKill(void *data)
- 
- }
- 
--#if OPENSSL_VERSION_NUMBER >= 0x1010L
-+#if OPENSSL_VERSION_NUMBER >= 0x1010L && !defined(LIBRESSL_VERSION_NUMBER)
- free_bio_methods();
- #endif
- free_dh_params();
Index: patches/patch-modules_ssl_ssl_engine_io_c
===
RCS file: patches/patch-modules_ssl_ssl_engine_io_c
diff -N patches/patch-modules_ssl_ssl_engine_io_c
--- 

Re: Update libv8, renable therubyracer

2017-11-03 Thread David CARLIER
Hi I sent a diff a while ago to @bieber but the blocker was therubyracer
indeed (and apparently still very needed) but if it s not a problem anymore
I m happy with this update :-)

Kind regards.

On 3 November 2017 at 10:44, Jeremy Evans <jer...@openbsd.org> wrote:

> This updates libv8 from 3.12.19 to 3.16.14.11, and updates
> therubyracer from 0.11.0 to 0.12.3, renabling it.
>
> Tests for therubyracer pass, and postgresql-plv8 (the only other
> libv8 dependency) still builds fine.
>
> Updating therubyracer requiring importing a new ruby-libv8
> dependency.  This dependency is set to use the system v8, so it
> isn't compiling a second one.  If system v8 wants to upgrade
> past a version supported by therubyracer, we can just stop using
> the system v8 in ruby-libv8 and switch to building a copy that
> therubyracer supports.
>
> Tested on amd64. OKs?
>
> Thanks,
> Jeremy
>
> Index: lang/libv8/Makefile
> ===
> RCS file: /cvs/ports/lang/libv8/Makefile,v
> retrieving revision 1.15
> diff -u -p -u -p -r1.15 Makefile
> --- lang/libv8/Makefile 26 Jul 2017 22:45:25 -  1.15
> +++ lang/libv8/Makefile 3 Nov 2017 10:10:43 -
> @@ -4,8 +4,7 @@ ONLY_FOR_ARCHS= amd64 i386
>
>  COMMENT=   V8 JavaScript for clients and servers
>
> -V8_VERSION=3.12.19
> -REVISION=  6
> +V8_VERSION=3.16.14.11
>  EPOCH= 0
>  V8_ARCH=   ${MACHINE_ARCH:S/amd64/x64/:S/i386/ia32/}
>  V8_RELEASE=release
> @@ -13,6 +12,8 @@ V8_RELEASE=   release
>  DISTNAME=  v8-${V8_VERSION}
>  PKGNAME=   lib${DISTNAME}
>
> +DISTFILES= v8-${V8_VERSION}.tar.gz{${V8_VERSION}.tar.gz}
> +
>  CATEGORIES=lang
>
>  SHARED_LIBS=v80.0
> @@ -24,7 +25,7 @@ MAINTAINER=   David Carlier <devnexen@gmai
>  # BSD
>  PERMIT_PACKAGE_CDROM=  Yes
>
> -MASTER_SITES=  http://deftly.net/
> +MASTER_SITES=  https://github.com/v8/v8/archive/
>
>  BUILD_DEPENDS= devel/gyp
>
> Index: lang/libv8/distinfo
> ===
> RCS file: /cvs/ports/lang/libv8/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 distinfo
> --- lang/libv8/distinfo 5 Dec 2012 00:34:03 -   1.2
> +++ lang/libv8/distinfo 3 Nov 2017 10:11:16 -
> @@ -1,2 +1,2 @@
> -SHA256 (v8-3.12.19.tar.gz) = uNgaqSiFhmpwtdwbWMRSPUoYbeH/qS2HU4zOrgLVklM=
> -SIZE (v8-3.12.19.tar.gz) = 11617055
> +SHA256 (v8-3.16.14.11.tar.gz) = oMEGp2LXGcVjTvFHtSBwHQ27LQ6eDt
> 5m0HlRjkbCixQ=
> +SIZE (v8-3.16.14.11.tar.gz) = 11849064
> Index: lang/libv8/patches/patch-Makefile
> ===
> RCS file: /cvs/ports/lang/libv8/patches/patch-Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 patch-Makefile
> --- lang/libv8/patches/patch-Makefile   13 Oct 2012 15:09:58 -
> 1.1.1.1
> +++ lang/libv8/patches/patch-Makefile   3 Nov 2017 10:13:44 -
> @@ -1,7 +1,8 @@
>  $OpenBSD: patch-Makefile,v 1.1.1.1 2012/10/13 15:09:58 abieber Exp $
>  Makefile.orig  Tue Oct  9 07:14:31 2012
> -+++ Makefile   Tue Oct  9 17:41:07 2012
> -@@ -250,14 +250,14 @@ clean: $(addsuffix .clean, $(ARCHES)
> $(ANDROID_ARCHES)
> +Index: Makefile
> +--- Makefile.orig
>  Makefile
> +@@ -266,14 +266,14 @@ clean: $(addsuffix .clean, $(ARCHES)
> $(ANDROID_ARCHES)
>   OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ARCHES))
>   $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
> GYP_GENERATORS=make \
> Index: lang/libv8/patches/patch-build_common_gypi
> ===
> RCS file: /cvs/ports/lang/libv8/patches/patch-build_common_gypi,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 patch-build_common_gypi
> --- lang/libv8/patches/patch-build_common_gypi  13 Oct 2012 15:09:58
> -  1.1.1.1
> +++ lang/libv8/patches/patch-build_common_gypi  3 Nov 2017 10:13:44 -
> @@ -1,16 +1,17 @@
>  $OpenBSD: patch-build_common_gypi,v 1.1.1.1 2012/10/13 15:09:58 abieber
> Exp $
>  build/common.gypi.orig Tue Oct  9 07:14:31 2012
> -+++ build/common.gypi  Tue Oct  9 15:51:53 2012
> -@@ -90,7 +90,7 @@
> +Index: build/common.gypi
> +--- build/common.gypi.orig
>  build/common.gypi
> +@@ -100,7 +100,7 @@
> +
>   'v8_use_snapshot%': 'true',
>   'host_os%': '<(OS)',
> - 'v8_use_liveobjectlist%': 'false',
>  -'werror%': '-Werror',
>  +'werror%': '',
>
>   # With post mortem support enabled, metadata is embedded into libv8
> that
>   # describes various parameters of the VM for use by debuggers. See
> -@@ -313,6 +313,9 @@
> +@@ -338,6 +338,9 @@

Re: update: audio/openal

2017-10-30 Thread David CARLIER
Another diff updated. Thanks for feedback.

On 30 October 2017 at 08:12, Rafael Sadowski <raf...@sizeofvoid.org> wrote:

> On Mon Oct 30, 2017 at 08:07:07AM +0000, David CARLIER wrote:
> > Here an an updated version.
> >
> > Kind regards.
> >
> > On 30 October 2017 at 07:27, Rafael Sadowski <raf...@sizeofvoid.org>
> wrote:
> >
> > > On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote:
> > > > Hi,
> > > >
> > > > there is a small update of this port.
> > > >
> > > > Hope it s good.
> > > >
> > > > Regards.
> > >
> > > Some comments below.
> > >
> > > make configure:
> > >
> > > CMake Warning:
> > >   Manually-specified variables were not used by the project:
> > >
> > > ALSOFT_BACKEND_ALSA
> > > ALSOFT_BACKEND_COREAUDIO
> > > ALSOFT_BACKEND_DSOUND
> > > ALSOFT_BACKEND_MMDEVAPI
> > > ALSOFT_BACKEND_OPENSL
> > > ALSOFT_BACKEND_OSS
> > > ALSOFT_BACKEND_PORTAUDIO
> > > ALSOFT_BACKEND_QSA
> > > ALSOFT_BACKEND_WINMM
> > > ALSOFT_CONFIG_DESTINATION
> > > ALSOFT_SYSCONFDIR
> > >
> > > and CMake fetch Qt4, what we should try to avoid.
> > >
> > > COMPILER =  clang gcc
> > > # clang fails on those architectures
> > > MODGCC4_ARCHS = sparc64 powerpc
> > > MODCLANG_ARCHS =aarch64 amd64 arm i386 mips64 mips64el
> > >
> > > can be replaced with:
> > >
> > > COMPILER = base-clang ports-clang ports-gcc
> > >
> > >
>
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/audio/openal/Makefile,v
> > retrieving revision 1.48
> > diff -u -p -r1.48 Makefile
> > --- Makefile  18 Aug 2017 12:47:58 -  1.48
> > +++ Makefile  30 Oct 2017 08:06:00 -
> > @@ -4,13 +4,12 @@ BROKEN-hppa =   undefined reference to __s
> >
> >  COMMENT =cross-platform 3D audio API
> >
> > -V =  1.16.0
> > +V =  1.17.2
> >  EPOCH =  0
> >  DISTNAME =   openal-soft-$V
> >  PKGNAME =openal-$V
> >  CATEGORIES = audio
> > -SHARED_LIBS =openal  2.2
> > -REVISION =   1
> > +SHARED_LIBS =openal  3.0
> >
> >  HOMEPAGE =   http://kcat.strangesoft.net/openal.html
> >
> > @@ -25,33 +24,18 @@ MASTER_SITES =${HOMEPAGE:S,.html,-relea
> >  EXTRACT_SUFX =   .tar.bz2
> >
> >  CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \
> > - -DALSOFT_SYSCONFDIR=${SYSCONFDIR} \
> > - -DALSOFT_CONFIG_DESTINATION=share/examples/openal \
> > + -DALSOFT_CONFIG=share/examples/openal \
> >   -DALSOFT_DLOPEN=Off \
> >   -DALSOFT_UTILS=On \
> >   -DALSOFT_EXAMPLES=Off \
> >   -DALSOFT_REQUIRE_SNDIO=On \
> > - -DALSOFT_BACKEND_ALSA=Off \
> > - -DALSOFT_BACKEND_COREAUDIO=Off \
> > - -DALSOFT_BACKEND_DSOUND=Off \
> > - -DALSOFT_BACKEND_JACK=Off \
> > - -DALSOFT_BACKEND_MMDEVAPI=Off \
> > - -DALSOFT_BACKEND_OPENSL=Off \
> > - -DALSOFT_BACKEND_OSS=Off \
> > - -DALSOFT_BACKEND_PORTAUDIO=Off \
> > - -DALSOFT_BACKEND_PULSEAUDIO=Off \
> > - -DALSOFT_BACKEND_QSA=Off \
> >   -DALSOFT_BACKEND_SOLARIS=Off \
> > - -DALSOFT_BACKEND_WAVE=Off \
> > - -DALSOFT_BACKEND_WINMM=Off \
> > + -DALSOFT_BACKEND_PULSEAUDIO=Off \
> >   -DALSOFT_NO_CONFIG_UTIL=On
> >
> This is too easy! We want to avoid using these libs. CMake searches for
> them during the configuration and that's to be prevented.
>
>
Index: Makefile
===
RCS file: /cvs/ports/audio/openal/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile18 Aug 2017 12:47:58 -  1.48
+++ Makefile30 Oct 2017 09:21:23 -
@@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s
 
 COMMENT =  cross-platform 3D audio API
 
-V =1.16.0
+V =1.17.2
 EPOCH =0
 DISTNAME = openal-soft-$V
 PKGNAME =  openal-$V
 CATEGORIES =   audio
-SHARED_LIBS =  openal  2.2
-REVISION = 1
+SHARED_LIBS =  openal  3.0
 
 HOMEPAGE = http://kcat.strangesoft.net/openal.html
 
@@ -25,33 +24,28 @@ MASTER_SITES =  

Re: update: audio/openal

2017-10-30 Thread David CARLIER
Here an an updated version.

Kind regards.

On 30 October 2017 at 07:27, Rafael Sadowski <raf...@sizeofvoid.org> wrote:

> On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote:
> > Hi,
> >
> > there is a small update of this port.
> >
> > Hope it s good.
> >
> > Regards.
>
> Some comments below.
>
> make configure:
>
> CMake Warning:
>   Manually-specified variables were not used by the project:
>
> ALSOFT_BACKEND_ALSA
> ALSOFT_BACKEND_COREAUDIO
> ALSOFT_BACKEND_DSOUND
> ALSOFT_BACKEND_MMDEVAPI
> ALSOFT_BACKEND_OPENSL
> ALSOFT_BACKEND_OSS
> ALSOFT_BACKEND_PORTAUDIO
> ALSOFT_BACKEND_QSA
> ALSOFT_BACKEND_WINMM
> ALSOFT_CONFIG_DESTINATION
> ALSOFT_SYSCONFDIR
>
> and CMake fetch Qt4, what we should try to avoid.
>
> COMPILER =  clang gcc
> # clang fails on those architectures
> MODGCC4_ARCHS = sparc64 powerpc
> MODCLANG_ARCHS =aarch64 amd64 arm i386 mips64 mips64el
>
> can be replaced with:
>
> COMPILER = base-clang ports-clang ports-gcc
>
>
Index: Makefile
===
RCS file: /cvs/ports/audio/openal/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile18 Aug 2017 12:47:58 -  1.48
+++ Makefile30 Oct 2017 08:06:00 -
@@ -4,13 +4,12 @@ BROKEN-hppa = undefined reference to __s
 
 COMMENT =  cross-platform 3D audio API
 
-V =1.16.0
+V =1.17.2
 EPOCH =0
 DISTNAME = openal-soft-$V
 PKGNAME =  openal-$V
 CATEGORIES =   audio
-SHARED_LIBS =  openal  2.2
-REVISION = 1
+SHARED_LIBS =  openal  3.0
 
 HOMEPAGE = http://kcat.strangesoft.net/openal.html
 
@@ -25,33 +24,18 @@ MASTER_SITES =  ${HOMEPAGE:S,.html,-relea
 EXTRACT_SUFX = .tar.bz2
 
 CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \
-   -DALSOFT_SYSCONFDIR=${SYSCONFDIR} \
-   -DALSOFT_CONFIG_DESTINATION=share/examples/openal \
+   -DALSOFT_CONFIG=share/examples/openal \
-DALSOFT_DLOPEN=Off \
-DALSOFT_UTILS=On \
-DALSOFT_EXAMPLES=Off \
-DALSOFT_REQUIRE_SNDIO=On \
-   -DALSOFT_BACKEND_ALSA=Off \
-   -DALSOFT_BACKEND_COREAUDIO=Off \
-   -DALSOFT_BACKEND_DSOUND=Off \
-   -DALSOFT_BACKEND_JACK=Off \
-   -DALSOFT_BACKEND_MMDEVAPI=Off \
-   -DALSOFT_BACKEND_OPENSL=Off \
-   -DALSOFT_BACKEND_OSS=Off \
-   -DALSOFT_BACKEND_PORTAUDIO=Off \
-   -DALSOFT_BACKEND_PULSEAUDIO=Off \
-   -DALSOFT_BACKEND_QSA=Off \
-DALSOFT_BACKEND_SOLARIS=Off \
-   -DALSOFT_BACKEND_WAVE=Off \
-   -DALSOFT_BACKEND_WINMM=Off \
+   -DALSOFT_BACKEND_PULSEAUDIO=Off \
-DALSOFT_NO_CONFIG_UTIL=On
 
 MODULES =  devel/cmake
 
-COMPILER = clang gcc
-# clang fails on those architectures
-MODGCC4_ARCHS =sparc64 powerpc
-MODCLANG_ARCHS =   aarch64 amd64 arm i386 mips64 mips64el
+COMPILER = base-clang ports-clang ports-gcc
 
 SEPARATE_BUILD =Yes
 NO_TEST =  Yes
Index: distinfo
===
RCS file: /cvs/ports/audio/openal/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo3 Nov 2016 10:27:15 -   1.9
+++ distinfo30 Oct 2017 08:06:00 -
@@ -1,2 +1,2 @@
-SHA256 (openal-soft-1.16.0.tar.bz2) = 
Lz3NMT/iY5EoT7+FloY3I/mcZdbGhG3MtI55ytr0DV8=
-SIZE (openal-soft-1.16.0.tar.bz2) = 393280
+SHA256 (openal-soft-1.17.2.tar.bz2) = 
o0H4VC8fC4xlJBoX2hPQc/GOwGZY4aFgao7Mi7wrMxQ=
+SIZE (openal-soft-1.17.2.tar.bz2) = 486934
Index: patches/patch-Alc_alcConfig_c
===
RCS file: /cvs/ports/audio/openal/patches/patch-Alc_alcConfig_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-Alc_alcConfig_c
--- patches/patch-Alc_alcConfig_c   3 Nov 2016 10:27:15 -   1.3
+++ patches/patch-Alc_alcConfig_c   30 Oct 2017 08:06:00 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-Alc_alcConfig_c,v 1.3 2016/11/03 10:27:15 jasper Exp $
 Alc/alcConfig.c.orig   Fri Aug 15 08:06:59 2014
-+++ Alc/alcConfig.cSun Sep  4 22:48:18 2016
-@@ -326,7 +326,7 @@ void ReadALConfig(void)
+Index: Alc/alcConfig.c
+--- Alc/alcConfig.c.orig
 Alc/alcConfig.c
+@@ -353,7 +353,7 @@ void ReadALConfig(void)
  const char *str;
  FILE *f;
  
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
retrieving revision 1.6
diff -u -p -r1.6 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt3 Nov 2016 10:27:15 -   1.6
+++ patches/patch-CMakeLists_txt 

Re: update: audio/openal

2017-10-27 Thread David CARLIER
ports build tested. Seems ok.

Regards.

On 26 October 2017 at 09:34, David CARLIER <devne...@gmail.com> wrote:

> Fair point. I ll try whenever I get the chance this week. Cheers.
>
> On 26 October 2017 at 09:30, Rafael Sadowski <raf...@sizeofvoid.org>
> wrote:
>
>> On Thu Oct 26, 2017 at 09:26:18AM +0100, David CARLIER wrote:
>> > Not all but couple of video games :-)
>> >
>>
>> That's okay but you have to make sure all consumers are bulding with the
>> new version.
>>
>> > On 26 October 2017 at 08:33, Rafael Sadowski <raf...@sizeofvoid.org>
>> wrote:
>> >
>> > > Did you test your diff with all consumers?
>> > >
>> > > audio/freealut
>> > > emulators/fs-uae
>> > > emulators/retroarch
>> > > games/0ad/base
>> > > games/astromenace
>> > > games/dhewm3
>> > > games/dustrac
>> > > games/gemrb
>> > > games/ioquake3
>> > > games/irrlamb
>> > > games/love
>> > > games/lugaru
>> > > games/lwjgl
>> > > games/megaglest/base
>> > > games/minetest
>> > > games/openmw
>> > > games/scorched3d
>> > > games/solarus
>> > > games/spacezero
>> > > games/speeddreams
>> > > games/supertux
>> > > games/supertuxkart
>> > > games/taisei
>> > > games/tome4
>> > > games/ufoai/base
>> > > games/valyriatear
>> > > games/vegastrike/engine
>> > > games/warzone2100
>> > > games/yquake2
>> > > graphics/blender
>> > > graphics/simgear
>> > > multimedia/sfml
>> > > x11/kde4/libkdegames
>> > > x11/qt5/qtmultimedia
>> > >
>> > > Your diff itself looks good to me.
>> > >
>> > > On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote:
>> > > > Hi,
>> > > >
>> > > > there is a small update of this port.
>> > > >
>> > > > Hope it s good.
>> > > >
>> > > > Regards.
>> > >
>> > > > Index: Makefile
>> > > > ===
>> > > > RCS file: /cvs/ports/audio/openal/Makefile,v
>> > > > retrieving revision 1.48
>> > > > diff -u -p -r1.48 Makefile
>> > > > --- Makefile  18 Aug 2017 12:47:58 -  1.48
>> > > > +++ Makefile  13 Oct 2017 21:54:17 -
>> > > > @@ -4,13 +4,12 @@ BROKEN-hppa =   undefined reference to __s
>> > > >
>> > > >  COMMENT =cross-platform 3D audio API
>> > > >
>> > > > -V =  1.16.0
>> > > > +V =  1.17.2
>> > > >  EPOCH =  0
>> > > >  DISTNAME =   openal-soft-$V
>> > > >  PKGNAME =openal-$V
>> > > >  CATEGORIES = audio
>> > > > -SHARED_LIBS =openal  2.2
>> > > > -REVISION =   1
>> > > > +SHARED_LIBS =openal  3.0
>> > > >
>> > > >  HOMEPAGE =   http://kcat.strangesoft.net/openal.html
>> > > >
>> > > > Index: distinfo
>> > > > ===
>> > > > RCS file: /cvs/ports/audio/openal/distinfo,v
>> > > > retrieving revision 1.9
>> > > > diff -u -p -r1.9 distinfo
>> > > > --- distinfo  3 Nov 2016 10:27:15 -   1.9
>> > > > +++ distinfo  13 Oct 2017 21:54:17 -
>> > > > @@ -1,2 +1,2 @@
>> > > > -SHA256 (openal-soft-1.16.0.tar.bz2) = Lz3NMT/iY5EoT7+FloY3I/
>> > > mcZdbGhG3MtI55ytr0DV8=
>> > > > -SIZE (openal-soft-1.16.0.tar.bz2) = 393280
>> > > > +SHA256 (openal-soft-1.17.2.tar.bz2) = o0H4VC8fC4xlJBoX2hPQc/
>> > > GOwGZY4aFgao7Mi7wrMxQ=
>> > > > +SIZE (openal-soft-1.17.2.tar.bz2) = 486934
>> > > > Index: patches/patch-Alc_alcConfig_c
>> > > > ===
>> > > > RCS file: /cvs/ports/audio/openal/patches/patch-Alc_alcConfig_c,v
>> > > > retrieving revision 1.3
>> > > > diff -u -p -r1.3 patch-Alc_alcConfig_c
>> > > > --- patches/patch-Alc_alcConfig_c 3 Nov 2016 10:27:15 -
>>1.3
>> > > > +++ patches/patch-Alc_alcConfig_c 13 Oct 2017 21:54:17 -

Re: update: audio/openal

2017-10-26 Thread David CARLIER
Fair point. I ll try whenever I get the chance this week. Cheers.

On 26 October 2017 at 09:30, Rafael Sadowski <raf...@sizeofvoid.org> wrote:

> On Thu Oct 26, 2017 at 09:26:18AM +0100, David CARLIER wrote:
> > Not all but couple of video games :-)
> >
>
> That's okay but you have to make sure all consumers are bulding with the
> new version.
>
> > On 26 October 2017 at 08:33, Rafael Sadowski <raf...@sizeofvoid.org>
> wrote:
> >
> > > Did you test your diff with all consumers?
> > >
> > > audio/freealut
> > > emulators/fs-uae
> > > emulators/retroarch
> > > games/0ad/base
> > > games/astromenace
> > > games/dhewm3
> > > games/dustrac
> > > games/gemrb
> > > games/ioquake3
> > > games/irrlamb
> > > games/love
> > > games/lugaru
> > > games/lwjgl
> > > games/megaglest/base
> > > games/minetest
> > > games/openmw
> > > games/scorched3d
> > > games/solarus
> > > games/spacezero
> > > games/speeddreams
> > > games/supertux
> > > games/supertuxkart
> > > games/taisei
> > > games/tome4
> > > games/ufoai/base
> > > games/valyriatear
> > > games/vegastrike/engine
> > > games/warzone2100
> > > games/yquake2
> > > graphics/blender
> > > graphics/simgear
> > > multimedia/sfml
> > > x11/kde4/libkdegames
> > > x11/qt5/qtmultimedia
> > >
> > > Your diff itself looks good to me.
> > >
> > > On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote:
> > > > Hi,
> > > >
> > > > there is a small update of this port.
> > > >
> > > > Hope it s good.
> > > >
> > > > Regards.
> > >
> > > > Index: Makefile
> > > > ===
> > > > RCS file: /cvs/ports/audio/openal/Makefile,v
> > > > retrieving revision 1.48
> > > > diff -u -p -r1.48 Makefile
> > > > --- Makefile  18 Aug 2017 12:47:58 -  1.48
> > > > +++ Makefile  13 Oct 2017 21:54:17 -
> > > > @@ -4,13 +4,12 @@ BROKEN-hppa =   undefined reference to __s
> > > >
> > > >  COMMENT =cross-platform 3D audio API
> > > >
> > > > -V =  1.16.0
> > > > +V =  1.17.2
> > > >  EPOCH =  0
> > > >  DISTNAME =   openal-soft-$V
> > > >  PKGNAME =openal-$V
> > > >  CATEGORIES = audio
> > > > -SHARED_LIBS =openal  2.2
> > > > -REVISION =   1
> > > > +SHARED_LIBS =openal  3.0
> > > >
> > > >  HOMEPAGE =   http://kcat.strangesoft.net/openal.html
> > > >
> > > > Index: distinfo
> > > > ===
> > > > RCS file: /cvs/ports/audio/openal/distinfo,v
> > > > retrieving revision 1.9
> > > > diff -u -p -r1.9 distinfo
> > > > --- distinfo  3 Nov 2016 10:27:15 -   1.9
> > > > +++ distinfo  13 Oct 2017 21:54:17 -
> > > > @@ -1,2 +1,2 @@
> > > > -SHA256 (openal-soft-1.16.0.tar.bz2) = Lz3NMT/iY5EoT7+FloY3I/
> > > mcZdbGhG3MtI55ytr0DV8=
> > > > -SIZE (openal-soft-1.16.0.tar.bz2) = 393280
> > > > +SHA256 (openal-soft-1.17.2.tar.bz2) = o0H4VC8fC4xlJBoX2hPQc/
> > > GOwGZY4aFgao7Mi7wrMxQ=
> > > > +SIZE (openal-soft-1.17.2.tar.bz2) = 486934
> > > > Index: patches/patch-Alc_alcConfig_c
> > > > ===
> > > > RCS file: /cvs/ports/audio/openal/patches/patch-Alc_alcConfig_c,v
> > > > retrieving revision 1.3
> > > > diff -u -p -r1.3 patch-Alc_alcConfig_c
> > > > --- patches/patch-Alc_alcConfig_c 3 Nov 2016 10:27:15 -
>  1.3
> > > > +++ patches/patch-Alc_alcConfig_c 13 Oct 2017 21:54:17 -
> > > > @@ -1,7 +1,8 @@
> > > >  $OpenBSD: patch-Alc_alcConfig_c,v 1.3 2016/11/03 10:27:15 jasper
> Exp $
> > > >  Alc/alcConfig.c.orig Fri Aug 15 08:06:59 2014
> > > > -+++ Alc/alcConfig.c  Sun Sep  4 22:48:18 2016
> > > > -@@ -326,7 +326,7 @@ void ReadALConfig(void)
> > > > +Index: Alc/alcConfig.c
> > > > +--- Alc/alcConfig.c.orig
> > > >  Alc/alcConfig.c
> > > > +@@ -353,7 +353,7 @@ void ReadALConfig(void)
> > > &g

Re: update: audio/openal

2017-10-26 Thread David CARLIER
Not all but couple of video games :-)

On 26 October 2017 at 08:33, Rafael Sadowski <raf...@sizeofvoid.org> wrote:

> Did you test your diff with all consumers?
>
> audio/freealut
> emulators/fs-uae
> emulators/retroarch
> games/0ad/base
> games/astromenace
> games/dhewm3
> games/dustrac
> games/gemrb
> games/ioquake3
> games/irrlamb
> games/love
> games/lugaru
> games/lwjgl
> games/megaglest/base
> games/minetest
> games/openmw
> games/scorched3d
> games/solarus
> games/spacezero
> games/speeddreams
> games/supertux
> games/supertuxkart
> games/taisei
> games/tome4
> games/ufoai/base
> games/valyriatear
> games/vegastrike/engine
> games/warzone2100
> games/yquake2
> graphics/blender
> graphics/simgear
> multimedia/sfml
> x11/kde4/libkdegames
> x11/qt5/qtmultimedia
>
> Your diff itself looks good to me.
>
> On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote:
> > Hi,
> >
> > there is a small update of this port.
> >
> > Hope it s good.
> >
> > Regards.
>
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/audio/openal/Makefile,v
> > retrieving revision 1.48
> > diff -u -p -r1.48 Makefile
> > --- Makefile  18 Aug 2017 12:47:58 -  1.48
> > +++ Makefile  13 Oct 2017 21:54:17 -
> > @@ -4,13 +4,12 @@ BROKEN-hppa =   undefined reference to __s
> >
> >  COMMENT =cross-platform 3D audio API
> >
> > -V =  1.16.0
> > +V =  1.17.2
> >  EPOCH =  0
> >  DISTNAME =   openal-soft-$V
> >  PKGNAME =openal-$V
> >  CATEGORIES = audio
> > -SHARED_LIBS =openal  2.2
> > -REVISION =   1
> > +SHARED_LIBS =openal  3.0
> >
> >  HOMEPAGE =   http://kcat.strangesoft.net/openal.html
> >
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/audio/openal/distinfo,v
> > retrieving revision 1.9
> > diff -u -p -r1.9 distinfo
> > --- distinfo  3 Nov 2016 10:27:15 -   1.9
> > +++ distinfo  13 Oct 2017 21:54:17 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (openal-soft-1.16.0.tar.bz2) = Lz3NMT/iY5EoT7+FloY3I/
> mcZdbGhG3MtI55ytr0DV8=
> > -SIZE (openal-soft-1.16.0.tar.bz2) = 393280
> > +SHA256 (openal-soft-1.17.2.tar.bz2) = o0H4VC8fC4xlJBoX2hPQc/
> GOwGZY4aFgao7Mi7wrMxQ=
> > +SIZE (openal-soft-1.17.2.tar.bz2) = 486934
> > Index: patches/patch-Alc_alcConfig_c
> > ===
> > RCS file: /cvs/ports/audio/openal/patches/patch-Alc_alcConfig_c,v
> > retrieving revision 1.3
> > diff -u -p -r1.3 patch-Alc_alcConfig_c
> > --- patches/patch-Alc_alcConfig_c 3 Nov 2016 10:27:15 -   1.3
> > +++ patches/patch-Alc_alcConfig_c 13 Oct 2017 21:54:17 -
> > @@ -1,7 +1,8 @@
> >  $OpenBSD: patch-Alc_alcConfig_c,v 1.3 2016/11/03 10:27:15 jasper Exp $
> >  Alc/alcConfig.c.orig Fri Aug 15 08:06:59 2014
> > -+++ Alc/alcConfig.c  Sun Sep  4 22:48:18 2016
> > -@@ -326,7 +326,7 @@ void ReadALConfig(void)
> > +Index: Alc/alcConfig.c
> > +--- Alc/alcConfig.c.orig
> >  Alc/alcConfig.c
> > +@@ -353,7 +353,7 @@ void ReadALConfig(void)
> >   const char *str;
> >   FILE *f;
> >
> > Index: patches/patch-CMakeLists_txt
> > ===
> > RCS file: /cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
> > retrieving revision 1.6
> > diff -u -p -r1.6 patch-CMakeLists_txt
> > --- patches/patch-CMakeLists_txt  3 Nov 2016 10:27:15 -   1.6
> > +++ patches/patch-CMakeLists_txt  13 Oct 2017 21:54:17 -
> > @@ -1,21 +1,13 @@
> >  $OpenBSD: patch-CMakeLists_txt,v 1.6 2016/11/03 10:27:15 jasper Exp $
> >  CMakeLists.txt.orig  Fri Aug 15 08:06:59 2014
> > -+++ CMakeLists.txt   Sun Sep  4 22:58:36 2016
> > -@@ -186,7 +186,7 @@ HAVE_C11_ALIGNAS)
> > - # Check if we have C11 _Atomic
> > - CHECK_C_SOURCE_COMPILES(
> > - "#include 
> > -- int _Atomic foo;
> > -+ const int _Atomic foo = ATOMIC_VAR_INIT(~0);
> > -  int main()
> > -  {
> > -  return atomic_load();
> > -@@ -1134,7 +1134,7 @@ ENDIF()
> > +Index: CMakeLists.txt
> > +--- CMakeLists.txt.orig
> >  CMakeLists.txt
> > +@@ -1207,7 +1207,7 @@ ENDIF()
> >   # Install alsoft.conf configuration file
> >   IF(ALSOFT_CONFIG)
> >   INSTALL(FILES alsoftrc.sample
> > --DESTINAT

Re: update: audio/openal

2017-10-25 Thread David CARLIER
ping :-)

On 13 October 2017 at 22:57, David CARLIER <devne...@gmail.com> wrote:

> Hi,
>
> there is a small update of this port.
>
> Hope it s good.
>
> Regards.
>


  1   2   >