AM_ICONV

2023-01-03 Thread Jan Stary
Some third party software, e.g. wavpack, uses AM_ICONV
in its configure.ac when building from git.

(I know we have a port that already comes with ./configure,
so this problem does not occur there.)

I do have automake and the rest installed,
but autogen.sh complains that

  autoreconf-2.71: export WARNINGS=
  autoreconf-2.71: Entering directory '.'
  autoreconf-2.71: configure.ac: not using Gettext
  autoreconf-2.71: running: aclocal
  configure.ac:66: warning: macro 'AM_ICONV' not found in library

Please excuse my ignorance: I know next to nothing about the auto* hell.
I do have libiconv installed, as well as the following:

autoconf-2.69p3
autoconf-2.71
autoconf-archive-2022.09.03
autogen-5.8.7p7
automake-1.16.5
metaauto-1.0p4 

Is there something else I need to have
so that the AM_ICONV macro is recognized,
like the other AM_* stuff in configure.ac?

Thank you,

Jan



Re: [NEW] audio/alsa-lib-1.2.8

2023-01-03 Thread SASANO Takayoshi
Hello,

- patch for configure.ac is simplified by your idea.
  (new diff is also posted to github)
- warning of pcm.c is fixed, but I use (long)status->x.tv_sec cast
  because of other printf() uses same thing. no %ld -> %lld format change.
- add comment before NO_TEST

ok?

-- 
SASANO Takayoshi (JG1UAA) 



alsa-lib.tgz
Description: Binary data


Re: NEW: editors/calligraplan

2023-01-03 Thread Rafael Sadowski
On Tue Dec 27, 2022 at 01:33:36PM +0100, Rafael Sadowski wrote:
> The story is short: once calligraplan was part of editors/calligra, so I
> added a @conflict calligra-<3.2.0 to PLIST. Nothing else special.
> 
> OK to import?
> 
> Information for inst:calligraplan-3.3.0
> 
> Comment:
> KDE Calligra project management application
> 
> Description:
> Plan is a project management application. It is intended for managing
> moderately large projects with multiple resources.
> 
> Maintainer: Rafael Sadowski 
> 
> WWW: https://calligra.org/plan/
> 
> 

BUMP



Re: NEW: math/labplot

2023-01-03 Thread Rafael Sadowski
On Tue Dec 27, 2022 at 11:59:41AM +0100, Rafael Sadowski wrote:
> On Tue Dec 27, 2022 at 11:58:11AM +0100, Rafael Sadowski wrote:
> > Hi ports,
> > 
> > this is a port for labplot 2.9.0, a KDE data visualization and analysis
> > software.
> > 
> > Comment:
> > data visualization and analysis software
> > 
> > Description:
> > LabPlot is a program for two- and three-dimensional graphical presentation 
> > of
> > data sets and functions. LabPlot allows you to work with multiple plots 
> > which
> > each can have multiple graphs. The graphs can be produced from data or from
> > functions.
> > 
> > Maintainer: Rafael Sadowski 
> > 
> > WWW: https://labplot.kde.org/
> > 
> > Tested on amd64. OK to import?
> > 
> > Rafael
> > 
> 
> Doh! Now with tarball attached.

BUMP



Re: [UPDATE] lang/node 18.12.1

2023-01-03 Thread Barry K. Nathan
On Tue, Jan 3, 2023 at 4:20 PM Volker Schlecht
 wrote:
>
> Looping in Barry since he reportedly had the build working on i386, in
> the hope that he can remember the missing puzzle piece.

I'll look at this when I get a chance, but that may not be until
the weekend, unfortunately. (In addition to other stuff I need to
get done over the next couple of days, one of my computers just
failed and I need to get that situation under control.)
-- 
-Barry K. Nathan  



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Thomas Frohwein
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/01/03 20:37:18

Modified files:
games/steamworks-nosteam: Makefile distinfo 
games/steamworks-nosteam/pkg: PLIST 
Removed files:
games/steamworks-nosteam/patches: patch-Makefile 
  patch-hlsteam_native_common_cpp 

Log message:
update to more recent commit that stops building Steamworks.NET.dll and 
steam.hdll (hlsteam) by default. These are no longer needed and this will save 
cycles on build machines



Re: CVS: cvs.openbsd.org: ports

2023-01-03 Thread Thomas Frohwein
On Tue, Jan 03, 2023 at 08:05:36PM -0700, Thomas Frohwein wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   t...@cvs.openbsd.org2023/01/03 20:05:36
> 
> Modified files:
>   games/hlsteam  : Makefile distinfo 
>   games/hlsteam/patches: patch-Makefile 
>  patch-native_gameserver_cpp 
> 
> Log message:
> update to checkout from 2022-03-22, rework Makefile with input from sthen to 
> avoid SUBST_CMD and use c++ correctly for the build, correctly replace 
> EnableHeartbeats() with SetAdvertiseServerActive()
> 

this was ok sthen@



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Thomas Frohwein
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2023/01/03 20:05:36

Modified files:
games/hlsteam  : Makefile distinfo 
games/hlsteam/patches: patch-Makefile 
   patch-native_gameserver_cpp 

Log message:
update to checkout from 2022-03-22, rework Makefile with input from sthen to 
avoid SUBST_CMD and use c++ correctly for the build, correctly replace 
EnableHeartbeats() with SetAdvertiseServerActive()



Re: UPDATE: handbrake 1.6.0

2023-01-03 Thread Brian Callahan
On 1/1/2023 2:03 AM, Brad Smith wrote:
> Here is an update to HandBrake 1.6.0.
> 
> I did a bit of cleaning up after upstreaming the local patches.
> 
> https://github.com/HandBrake/HandBrake/releases/tag/1.6.0
> 
> 

Thanks Brad. I will review/commit once I am home this weekend.

~Brian



UPDATE net/luasocket 3.0rc1p1 -> 3.1.0

2023-01-03 Thread Ashlen
Hey, this is my first diff to the ports tree. How does this look? I don't
program in Lua (yet), but I followed the porting guide and from what I can tell,
this seems alright.

Some quick notes:

- HOMEPAGE and GH_ACCOUNT changed.

- The do-install hook is changed to a post-install hook because it had been said
  to be less fragile.

- Regression testing is now supported with a do-test hook, and so NO_TEST was
  removed.

- USE_GMAKE was removed because the port appears to build and work without it.

- Some version strings were still 3.0.0 rather than 3.1.0 so they were patched
  accordingly. I can see if upstream will fix this.

- Other patches that renamed 'buffer_*' to 'ls_buffer_*' were removed and
  replaced with a post-patch hook. Does this seem like an alright way to
  approach this problem?

- An INSTALL_TARGET is supplied so that everything is installed properly. In the
  future, it may be worth looking into src/makefile and adding an OpenBSD
  section (FreeBSD has one).

Index: Makefile
===
RCS file: /cvs/ports/net/luasocket/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile11 Mar 2022 19:46:18 -  1.37
+++ Makefile4 Jan 2023 02:07:06 -
@@ -1,13 +1,12 @@
 COMMENT=   network support for the lua language
-V= 3.0-rc1
-GH_ACCOUNT=diegonehab
+V= 3.1.0
+GH_ACCOUNT=lunarmodules
 GH_PROJECT=luasocket
 GH_TAGNAME=v$V
-REVISION=  1
 PKGNAME=   ${DISTNAME:S/-rc/rc/}
 CATEGORIES=net
 
-HOMEPAGE=  http://w3.impa.br/~diego/software/luasocket/
+HOMEPAGE=  https://lunarmodules.github.io/luasocket/index.html
 
 # MIT
 PERMIT_PACKAGE=Yes
@@ -17,10 +16,6 @@ MODULES= lang/lua
 FLAVORS=   lua52 lua53
 FLAVOR?=
 
-NO_TEST=   Yes
-
-USE_GMAKE= Yes
-
 MAKE_FILE= makefile
 
 MAKE_FLAGS=CC_linux=${CC} \
@@ -30,20 +25,25 @@ MAKE_FLAGS= CC_linux=${CC} \
  -DLUA_COMPAT_APIINTCASTS" \
LDFLAGS_linux="${LDFLAGS} -shared -fPIC -o "
 
-do-install:
-   ${INSTALL_DATA_DIR} ${MODLUA_DATADIR}/socket ${MODLUA_DATADIR}/mime
-   ${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}/socket ${MODLUA_LIBDIR}/mime
+# Needed so that Unix specific components are installed.
+INSTALL_TARGET=install install-unix
+
+# Consult ${WRKSRC}/makefile and ${WRKSRC}/test/README to make sure this test 
is
+# up to date.
+do-test:
+   ${MODLUA_BIN} ${WRKSRC}/test/hello.lua
+
+# This replaces all buffer_* functions with ls_buffer_* instead.
+#
+# "luasocket defines buffer_init(); which is common enough to be defined
+# elsewhere and it is defined in mod_magnet, so you end up with a SIGSEGV.
+# So rename buffer_* funcs to ls_buffer_*."
+post-patch:
+   cd ${WRKSRC}/src; sed -i -e 's/[[:<:]]buffer_/ls_buffer_/g' ./*
+
+post-install:
${INSTALL_DATA_DIR} ${MODLUA_DOCDIR} ${MODLUA_EXAMPLEDIR}
-   ${INSTALL_DATA} ${WRKSRC}/src/socket.so ${MODLUA_LIBDIR}/socket/core.so
-   ${INSTALL_DATA} ${WRKSRC}/src/unix.so ${MODLUA_LIBDIR}/socket/unix.so
-   ${INSTALL_DATA} ${WRKSRC}/src/mime.so ${MODLUA_LIBDIR}/mime/core.so
-.for l in ltn12 socket mime
-   ${INSTALL_DATA} ${WRKSRC}/src/$l.lua ${MODLUA_DATADIR}
-.endfor
-.for l in http url tp ftp headers smtp
-   ${INSTALL_DATA} ${WRKSRC}/src/$l.lua ${MODLUA_DATADIR}/socket
-.endfor
-   ${INSTALL_DATA} ${WRKSRC}/doc/* ${MODLUA_DOCDIR}
+   ${INSTALL_DATA} ${WRKSRC}/docs/* ${MODLUA_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${MODLUA_EXAMPLEDIR}
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/luasocket/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo25 Nov 2013 15:27:56 -  1.9
+++ distinfo4 Jan 2023 02:07:06 -
@@ -1,2 +1,2 @@
-SHA256 (luasocket-3.0-rc1.tar.gz) = 
i2fZtbVF4baUdT2re9bNvCTCkPKyG6HhTHezKBfqEkk=
-SIZE (luasocket-3.0-rc1.tar.gz) = 328598
+SHA256 (luasocket-3.1.0.tar.gz) = vwM6655ivKqNAH32jBGclmQY6Mnvfk8tfpa93sqcym4=
+SIZE (luasocket-3.1.0.tar.gz) = 336542
Index: patches/patch-docs_installation_html
===
RCS file: patches/patch-docs_installation_html
diff -N patches/patch-docs_installation_html
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-docs_installation_html4 Jan 2023 02:07:06 -
@@ -0,0 +1,12 @@
+Index: docs/installation.html
+--- docs/installation.html.orig
 docs/installation.html
+@@ -89,7 +89,7 @@ it should be easy to use LuaSocket. Just fire the inte
+ Lua 5.2.2  Copyright (C) 1994-2013 Lua.org, PUC-Rio
+  socket = require("socket")
+  print(socket._VERSION)
+--- LuaSocket 3.0.0
++-- LuaSocket 3.1.0
+ 
+ 
+  Each module loads their dependencies automatically, so you only need to
Index: patches/patch-makefile_dist
===
RCS file: 

CVS: cvs.openbsd.org: ports

2023-01-03 Thread Greg Steuck
CVSROOT:/cvs
Module name:ports
Changes by: gne...@cvs.openbsd.org  2023/01/03 19:27:35

Modified files:
x11/kde-applications/kdenlive: Makefile 
Added files:
x11/kde-applications/kdenlive/patches: 
   
patch-src_utils_thumbnailcache_cpp 

Log message:
Fix use after free in kdenlive

Reported upstream as https://bugs.kde.org/show_bug.cgi?id=463764



Re: [patch] neomutt

2023-01-03 Thread Jon Fineman

On Tue, Jan 03, 2023 at 11:56:16PM +, Stuart Henderson wrote:

On 2023/01/04 00:06, Theo Buehler wrote:

On Tue, Jan 03, 2023 at 05:36:24PM -0500, Jon Fineman wrote:
> I was thinking of this one. Sorry if I have folks confused. I can't find it
> in CVS due to the file rename. So I have included the git link.
>
> 


That says "sthen committed on May 25, 2017".

The port has a maintainer (sthen) who should always be in Cc when a
change to the port is suggested. Not sure why some other person who
happens to be mentioned in a commit message > 5 years ago should be
responsible.

The sasl patches you suggest to remove are leftovers of the pledge
patches for mutt which were dropped for neomutt at some point. I can't
tell whether that removal was deliberate or an accident - the Makefile
still says # uses pledge().


Accidental.


The auto_def patch doesn't look like a patch that should be dropped.


I think that may have been something to do with the issue fixed in
curses.h r1.63 about wide char functions, though I'm not certain as
just copying curses.h 1.62 doesn't cause it to fail.

IIRC it was previously failing to link without that patch.

I've dropped that patch. (I have some odd behaviour with display of
my sent folders, but that's the same with/without the patch; FWIW
I normally use mutt not neomutt).


In any case, if you change patches you probably need to bump REVISION.


I've reinstated the pledge patch to main.c and tested with gpgme+sasl.
If someone using neomutt+notmuch could give that a spin (after anoncvs
has updated; version will be neomutt-20220429p0) and check that things
are still ok there, it would be helpful.



Thanks. I saw your update and tested FLAVOR="gpgme sasl notmuch". It 
builds fine and seems to run fine. No pledge crashes. My Sent folder 
renders fine.


Looks good to me.



Re: UPDATE: arm-compute-library 22.11

2023-01-03 Thread Kevin Lo
I'm going to commit it today later if there's no objection, thanks.

On Tue, Dec 27, 2022 at 10:15:13AM +0800, Kevin Lo wrote:
> 
> Ping?
> 
> On Sun, Dec 18, 2022 at 06:48:09PM +0800, Kevin Lo wrote:
> > 
> > Hi,
> > 
> > This updates arm-compute-library to 22.11. Changes are listed here 
> > https://arm-software.github.io/ComputeLibrary/v22.11/versions_changelogs.xhtml#S2_2_changelog
> > 
> > ok?
> > 
> > Index: devel/arm-compute-library/Makefile
> > ===
> > RCS file: /cvs/ports/devel/arm-compute-library/Makefile,v
> > retrieving revision 1.8
> > diff -u -p -u -p -r1.8 Makefile
> > --- devel/arm-compute-library/Makefile  13 Sep 2022 08:59:48 -  
> > 1.8
> > +++ devel/arm-compute-library/Makefile  18 Dec 2022 10:39:29 -
> > @@ -2,7 +2,7 @@ ONLY_FOR_ARCHS =aarch64
> >  
> >  COMMENT =  Arm compute library
> >  
> > -V =22.08
> > +V =22.11
> >  PKGNAME =  arm-compute-library-${V}
> >  
> >  GH_ACCOUNT =   ARM-software
> > @@ -17,7 +17,7 @@ MAINTAINER =  Kevin Lo  >  
> >  CORE_SO_V =2.0
> >  GRAPH_SO_V =   2.1
> > -COMPUTE_SO_V = 3.1
> > +COMPUTE_SO_V = 3.2
> >  
> >  SHARED_LIBS += arm_compute ${COMPUTE_SO_V}
> >  SHARED_LIBS += arm_compute_core ${CORE_SO_V}
> > @@ -32,7 +32,7 @@ COMPILER =base-clang ports-gcc
> >  
> >  # "build=native" here just means "not cross-compiled"
> >  MODSCONS_FLAGS =   Werror=0 neon=1 opencl=0 embed_kernels=0 examples=0 \
> > -   os=openbsd arch=arm64-v8a build=native
> > +   os=openbsd arch=armv8a build=native
> >  
> >  MODULES =  devel/scons
> >  
> > Index: devel/arm-compute-library/distinfo
> > ===
> > RCS file: /cvs/ports/devel/arm-compute-library/distinfo,v
> > retrieving revision 1.5
> > diff -u -p -u -p -r1.5 distinfo
> > --- devel/arm-compute-library/distinfo  13 Sep 2022 08:59:48 -  
> > 1.5
> > +++ devel/arm-compute-library/distinfo  18 Dec 2022 10:39:29 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (ComputeLibrary-22.08.tar.gz) = 
> > rCzntWNumfF1sIQ2L4P+JNcubOsL1i7lhmdy9zVdAk0=
> > -SIZE (ComputeLibrary-22.08.tar.gz) = 13257068
> > +SHA256 (ComputeLibrary-22.11.tar.gz) = 
> > 4goGDTxPgDiJ2WwvC4ZQBLo+9OIoKZpEM56hwbqCfIU=
> > +SIZE (ComputeLibrary-22.11.tar.gz) = 13316795
> > Index: devel/arm-compute-library/patches/patch-SConscript
> > ===
> > RCS file: /cvs/ports/devel/arm-compute-library/patches/patch-SConscript,v
> > retrieving revision 1.6
> > diff -u -p -u -p -r1.6 patch-SConscript
> > --- devel/arm-compute-library/patches/patch-SConscript  13 Sep 2022 
> > 08:59:48 -  1.6
> > +++ devel/arm-compute-library/patches/patch-SConscript  18 Dec 2022 
> > 10:39:29 -
> > @@ -1,7 +1,7 @@
> >  Index: SConscript
> >  --- SConscript.orig
> >  +++ SConscript
> > -@@ -632,7 +632,7 @@ else:
> > +@@ -638,7 +638,7 @@ else:
> >   elif 'sve' in env['arch']:
> >   lib_files += lib_files_sve
> >   
> > @@ -10,7 +10,7 @@ Index: SConscript
> >   
> >   Export('arm_compute_a')
> >   
> > -@@ -651,7 +651,7 @@ if env['os'] == 'macos':
> > +@@ -657,7 +657,7 @@ if env['os'] == 'macos':
> >   # macos static library archiver fails if given an empty list of files
> >   arm_compute_core_a = build_library('arm_compute_core-static', 
> > arm_compute_env, lib_files, static=True)
> >   else:
> > @@ -19,7 +19,7 @@ Index: SConscript
> >   
> >   Export('arm_compute_core_a')
> >   
> > -@@ -664,7 +664,7 @@ arm_compute_graph_env = arm_compute_env.Clone()
> > +@@ -670,7 +670,7 @@ arm_compute_graph_env = arm_compute_env.Clone()
> >   # Build graph libraries
> >   arm_compute_graph_env.Append(CXXFLAGS = ['-Wno-redundant-move', 
> > '-Wno-pessimizing-move'])
> >   
> > Index: devel/arm-compute-library/patches/patch-SConstruct
> > ===
> > RCS file: /cvs/ports/devel/arm-compute-library/patches/patch-SConstruct,v
> > retrieving revision 1.6
> > diff -u -p -u -p -r1.6 patch-SConstruct
> > --- devel/arm-compute-library/patches/patch-SConstruct  13 Sep 2022 
> > 08:59:48 -  1.6
> > +++ devel/arm-compute-library/patches/patch-SConstruct  18 Dec 2022 
> > 10:39:29 -
> > @@ -1,7 +1,7 @@
> >  Index: SConstruct
> >  --- SConstruct.orig
> >  +++ SConstruct
> > -@@ -244,17 +244,8 @@ c_compiler = os.environ.get('CC', default_c_compiler)
> > +@@ -245,17 +245,8 @@ c_compiler = os.environ.get('CC', default_c_compiler)
> >   if env['os'] == 'android' and ( 'clang++' not in cpp_compiler or 'clang' 
> > not in c_compiler ):
> >   print( "WARNING: Only clang is officially supported to build the 
> > Compute Library for Android")
> >   
> > @@ -20,7 +20,7 @@ Index: SConstruct
> >   if env['cppthreads']:
> >   env.Append(CPPDEFINES = [('ARM_COMPUTE_CPP_SCHEDULER', 1)])

Re: [UPDATE] lang/node 18.12.1

2023-01-03 Thread Volker Schlecht
Looping in Barry since he reportedly had the build working on i386, in 
the hope that he can remember the missing puzzle piece.


The patch in www/chromium is against a very different version of v8, so 
I don't think that'll be much help here.


My next best guess would be to patch in

#if !defined(V8_HOST_ARCH_64_BIT)

namespace v8 {
namespace base {

inline void Relaxed_Store(volatile AtomicWord* ptr, AtomicWord value) {
  Relaxed_Store(reinterpret_cast(ptr), value);
}

inline void Release_Store(volatile AtomicWord* ptr, AtomicWord value) {
  return v8::base::Release_Store(
  reinterpret_cast(ptr), value);
}

inline AtomicWord Relaxed_Load(volatile const AtomicWord* ptr) {
  return Relaxed_Load(reinterpret_cast(ptr));
}

inline AtomicWord Acquire_Load(volatile const AtomicWord* ptr) {
  return v8::base::Acquire_Load(
  reinterpret_cast(ptr));
}

}  // namespace base
}  // namespace v8

#endif  // !defined(V8_HOST_ARCH_64_BIT)

from atomicops_internals_atomicword_compat.h

On 1/4/23 00:07, Stuart Henderson wrote:

On 2023/01/03 21:04, Volker Schlecht wrote:

I think I lost Barry K. Nathan's patch somehow.
Does that fix the build?

Still works on amd64 with that one.



On 1/3/23 13:18, Stuart Henderson wrote:

On 2023/01/03 11:31, Stuart Henderson wrote:

FYI, this was broken on i386, and probably any non-LP64 arch.
I have now synced patch-deps_v8_src_base_atomicops_h with the patch in
www/chromium which should fix it (retrying build now), that's the only
difference in that v8 patches between node and chromium.


Unfortunately that attempt at a quick fix wasn't enough, it resulted in

../deps/v8/src/base/atomicops_internals_atomicword_compat.h:26:19: error: 
redefinition of 'Relaxed_CompareAndSwap'

so I've reverted it




- Forwarded message from Stuart Henderson -

Date: Mon, 2 Jan 2023 18:08:28 -0700 (MST)
Subject: i386.ports.openbsd.org build done

bulk build on i386.ports.openbsd.org
started at 1672618115 Sun Jan  1 17:08:35 MST 2023
finished at 1672708076 Mon Jan  2 18:07:56 MST 2023
report generated at 1672708106 Mon Jan  2 18:08:26 MST 2023
total   24h59m
done with kern.version=OpenBSD 7.2-current (GENERIC.MP) #0: Sun Jan  1 16:42:52 
MST 2023

built packages
build restarts:
 2 audio/musikcube
 2 devel/clang-tools-extra
 2 editors/helix
 2 games/supertux
 2 x11/qt5/qtbase

build failures: 3
not built: 3
  devel/fpm
  lang/node
  x11/xfce4/xfce4-taskmanager

new failures
resolved failures

packages newly built
packages not built this time
Kernel messages post-boot:
i386-1:map stack for pid sbcl/36444 failed
i386-1:map stack for pid sbcl/96619 failed
i386-1:map stack for pid sbcl/31551 failed
i386-1:map stack for pid sbcl/52885 failed
i386-1:map stack for pid sbcl/41332 failed
i386-1:map stack for pid sbcl/88654 failed
i386-1:map stack for pid sbcl/38108 failed
i386-1:map stack for pid sbcl/55710 failed
i386-1:map stack for pid sbcl/41675 failed
i386-1:map stack for pid sbcl/35735 failed
i386-1:map stack for pid sbcl/9371 failed
i386-1:map stack for pid sbcl/96565 failed
i386-1:map stack for pid sbcl/63435 failed
i386-1:map stack for pid sbcl/58244 failed
i386-1:map stack for pid sbcl/39410 failed
i386-1:map stack for pid sbcl/55856 failed
i386-1:map stack for pid sbcl/79703 failed
i386-1:map stack for pid sbcl/98663 failed
i386-1:map stack for pid sbcl/84371 failed
i386-1:map stack for pid sbcl/57949 failed
i386-1:map stack for pid sbcl/30593 failed
i386-1:map stack for pid sbcl/99143 failed
i386-1:map stack for pid sbcl/15007 failed
i386-1:map stack for pid sbcl/32237 failed
i386-1:map stack for pid sbcl/27358 failed
i386-1:map stack for pid sbcl/89261 failed
=
==> failures/devel/fpm.log <==
===>  Checking files for fpm-0.7.0p0
`/mnt/distfiles/fpm-0.7.0.tar.gz' is up to date.
`/mnt/distfiles/fpm-0.7.0.F90' is up to date.
`/mnt/distfiles/toml-f-e49f5523.tar.gz' is up to date.
`/mnt/distfiles/M_CLI2-90a1a146.tar.gz' is up to date.

(SHA256) fpm-0.7.0.tar.gz: OK
(SHA256) fpm-0.7.0.F90: OK
(SHA256) toml-f-e49f5523.tar.gz: OK
(SHA256) M_CLI2-90a1a146.tar.gz: OK

===>  Extracting for fpm-0.7.0p0
mv /pobj/fpm-0.7.0/fpm-0.7.0.F90 /pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90
mkdir /pobj/fpm-0.7.0/fpm-0.7.0/vendor
mv /pobj/fpm-0.7.0/toml-f-e49f5523e4ee67db6628618864504448fb8c8939 
/pobj/fpm-0.7.0/fpm-0.7.0/vendor/toml-f
mv /pobj/fpm-0.7.0/M_CLI2-90a1a146e19c8ad37b0469b8cbd04bc28eb67a50 
/pobj/fpm-0.7.0/fpm-0.7.0/vendor/M_CLI2
===>  Patching for fpm-0.7.0p0
===>  Compiler link: gcc -> /usr/local/bin/egcc
===>  Compiler link: cc -> /usr/local/bin/egcc
===>  Compiler link: gfortran -> /usr/local/bin/egfortran
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: c++ -> /usr/bin/c++

Running configure in devel/fpm at 1672696484.88

===> devel/fpm
===>  Generating configure for fpm-0.7.0p0
===>  Configuring for fpm-0.7.0p0

Running build in devel/fpm at 

CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 17:13:28

Modified files:
net/icinga/core2: Makefile 
net/icinga/core2/patches: patch-lib_cli_daemoncommand_cpp 

Log message:
icinga2: ignore SIGHUP except on the umbrella process. rcctl doesn't
use the pid file and can't identify the proper process to signal based
just on process name, so it signals all icinga2 processes.

>From https://github.com/Icinga/icinga2/pull/9622 from Al2Klimov
(Icinga developer), thanks for caring about OpenBSD quirks!



Re: [patch] neomutt

2023-01-03 Thread Stuart Henderson
On 2023/01/04 00:06, Theo Buehler wrote:
> On Tue, Jan 03, 2023 at 05:36:24PM -0500, Jon Fineman wrote:
> > I was thinking of this one. Sorry if I have folks confused. I can't find it
> > in CVS due to the file rename. So I have included the git link.
> > 
> > 
> 
> That says "sthen committed on May 25, 2017".
> 
> The port has a maintainer (sthen) who should always be in Cc when a
> change to the port is suggested. Not sure why some other person who
> happens to be mentioned in a commit message > 5 years ago should be
> responsible.
> 
> The sasl patches you suggest to remove are leftovers of the pledge
> patches for mutt which were dropped for neomutt at some point. I can't
> tell whether that removal was deliberate or an accident - the Makefile
> still says # uses pledge().

Accidental.

> The auto_def patch doesn't look like a patch that should be dropped.

I think that may have been something to do with the issue fixed in
curses.h r1.63 about wide char functions, though I'm not certain as
just copying curses.h 1.62 doesn't cause it to fail.

IIRC it was previously failing to link without that patch.

I've dropped that patch. (I have some odd behaviour with display of
my sent folders, but that's the same with/without the patch; FWIW
I normally use mutt not neomutt).

> In any case, if you change patches you probably need to bump REVISION.

I've reinstated the pledge patch to main.c and tested with gpgme+sasl.
If someone using neomutt+notmuch could give that a spin (after anoncvs
has updated; version will be neomutt-20220429p0) and check that things
are still ok there, it would be helpful.



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 16:52:25

Modified files:
mail/neomutt   : Makefile 
Added files:
mail/neomutt/patches: patch-main_c 

Log message:
neomutt: reinstate pledge patch, accidentally removed when merging
to git head to fix various crashes that people were running into.
lightly tested with gpgme and sasl.



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 16:22:49

Removed files:
mail/neomutt/patches: patch-auto_def 

Log message:
neomutt: remove patch which is no longer needed, possibly as a result of
changes to src/lib/libcurses. part of a diff from Jon Fineman.



Re: [UPDATE] lang/node 18.12.1

2023-01-03 Thread Stuart Henderson
On 2023/01/03 21:04, Volker Schlecht wrote:
> I think I lost Barry K. Nathan's patch somehow.
> Does that fix the build?
> 
> Still works on amd64 with that one.
> 
> 
> 
> On 1/3/23 13:18, Stuart Henderson wrote:
> > On 2023/01/03 11:31, Stuart Henderson wrote:
> > > FYI, this was broken on i386, and probably any non-LP64 arch.
> > > I have now synced patch-deps_v8_src_base_atomicops_h with the patch in
> > > www/chromium which should fix it (retrying build now), that's the only
> > > difference in that v8 patches between node and chromium.
> > 
> > Unfortunately that attempt at a quick fix wasn't enough, it resulted in
> > 
> > ../deps/v8/src/base/atomicops_internals_atomicword_compat.h:26:19: error: 
> > redefinition of 'Relaxed_CompareAndSwap'
> > 
> > so I've reverted it
> > 
> > 
> > 
> > > - Forwarded message from Stuart Henderson -
> > > 
> > > Date: Mon, 2 Jan 2023 18:08:28 -0700 (MST)
> > > Subject: i386.ports.openbsd.org build done
> > > 
> > > bulk build on i386.ports.openbsd.org
> > > started at 1672618115 Sun Jan  1 17:08:35 MST 2023
> > > finished at 1672708076 Mon Jan  2 18:07:56 MST 2023
> > > report generated at 1672708106 Mon Jan  2 18:08:26 MST 2023
> > > total   24h59m
> > > done with kern.version=OpenBSD 7.2-current (GENERIC.MP) #0: Sun Jan  1 
> > > 16:42:52 MST 2023
> > > 
> > > built packages
> > > build restarts:
> > > 2 audio/musikcube
> > > 2 devel/clang-tools-extra
> > > 2 editors/helix
> > > 2 games/supertux
> > > 2 x11/qt5/qtbase
> > > 
> > > build failures: 3
> > > not built: 3
> > >  devel/fpm
> > >  lang/node
> > >  x11/xfce4/xfce4-taskmanager
> > > 
> > > new failures
> > > resolved failures
> > > 
> > > packages newly built
> > > packages not built this time
> > > Kernel messages post-boot:
> > > i386-1:map stack for pid sbcl/36444 failed
> > > i386-1:map stack for pid sbcl/96619 failed
> > > i386-1:map stack for pid sbcl/31551 failed
> > > i386-1:map stack for pid sbcl/52885 failed
> > > i386-1:map stack for pid sbcl/41332 failed
> > > i386-1:map stack for pid sbcl/88654 failed
> > > i386-1:map stack for pid sbcl/38108 failed
> > > i386-1:map stack for pid sbcl/55710 failed
> > > i386-1:map stack for pid sbcl/41675 failed
> > > i386-1:map stack for pid sbcl/35735 failed
> > > i386-1:map stack for pid sbcl/9371 failed
> > > i386-1:map stack for pid sbcl/96565 failed
> > > i386-1:map stack for pid sbcl/63435 failed
> > > i386-1:map stack for pid sbcl/58244 failed
> > > i386-1:map stack for pid sbcl/39410 failed
> > > i386-1:map stack for pid sbcl/55856 failed
> > > i386-1:map stack for pid sbcl/79703 failed
> > > i386-1:map stack for pid sbcl/98663 failed
> > > i386-1:map stack for pid sbcl/84371 failed
> > > i386-1:map stack for pid sbcl/57949 failed
> > > i386-1:map stack for pid sbcl/30593 failed
> > > i386-1:map stack for pid sbcl/99143 failed
> > > i386-1:map stack for pid sbcl/15007 failed
> > > i386-1:map stack for pid sbcl/32237 failed
> > > i386-1:map stack for pid sbcl/27358 failed
> > > i386-1:map stack for pid sbcl/89261 failed
> > > =
> > > ==> failures/devel/fpm.log <==
> > > ===>  Checking files for fpm-0.7.0p0
> > > `/mnt/distfiles/fpm-0.7.0.tar.gz' is up to date.
> > > `/mnt/distfiles/fpm-0.7.0.F90' is up to date.
> > > `/mnt/distfiles/toml-f-e49f5523.tar.gz' is up to date.
> > > `/mnt/distfiles/M_CLI2-90a1a146.tar.gz' is up to date.
> > > > > (SHA256) fpm-0.7.0.tar.gz: OK
> > > > > (SHA256) fpm-0.7.0.F90: OK
> > > > > (SHA256) toml-f-e49f5523.tar.gz: OK
> > > > > (SHA256) M_CLI2-90a1a146.tar.gz: OK
> > > ===>  Extracting for fpm-0.7.0p0
> > > mv /pobj/fpm-0.7.0/fpm-0.7.0.F90 
> > > /pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90
> > > mkdir /pobj/fpm-0.7.0/fpm-0.7.0/vendor
> > > mv /pobj/fpm-0.7.0/toml-f-e49f5523e4ee67db6628618864504448fb8c8939 
> > > /pobj/fpm-0.7.0/fpm-0.7.0/vendor/toml-f
> > > mv /pobj/fpm-0.7.0/M_CLI2-90a1a146e19c8ad37b0469b8cbd04bc28eb67a50 
> > > /pobj/fpm-0.7.0/fpm-0.7.0/vendor/M_CLI2
> > > ===>  Patching for fpm-0.7.0p0
> > > ===>  Compiler link: gcc -> /usr/local/bin/egcc
> > > ===>  Compiler link: cc -> /usr/local/bin/egcc
> > > ===>  Compiler link: gfortran -> /usr/local/bin/egfortran
> > > ===>  Compiler link: clang -> /usr/bin/clang
> > > ===>  Compiler link: clang++ -> /usr/bin/clang++
> > > ===>  Compiler link: c++ -> /usr/bin/c++
> > > > > > Running configure in devel/fpm at 1672696484.88
> > > ===> devel/fpm
> > > ===>  Generating configure for fpm-0.7.0p0
> > > ===>  Configuring for fpm-0.7.0p0
> > > > > > Running build in devel/fpm at 1672696485.23
> > > ===> devel/fpm
> > > ===>  Building for fpm-0.7.0p0
> > > mkdir -p /pobj/fpm-0.7.0/build-i386/{stage0,stage1,stage2}
> > > # build the bootstrap (stage0)
> > > if [ "/pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90" -nt 
> > > "/pobj/fpm-0.7.0/build-i386/stage0/fpm" ]; then  cd 
> > > /pobj/fpm-0.7.0/build-i386/stage0 && /usr/bin/env -i FPM_FC="gfortran"  
> > > FPM_FFLAGS="-O2 "  FPM_CC="cc"  

Re: [patch] neomutt

2023-01-03 Thread Theo Buehler
On Tue, Jan 03, 2023 at 05:36:24PM -0500, Jon Fineman wrote:
> I was thinking of this one. Sorry if I have folks confused. I can't find it
> in CVS due to the file rename. So I have included the git link.
> 
> 

That says "sthen committed on May 25, 2017".

The port has a maintainer (sthen) who should always be in Cc when a
change to the port is suggested. Not sure why some other person who
happens to be mentioned in a commit message > 5 years ago should be
responsible.

The sasl patches you suggest to remove are leftovers of the pledge
patches for mutt which were dropped for neomutt at some point. I can't
tell whether that removal was deliberate or an accident - the Makefile
still says # uses pledge().

The auto_def patch doesn't look like a patch that should be dropped.

In any case, if you change patches you probably need to bump REVISION.



Re: [patch] neomutt

2023-01-03 Thread Jon Fineman
I was thinking of this one. Sorry if I have folks confused. I can't 
find it in CVS due to the file rename. So I have included the git 
link.





On Tue, Jan 03, 2023 at 11:18:01PM +0100, Theo Buehler wrote:

I am CC'ing tb as they touched this patch last.


I never touched neomutt.





Re: [patch] neomutt

2023-01-03 Thread Theo Buehler
> I am CC'ing tb as they touched this patch last.

I never touched neomutt.



[patch] neomutt

2023-01-03 Thread Jon Fineman
I built upstream neomutt with gpgme sasl notmuch options and ports 
neomutt FLAVOR (gpgme sasl notmuch) without any patches. Both linked 
and launched without any issues. I did a cursory run through of 
neomutt/Notmuch and neomutt/IMAP and they looked fine.


The one patch looks like it is exposing mutt_sasl_start(void) for an 
external plugin maybe. Am I missing a user that is depending on this?


Assuming no issues with this I am including the below patch.

I am CC'ing tb as they touched this patch last.



Index: patch-auto_def
===
RCS file: patch-auto_def
diff -N patch-auto_def
--- patch-auto_def  29 Apr 2022 14:33:37 -  1.18
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-Cope with some problem, possibly related to the old version of curses in 
OpenBSD
-
-Index: auto.def
 auto.def.orig
-+++ auto.def
-@@ -754,9 +754,9 @@ cc-with [list -libs -L$ncurses_prefix/$::libdir_tail] 
- user-error "Unable to find ncursesw library"

-   }
- 
--  foreach f {bkgrndset setcchar} {

--cc-check-function-in-lib $f $ncurses_lib
--  }
-+#  foreach f {bkgrndset setcchar} {
-+#cc-check-function-in-lib $f $ncurses_lib
-+#  }
- }
- 
- # Locate the directory containing ncurses.h

Index: patch-conn_sasl_c
===
RCS file: patch-conn_sasl_c
diff -N patch-conn_sasl_c
--- patch-conn_sasl_c   29 Apr 2022 14:33:37 -  1.12
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-Index: conn/sasl.c
 conn/sasl.c.orig
-+++ conn/sasl.c
-@@ -269,7 +269,7 @@ static int mutt_sasl_cb_log(void *context, int priorit
-  *
-  * Call before doing an SASL exchange (initialises library if necessary).
-  */
--static int mutt_sasl_start(void)
-+int mutt_sasl_start(void)
- {
-   static bool sasl_init = false;
- 
Index: patch-conn_sasl_h

===
RCS file: patch-conn_sasl_h
diff -N patch-conn_sasl_h
--- patch-conn_sasl_h   7 Mar 2022 21:36:45 -   1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,10 +0,0 @@
-Index: conn/sasl.h
 conn/sasl.h.orig
-+++ conn/sasl.h
-@@ -36,5 +36,6 @@ int  mutt_sasl_client_new(struct Connection *conn, sas
- void mutt_sasl_done  (void);
- int  mutt_sasl_interact  (sasl_interact_t *interaction);
- void mutt_sasl_setup_conn(struct Connection *conn, sasl_conn_t *saslconn);
-+int  mutt_sasl_start (void);
- 
- #endif /* MUTT_CONN_SASL_H */




Re: [update] x11/polybar 3.6.3

2023-01-03 Thread Volker Schlecht

FWIW it works for me ;-)

On 1/3/23 13:38, Stuart Henderson wrote:

On 2022/12/28 21:58, Volker Schlecht wrote:



Your BUILD_DEPENDS line looks off with the commented backslash.


Ugh. Yes, a leftover from me building it with i3-gaps installed and running
instead of i3. Fix attached.


Also, in your post-install, the rm shouldn’t be needed if you can override the 
installation directory
with FAKE_FLAGS so that it’ll be installed into the correct location right away.

As far as I can tell:

https://github.com/polybar/polybar/blob/edf37385cb2e0e4d3c848d188473e48df618ed1a/doc/CMakeLists.txt#L64

This installs the example config into ${CMAKE_INSTALL_DOCDIR}/examples.
Since I don't want to override CMAKE_INSTALL_DOCDIR, I figured I could
either patch doc/CMakeLists.txt or do a bit of post-install juggling.

Is there a way to handle this with FAKE_FLAGS?


Not usually for cmake ports. For simplicity I would probably just mv the
directory post-install. How about this? Also shortens the existing long
line while there, and @samples into /etc/polybar (see "Polybar now ships
a default config that is installed to `/etc/polybar/config.ini`" in the
3.6.0 changelog entry)

Index: Makefile
===
RCS file: /cvs/ports/x11/polybar/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile13 Nov 2022 15:30:23 -  1.25
+++ Makefile3 Jan 2023 12:35:38 -
@@ -1,8 +1,7 @@
  COMMENT = fast and easy-to-use status bar
-V =3.5.7
+V =3.6.3
  DISTNAME =polybar-$V
  CATEGORIES =  x11
-REVISION = 3
  
  HOMEPAGE =	https://polybar.github.io/

  MAINTAINER =  Jasper Lievisse Adriaanse 
@@ -13,7 +12,7 @@ PERMIT_PACKAGE =  Yes
  WANTLIB += ${COMPILER_LIBCXX} lib/inotify/inotify
  WANTLIB += c cairo curl fontconfig freetype intl m mpdclient
  WANTLIB += pulse xcb xcb-composite xcb-cursor xcb-ewmh xcb-icccm
-WANTLIB += xcb-image xcb-randr xcb-util xcb-xkb xcb-xrm z jsoncpp
+WANTLIB += xcb-image xcb-randr xcb-util xcb-xkb xcb-xrm z jsoncpp uv
  
  MASTER_SITES =	https://github.com/polybar/polybar/releases/download/$V/

  EXTRACT_SUFX =.tar.gz
@@ -35,28 +34,23 @@ LIB_DEPENDS =   audio/libmpdclient \
devel/jsoncpp \
devel/libinotify \
graphics/cairo \
-   net/curl
+   net/curl \
+   devel/libuv
  
  RUN_DEPENDS =	x11/py-xcbgen${MODPY_FLAVOR} \

fonts/siji \
fonts/unifont
  
-MODCMAKE_LDFLAGS =	-L${X11BASE}/lib -L${LOCALBASE}/lib -lintl -L${LOCALBASE}/lib/inotify -linotify -Wl,-rpath,${LOCALBASE}/lib/inotify

+MODCMAKE_LDFLAGS = -L${X11BASE}/lib -L${LOCALBASE}/lib -lintl \
+   -L${LOCALBASE}/lib/inotify -linotify \
+   -Wl,-rpath,${LOCALBASE}/lib/inotify
  
  CONFIGURE_ARGS =	-DENABLE_CCACHE=OFF \

-DENABLE_I3=ON
  
  NO_TEST =	Yes
  
-WRKDIST =	${WRKDIR}/polybar-$V

-
-pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/cmake/02-opts.cmake \
-   ${WRKSRC}/doc/CMakeLists.txt \
-   ${WRKSRC}/lib/i3ipcpp/CMakeLists.txt
-
  post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/polybar
-   ${INSTALL_DATA} ${WRKSRC}/config ${PREFIX}/share/examples/polybar
+   mv ${PREFIX}/share/doc/polybar/examples ${PREFIX}/share/examples/polybar
  
  .include 

Index: distinfo
===
RCS file: /cvs/ports/x11/polybar/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo27 Oct 2021 14:55:04 -  1.8
+++ distinfo3 Jan 2023 12:35:38 -
@@ -1,2 +1,2 @@
-SHA256 (polybar-3.5.7.tar.gz) = cyEObXQhesuVOyU5kLQwI0O3tqeHD+HamhhV2qRBI9s=
-SIZE (polybar-3.5.7.tar.gz) = 411318
+SHA256 (polybar-3.6.3.tar.gz) = 8ldYVzVnII/HtvTUEVphF6hzicvMCUz2BdB5d1vpX6U=
+SIZE (polybar-3.6.3.tar.gz) = 439838
Index: patches/patch-cmake_03-libs_cmake
===
RCS file: patches/patch-cmake_03-libs_cmake
diff -N patches/patch-cmake_03-libs_cmake
--- patches/patch-cmake_03-libs_cmake   11 Mar 2022 20:16:56 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-Detect libinotify using pkg-config.
-
-Index: cmake/03-libs.cmake
 cmake/03-libs.cmake.orig
-+++ cmake/03-libs.cmake
-@@ -25,6 +25,6 @@ querylib(WITH_XRM "pkg-config" xcb-xrm libs dirs)
- querylib(WITH_XCURSOR "pkg-config" xcb-cursor libs dirs)
-
- # FreeBSD Support
--if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
-+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL 
"OpenBSD")
-   querylib(TRUE "pkg-config" libinotify libs dirs)
- endif()
Index: patches/patch-cmake_libpoly_cmake
===
RCS file: patches/patch-cmake_libpoly_cmake
diff -N patches/patch-cmake_libpoly_cmake
--- /dev/null   1 Jan 1970 00:00:00 -
+++ 

CVS: cvs.openbsd.org: ports

2023-01-03 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/01/03 14:46:13

Modified files:
net/endlessh   : Makefile 

Log message:
Do the usual c99 dance to fix the build on sparc64



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/01/03 14:45:43

Modified files:
devel/p5-Syntax-Keyword-Match: Makefile 

Log message:
p5-SKM uses c99 for constructs

Do the usual c99 dance to fix build on sparc64



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2023/01/03 14:25:16

Modified files:
net/tdesktop   : Makefile distinfo 

Log message:
update to tdesktop 4.5.2;  sort deps



Re: [UPDATE] lang/node 18.12.1

2023-01-03 Thread Volker Schlecht

I think I lost Barry K. Nathan's patch somehow.
Does that fix the build?

Still works on amd64 with that one.



On 1/3/23 13:18, Stuart Henderson wrote:

On 2023/01/03 11:31, Stuart Henderson wrote:

FYI, this was broken on i386, and probably any non-LP64 arch.
I have now synced patch-deps_v8_src_base_atomicops_h with the patch in
www/chromium which should fix it (retrying build now), that's the only
difference in that v8 patches between node and chromium.


Unfortunately that attempt at a quick fix wasn't enough, it resulted in

../deps/v8/src/base/atomicops_internals_atomicword_compat.h:26:19: error: 
redefinition of 'Relaxed_CompareAndSwap'

so I've reverted it




- Forwarded message from Stuart Henderson -

Date: Mon, 2 Jan 2023 18:08:28 -0700 (MST)
Subject: i386.ports.openbsd.org build done

bulk build on i386.ports.openbsd.org
started at 1672618115 Sun Jan  1 17:08:35 MST 2023
finished at 1672708076 Mon Jan  2 18:07:56 MST 2023
report generated at 1672708106 Mon Jan  2 18:08:26 MST 2023
total   24h59m
done with kern.version=OpenBSD 7.2-current (GENERIC.MP) #0: Sun Jan  1 16:42:52 
MST 2023

built packages
build restarts:
2 audio/musikcube
2 devel/clang-tools-extra
2 editors/helix
2 games/supertux
2 x11/qt5/qtbase

build failures: 3
not built: 3
 devel/fpm
 lang/node
 x11/xfce4/xfce4-taskmanager

new failures
resolved failures

packages newly built
packages not built this time
Kernel messages post-boot:
i386-1:map stack for pid sbcl/36444 failed
i386-1:map stack for pid sbcl/96619 failed
i386-1:map stack for pid sbcl/31551 failed
i386-1:map stack for pid sbcl/52885 failed
i386-1:map stack for pid sbcl/41332 failed
i386-1:map stack for pid sbcl/88654 failed
i386-1:map stack for pid sbcl/38108 failed
i386-1:map stack for pid sbcl/55710 failed
i386-1:map stack for pid sbcl/41675 failed
i386-1:map stack for pid sbcl/35735 failed
i386-1:map stack for pid sbcl/9371 failed
i386-1:map stack for pid sbcl/96565 failed
i386-1:map stack for pid sbcl/63435 failed
i386-1:map stack for pid sbcl/58244 failed
i386-1:map stack for pid sbcl/39410 failed
i386-1:map stack for pid sbcl/55856 failed
i386-1:map stack for pid sbcl/79703 failed
i386-1:map stack for pid sbcl/98663 failed
i386-1:map stack for pid sbcl/84371 failed
i386-1:map stack for pid sbcl/57949 failed
i386-1:map stack for pid sbcl/30593 failed
i386-1:map stack for pid sbcl/99143 failed
i386-1:map stack for pid sbcl/15007 failed
i386-1:map stack for pid sbcl/32237 failed
i386-1:map stack for pid sbcl/27358 failed
i386-1:map stack for pid sbcl/89261 failed
=
==> failures/devel/fpm.log <==
===>  Checking files for fpm-0.7.0p0
`/mnt/distfiles/fpm-0.7.0.tar.gz' is up to date.
`/mnt/distfiles/fpm-0.7.0.F90' is up to date.
`/mnt/distfiles/toml-f-e49f5523.tar.gz' is up to date.
`/mnt/distfiles/M_CLI2-90a1a146.tar.gz' is up to date.

(SHA256) fpm-0.7.0.tar.gz: OK
(SHA256) fpm-0.7.0.F90: OK
(SHA256) toml-f-e49f5523.tar.gz: OK
(SHA256) M_CLI2-90a1a146.tar.gz: OK

===>  Extracting for fpm-0.7.0p0
mv /pobj/fpm-0.7.0/fpm-0.7.0.F90 /pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90
mkdir /pobj/fpm-0.7.0/fpm-0.7.0/vendor
mv /pobj/fpm-0.7.0/toml-f-e49f5523e4ee67db6628618864504448fb8c8939 
/pobj/fpm-0.7.0/fpm-0.7.0/vendor/toml-f
mv /pobj/fpm-0.7.0/M_CLI2-90a1a146e19c8ad37b0469b8cbd04bc28eb67a50 
/pobj/fpm-0.7.0/fpm-0.7.0/vendor/M_CLI2
===>  Patching for fpm-0.7.0p0
===>  Compiler link: gcc -> /usr/local/bin/egcc
===>  Compiler link: cc -> /usr/local/bin/egcc
===>  Compiler link: gfortran -> /usr/local/bin/egfortran
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: c++ -> /usr/bin/c++

Running configure in devel/fpm at 1672696484.88

===> devel/fpm
===>  Generating configure for fpm-0.7.0p0
===>  Configuring for fpm-0.7.0p0

Running build in devel/fpm at 1672696485.23

===> devel/fpm
===>  Building for fpm-0.7.0p0
mkdir -p /pobj/fpm-0.7.0/build-i386/{stage0,stage1,stage2}
# build the bootstrap (stage0)
if [ "/pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90" -nt "/pobj/fpm-0.7.0/build-i386/stage0/fpm" ]; then  cd /pobj/fpm-0.7.0/build-i386/stage0 && /usr/bin/env -i FPM_FC="gfortran"  FPM_FFLAGS="-O2 "  FPM_CC="cc"  FPM_CFLAGS="-O2 -pipe  "  
FPM_CXX="c++"  FPM_CXXFLAGS="-O2 -pipe  "  FPM_LDFLAGS="" PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool"  PATH='/pobj/fpm-0.7.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local'  LOCALBASE='/usr/local' 
X11BASE='/usr/X11R6'  CFLAGS='-O2 -pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  HOME='/fpm-0.7.0_writes_to_HOME' PICFLAG="-fpic"  BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644  DIRMODE=755  INSTALL_COPY=-c INSTALL_STRIP=-s  MANGRP=bin MANOWN=root MANMODE=644 
BSD_INSTALL_PROGRAM="/pobj/fpm-0.7.0/bin/install -c -s -m 755"  BSD_INSTALL_SCRIPT="/pobj/fpm-0.7.0/bin/install -c -m 755"  BSD_INSTALL_DATA="/pobj/fpm-0.7.0/bin/install -c -m 644"  

Re: sysutils/findlib add missing build dependency

2023-01-03 Thread Volker Schlecht




On 1/3/23 13:57, Stuart Henderson wrote:

On 2022/12/30 11:22, Volker Schlecht wrote:

Findlib needs devel/ocamlbuild AFAICT


It has built OK without it during a _lot_ of bulk builds by now..


Sure, but if I do make clean build without ocamlbuild, I get:

[...]
ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
USE_CYGPATH="0"; \
export USE_CYGPATH; \
cat topfind_rd1.p | \
 ../../tools/patch '@SITELIB@' '/usr/local/lib/ocaml' \
>topfind
ocamlc -I +compiler-libs -opaque -c fl_dynload.mli
ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml
ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
gmake[1]: Leaving directory 
'/build/pobj/findlib-1.8.1/findlib-1.8.1/src/findlib'
gmake[1]: Entering directory 
'/build/pobj/findlib-1.8.1/findlib-1.8.1/src/bytes'

ocamlbuild -classic-display -no-links bytes.cmi bytes.cma
gmake[1]: ocamlbuild: No such file or directory
gmake[1]: *** [Makefile:12: all] Error 127
gmake[1]: Leaving directory 
'/build/pobj/findlib-1.8.1/findlib-1.8.1/src/bytes'

gmake: *** [Makefile:13: all] Error 2
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2964 
'/build/pobj/findlib-1.8.1/.build_done': @cd 
/build/pobj/findlib-1.8.1/findl...)
*** Error 2 in /usr/ports/sysutils/findlib 
(/usr/ports/infrastructure/mk/bsd.port.mk:2604 'build': 
@lock=findlib-1.8.1p5;  export _LOCKS_HEL...)




CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 09:23:08

Modified files:
mail/claws-mail: Makefile distinfo 
mail/claws-mail/patches: patch-configure_ac 
Removed files:
mail/claws-mail/patches: patch-src_plugins_perl_perl_plugin_c 

Log message:
update to claws-mail-4.1.1



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:45:50

Modified files:
devel/py-coverage: Makefile distinfo 
devel/py-coverage/pkg: PLIST 

Log message:
update to py3-coverage-7.0.2



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:45:35

Modified files:
net/dnsmasq: Makefile distinfo 
net/dnsmasq/patches: patch-man_dnsmasq_8 patch-src_config_h 

Log message:
update to dnsmasq-2.88, from Brad (maintainer)



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:22:50

Modified files:
textproc/py-pygments: Makefile distinfo 
textproc/py-pygments/pkg: PLIST 

Log message:
update to py3-pygments-2.14.0



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:22:37

Modified files:
sysutils/ansible-lint: Makefile distinfo 
sysutils/ansible-lint/pkg: PLIST 

Log message:
update to ansible-lint-6.10.2



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:17:14

Modified files:
graphics/py-Pillow: Makefile distinfo 

Log message:
update to py3-Pillow-9.4.0



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:11:36

Modified files:
sysutils/p5-File-Rename: Makefile distinfo 
sysutils/p5-File-Rename/pkg: PLIST 

Log message:
update to p5-File-Rename-2.00



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:10:12

Modified files:
net/nagios/check_esxi_hardware: Makefile distinfo 

Log message:
update to check_esxi_hardware-20221230



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:08:44

Modified files:
www/newsraft   : Makefile distinfo 

Log message:
update to newsraft-0.14



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:05:37

Modified files:
textproc/hunspell: Makefile distinfo 

Log message:
update to hunspell-1.7.2



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 08:01:34

Modified files:
devel/py-hatchling: Makefile distinfo 

Log message:
update to py3-hatchling-1.12.1



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:54:17

Modified files:
textproc/py-polib: Makefile distinfo 

Log message:
update to py3-polib-1.1.1



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:54:13

Modified files:
textproc/py-precis_i18n: Makefile distinfo 
textproc/py-precis_i18n/pkg: PLIST 

Log message:
update to py3-precis_i18n-1.0.4



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:54:06

Modified files:
net/pmacct : Makefile distinfo 
net/pmacct/patches: patch-configure_ac patch-src_isis_isis_c 
net/pmacct/pkg : PLIST 

Log message:
update to pmacct-1.7.8



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:54:00

Modified files:
devel/libcdada : Makefile distinfo 

Log message:
update to libcdada-0.4.0



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:53:27

Modified files:
archivers/py-lz4: Makefile distinfo 
archivers/py-lz4/patches: patch-setup_py 

Log message:
update to py3-lz4-4.3.2



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:51:17

Modified files:
textproc/py-pypandoc: Makefile distinfo 
textproc/py-pypandoc/patches: patch-tests_py 

Log message:
update to py3-pypandoc-1.10



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:50:31

Modified files:
textproc/py-dateparser: Makefile distinfo 

Log message:
update to py3-dateparser-1.1.5, simplify COMMENT, disable some tests with
extra deps and add a missing TDEP



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:46:16

Modified files:
security/pcsc-tools: Makefile distinfo 
security/pcsc-tools/patches: patch-ATR_analysis 

Log message:
update to pcsc-tools-1.6.1



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 07:42:55

Modified files:
devel/py-prompt_toolkit: Makefile distinfo 

Log message:
update to py3-prompt_toolkit-3.0.36



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2023/01/03 07:31:02

Modified files:
mail   : Makefile 

Log message:
+rssgoemail



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2023/01/03 07:30:30

Log message:
import rssgoemail-1.0.2

Rssgoemail is a command line tool that let you read your favourite feeds
from your mailbox.  It is designed to work in cooperation with the
system mailer, as it will send all the items of every given feed using
sendmail(8).

ok sthen@

Status:

Vendor Tag: op
Release Tags:   op_20230103

N ports/mail/rssgoemail/Makefile
N ports/mail/rssgoemail/modules.inc
N ports/mail/rssgoemail/distinfo
N ports/mail/rssgoemail/pkg/DESCR
N ports/mail/rssgoemail/pkg/PLIST

No conflicts created by this import



Re: UPDATE: libvips

2023-01-03 Thread Stuart Henderson
On 2022/12/30 13:27, mgra...@brainfat.net wrote:
> Thank you for the feedback. Here is an updated version of the patch. I
> believe I have taken care of all the errors that were noted.
> 
> I have had no luck with 'make port-lib-depends-check' or 'show-reverse-deps' 
> in
> finding any other ports that depend on this library. Though I still
> may not be searching correctly.
> 
> I have also tried to contact the maintainer twice. Once on 12/14/2022 
> and again 12/21/2022 with no response.
> 
> Please let me know if any additional correction need to be made to this
> patch.

As I said in my previous mail, it needs all of the optional libraries
either disabling with CONFIGURE_ARGS, or adding as a dependency.

...snip...
:: but basically, run configure --help and add the various other new
:: --without-XXX lines to CONFIGURE_ARGS.
...snip...

I've done that in the diff below, but note that they switched from
giflib to libcgif which we don't have in ports, so that might be a
problem if someone is actually using libvips with gif files.

(Also I have no opinion on whether it actually makes sense to include
openjp2 support, I kept that enabled as in your diff).


Index: Makefile
===
RCS file: /cvs/ports/graphics/libvips/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile5 Nov 2022 17:06:27 -   1.3
+++ Makefile3 Jan 2023 13:10:07 -
@@ -1,14 +1,13 @@
 COMMENT =  fast image processing library with low memory needs
 
-VERSION =  8.9.2
+VERSION =  8.13.0
 DISTNAME = vips-${VERSION}
 PKGNAME =  lib${DISTNAME}
-REVISION = 0
 
 CATEGORIES =   graphics
 
-SHARED_LIBS +=  vips   0.0
-SHARED_LIBS +=  vips-cpp   0.0
+SHARED_LIBS += vips 1.0  # 57.0
+SHARED_LIBS += vips-cpp 1.0  # 57.0
 
 HOMEPAGE = https://libvips.github.io/libvips/
 
@@ -17,8 +16,8 @@ MAINTAINER =  Stephane Guedon https://github.com/libvips/libvips/releases/download/v${VERSION}/
@@ -26,9 +25,9 @@ MASTER_SITES =https://github.com/libvip
 LIB_DEPENDS += archivers/xz\
archivers/zstd  \
devel/glib2 \
-   graphics/giflib \
graphics/jpeg   \
graphics/libwebp \
+   graphics/openjp2 \
graphics/png\
graphics/tiff
 
@@ -36,33 +35,40 @@ USE_GMAKE = Yes
 COMPILER = base-clang ports-gcc
 CONFIGURE_STYLE =  gnu
 
-CONFIGURE_ARGS +=  --disable-gtk-doc \
-   --disable-gtk-doc-html \
-   --disable-introspection \
-   --with-analyze \
-   --with-giflib \
-   --with-png \
-   --with-tiff \
-   --with-ppm \
-   --with-radiance \
-   --with-jpeg \
-   --with-libwebp \
+# follow configure --help ordering to assist keeping in-sync with updates
+CONFIGURE_ARGS +=  --disable-introspection \
+   --without-gsf \
+   --without-fftw \
--without-magick \
-   --without-matio \
-   --without-nifti \
-   --without-openslide \
--without-orc \
-   --without-pangoft2 \
+   --without-lcms \
+   --without-OpenEXR \
+   --without-nifti \
+   --with-x \
+   --without-libjxl \
+   --with-libopenjp2 \
+   --without-heif \
--without-pdfium \
--without-poppler \
--without-rsvg \
-   --without-OpenEXR \
-   --without-lcms \
-   --without-libexif \
-   --without-gsf \
-   --without-heif \
-   --without-imagequant \
+   --with-zlib \
+   --without-openslide \
+   --without-matio \
+   --without-nsgif \
+   --with-ppm \
+   --with-analyze \
+   --with-radiance \
--without-cfitsio \
-   --without-fftw
+   --with-libwebp \
+   --without-pangocairo \
+   --with-fontconfig \
+   --with-tiff \
+   --without-libspng \
+   --with-png \
+   --without-imagequant \
+   --without-quantizr \
+   --with-jpeg \
+   --without-libexif \
+   --without-cgif
 
 .include 
Index: distinfo

Re: sysutils/findlib add missing build dependency

2023-01-03 Thread Stuart Henderson
On 2022/12/30 11:22, Volker Schlecht wrote:
> Findlib needs devel/ocamlbuild AFAICT

It has built OK without it during a _lot_ of bulk builds by now..

> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/findlib/Makefile,v
> retrieving revision 1.43
> diff -u -p -r1.43 Makefile
> --- Makefile  11 Mar 2022 19:57:25 -  1.43
> +++ Makefile  20 Sep 2022 18:33:08 -
> @@ -1,7 +1,7 @@
>  COMMENT= OCaml package manager
>  CATEGORIES=  sysutils
>  DISTNAME=findlib-1.8.1
> -REVISION=4
> +REVISION=5
>  
>  MASTER_SITES=http://download.camlcity.org/download/
>  
> @@ -15,7 +15,8 @@ MODULES+=   x11/tk
>  
>  WANTLIB +=   c m
>  RUN_DEPENDS +=   lang/ocaml
> -BUILD_DEPENDS += lang/ocaml
> +BUILD_DEPENDS += lang/ocaml \
> + devel/ocaml-ocamlbuild
>  
>  CONFIGURE_STYLE=simple
>  CONFIGURE_ARGS= -no-custom \



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 05:56:11

Modified files:
www/p5-libapreq2: Tag: OPENBSD_7_2 Makefile distinfo 

Log message:
update to p5-libapreq2-2.17, includes a fix for buffer overflow while
processing multipart form uploads.



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 05:55:22

Modified files:
www/p5-libapreq2: Makefile distinfo 

Log message:
update to p5-libapreq2-2.17, includes a fix for buffer overflow while
processing multipart form uploads.



Re: [update] x11/polybar 3.6.3

2023-01-03 Thread Stuart Henderson
On 2022/12/28 21:58, Volker Schlecht wrote:
> 
> > Your BUILD_DEPENDS line looks off with the commented backslash.
> 
> Ugh. Yes, a leftover from me building it with i3-gaps installed and running
> instead of i3. Fix attached.
> 
> > Also, in your post-install, the rm shouldn’t be needed if you can override 
> > the installation directory
> > with FAKE_FLAGS so that it’ll be installed into the correct location right 
> > away.
> As far as I can tell:
> 
> https://github.com/polybar/polybar/blob/edf37385cb2e0e4d3c848d188473e48df618ed1a/doc/CMakeLists.txt#L64
> 
> This installs the example config into ${CMAKE_INSTALL_DOCDIR}/examples.
> Since I don't want to override CMAKE_INSTALL_DOCDIR, I figured I could
> either patch doc/CMakeLists.txt or do a bit of post-install juggling.
> 
> Is there a way to handle this with FAKE_FLAGS?

Not usually for cmake ports. For simplicity I would probably just mv the
directory post-install. How about this? Also shortens the existing long
line while there, and @samples into /etc/polybar (see "Polybar now ships
a default config that is installed to `/etc/polybar/config.ini`" in the
3.6.0 changelog entry)

Index: Makefile
===
RCS file: /cvs/ports/x11/polybar/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile13 Nov 2022 15:30:23 -  1.25
+++ Makefile3 Jan 2023 12:35:38 -
@@ -1,8 +1,7 @@
 COMMENT =  fast and easy-to-use status bar
-V =3.5.7
+V =3.6.3
 DISTNAME = polybar-$V
 CATEGORIES =   x11
-REVISION = 3
 
 HOMEPAGE = https://polybar.github.io/
 MAINTAINER =   Jasper Lievisse Adriaanse 
@@ -13,7 +12,7 @@ PERMIT_PACKAGE =  Yes
 WANTLIB += ${COMPILER_LIBCXX} lib/inotify/inotify
 WANTLIB += c cairo curl fontconfig freetype intl m mpdclient
 WANTLIB += pulse xcb xcb-composite xcb-cursor xcb-ewmh xcb-icccm
-WANTLIB += xcb-image xcb-randr xcb-util xcb-xkb xcb-xrm z jsoncpp
+WANTLIB += xcb-image xcb-randr xcb-util xcb-xkb xcb-xrm z jsoncpp uv
 
 MASTER_SITES = https://github.com/polybar/polybar/releases/download/$V/
 EXTRACT_SUFX = .tar.gz
@@ -35,28 +34,23 @@ LIB_DEPENDS =   audio/libmpdclient \
devel/jsoncpp \
devel/libinotify \
graphics/cairo \
-   net/curl
+   net/curl \
+   devel/libuv
 
 RUN_DEPENDS =  x11/py-xcbgen${MODPY_FLAVOR} \
fonts/siji \
fonts/unifont
 
-MODCMAKE_LDFLAGS = -L${X11BASE}/lib -L${LOCALBASE}/lib -lintl 
-L${LOCALBASE}/lib/inotify -linotify -Wl,-rpath,${LOCALBASE}/lib/inotify
+MODCMAKE_LDFLAGS = -L${X11BASE}/lib -L${LOCALBASE}/lib -lintl \
+   -L${LOCALBASE}/lib/inotify -linotify \
+   -Wl,-rpath,${LOCALBASE}/lib/inotify
 
 CONFIGURE_ARGS =   -DENABLE_CCACHE=OFF \
-DENABLE_I3=ON
 
 NO_TEST =  Yes
 
-WRKDIST =  ${WRKDIR}/polybar-$V
-
-pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/cmake/02-opts.cmake \
-   ${WRKSRC}/doc/CMakeLists.txt \
-   ${WRKSRC}/lib/i3ipcpp/CMakeLists.txt
-
 post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/polybar
-   ${INSTALL_DATA} ${WRKSRC}/config ${PREFIX}/share/examples/polybar
+   mv ${PREFIX}/share/doc/polybar/examples ${PREFIX}/share/examples/polybar
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/x11/polybar/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo27 Oct 2021 14:55:04 -  1.8
+++ distinfo3 Jan 2023 12:35:38 -
@@ -1,2 +1,2 @@
-SHA256 (polybar-3.5.7.tar.gz) = cyEObXQhesuVOyU5kLQwI0O3tqeHD+HamhhV2qRBI9s=
-SIZE (polybar-3.5.7.tar.gz) = 411318
+SHA256 (polybar-3.6.3.tar.gz) = 8ldYVzVnII/HtvTUEVphF6hzicvMCUz2BdB5d1vpX6U=
+SIZE (polybar-3.6.3.tar.gz) = 439838
Index: patches/patch-cmake_03-libs_cmake
===
RCS file: patches/patch-cmake_03-libs_cmake
diff -N patches/patch-cmake_03-libs_cmake
--- patches/patch-cmake_03-libs_cmake   11 Mar 2022 20:16:56 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-Detect libinotify using pkg-config.
-
-Index: cmake/03-libs.cmake
 cmake/03-libs.cmake.orig
-+++ cmake/03-libs.cmake
-@@ -25,6 +25,6 @@ querylib(WITH_XRM "pkg-config" xcb-xrm libs dirs)
- querylib(WITH_XCURSOR "pkg-config" xcb-cursor libs dirs)
- 
- # FreeBSD Support
--if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
-+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL 
"OpenBSD")
-   querylib(TRUE "pkg-config" libinotify libs dirs)
- endif()
Index: patches/patch-cmake_libpoly_cmake
===
RCS file: patches/patch-cmake_libpoly_cmake
diff -N patches/patch-cmake_libpoly_cmake
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-cmake_libpoly_cmake   3 Jan 2023 

CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 05:32:27

Modified files:
databases/sqlcipher: Makefile distinfo 

Log message:
update to sqlcipher-4.5.3, from Tom Murphy (maintainer)



Re: [UPDATE] lang/node 18.12.1

2023-01-03 Thread Stuart Henderson
On 2023/01/03 11:31, Stuart Henderson wrote:
> FYI, this was broken on i386, and probably any non-LP64 arch.
> I have now synced patch-deps_v8_src_base_atomicops_h with the patch in
> www/chromium which should fix it (retrying build now), that's the only
> difference in that v8 patches between node and chromium.

Unfortunately that attempt at a quick fix wasn't enough, it resulted in

../deps/v8/src/base/atomicops_internals_atomicword_compat.h:26:19: error: 
redefinition of 'Relaxed_CompareAndSwap'

so I've reverted it



> - Forwarded message from Stuart Henderson -
> 
> Date: Mon, 2 Jan 2023 18:08:28 -0700 (MST)
> Subject: i386.ports.openbsd.org build done
> 
> bulk build on i386.ports.openbsd.org
> started at 1672618115 Sun Jan  1 17:08:35 MST 2023
> finished at 1672708076 Mon Jan  2 18:07:56 MST 2023
> report generated at 1672708106 Mon Jan  2 18:08:26 MST 2023
> total   24h59m
> done with kern.version=OpenBSD 7.2-current (GENERIC.MP) #0: Sun Jan  1 
> 16:42:52 MST 2023
> 
> built packages
> build restarts:
>2 audio/musikcube
>2 devel/clang-tools-extra
>2 editors/helix
>2 games/supertux
>2 x11/qt5/qtbase
> 
> build failures: 3
> not built: 3
> devel/fpm
> lang/node
> x11/xfce4/xfce4-taskmanager
> 
> new failures
> resolved failures
> 
> packages newly built
> packages not built this time
> Kernel messages post-boot:
> i386-1:map stack for pid sbcl/36444 failed
> i386-1:map stack for pid sbcl/96619 failed
> i386-1:map stack for pid sbcl/31551 failed
> i386-1:map stack for pid sbcl/52885 failed
> i386-1:map stack for pid sbcl/41332 failed
> i386-1:map stack for pid sbcl/88654 failed
> i386-1:map stack for pid sbcl/38108 failed
> i386-1:map stack for pid sbcl/55710 failed
> i386-1:map stack for pid sbcl/41675 failed
> i386-1:map stack for pid sbcl/35735 failed
> i386-1:map stack for pid sbcl/9371 failed
> i386-1:map stack for pid sbcl/96565 failed
> i386-1:map stack for pid sbcl/63435 failed
> i386-1:map stack for pid sbcl/58244 failed
> i386-1:map stack for pid sbcl/39410 failed
> i386-1:map stack for pid sbcl/55856 failed
> i386-1:map stack for pid sbcl/79703 failed
> i386-1:map stack for pid sbcl/98663 failed
> i386-1:map stack for pid sbcl/84371 failed
> i386-1:map stack for pid sbcl/57949 failed
> i386-1:map stack for pid sbcl/30593 failed
> i386-1:map stack for pid sbcl/99143 failed
> i386-1:map stack for pid sbcl/15007 failed
> i386-1:map stack for pid sbcl/32237 failed
> i386-1:map stack for pid sbcl/27358 failed
> i386-1:map stack for pid sbcl/89261 failed
> =
> ==> failures/devel/fpm.log <==
> ===>  Checking files for fpm-0.7.0p0
> `/mnt/distfiles/fpm-0.7.0.tar.gz' is up to date.
> `/mnt/distfiles/fpm-0.7.0.F90' is up to date.
> `/mnt/distfiles/toml-f-e49f5523.tar.gz' is up to date.
> `/mnt/distfiles/M_CLI2-90a1a146.tar.gz' is up to date.
> >> (SHA256) fpm-0.7.0.tar.gz: OK
> >> (SHA256) fpm-0.7.0.F90: OK
> >> (SHA256) toml-f-e49f5523.tar.gz: OK
> >> (SHA256) M_CLI2-90a1a146.tar.gz: OK
> ===>  Extracting for fpm-0.7.0p0
> mv /pobj/fpm-0.7.0/fpm-0.7.0.F90 /pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90
> mkdir /pobj/fpm-0.7.0/fpm-0.7.0/vendor
> mv /pobj/fpm-0.7.0/toml-f-e49f5523e4ee67db6628618864504448fb8c8939 
> /pobj/fpm-0.7.0/fpm-0.7.0/vendor/toml-f
> mv /pobj/fpm-0.7.0/M_CLI2-90a1a146e19c8ad37b0469b8cbd04bc28eb67a50 
> /pobj/fpm-0.7.0/fpm-0.7.0/vendor/M_CLI2
> ===>  Patching for fpm-0.7.0p0
> ===>  Compiler link: gcc -> /usr/local/bin/egcc
> ===>  Compiler link: cc -> /usr/local/bin/egcc
> ===>  Compiler link: gfortran -> /usr/local/bin/egfortran
> ===>  Compiler link: clang -> /usr/bin/clang
> ===>  Compiler link: clang++ -> /usr/bin/clang++
> ===>  Compiler link: c++ -> /usr/bin/c++
> >>> Running configure in devel/fpm at 1672696484.88
> ===> devel/fpm
> ===>  Generating configure for fpm-0.7.0p0
> ===>  Configuring for fpm-0.7.0p0
> >>> Running build in devel/fpm at 1672696485.23
> ===> devel/fpm
> ===>  Building for fpm-0.7.0p0
> mkdir -p /pobj/fpm-0.7.0/build-i386/{stage0,stage1,stage2}
> # build the bootstrap (stage0)
> if [ "/pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90" -nt 
> "/pobj/fpm-0.7.0/build-i386/stage0/fpm" ]; then  cd 
> /pobj/fpm-0.7.0/build-i386/stage0 && /usr/bin/env -i FPM_FC="gfortran"  
> FPM_FFLAGS="-O2 "  FPM_CC="cc"  FPM_CFLAGS="-O2 -pipe  "  FPM_CXX="c++"  
> FPM_CXXFLAGS="-O2 -pipe  "  FPM_LDFLAGS="" PORTSDIR="/usr/ports" 
> LIBTOOL="/usr/bin/libtool"  
> PATH='/pobj/fpm-0.7.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
>  PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  
> CFLAGS='-O2 -pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  
> HOME='/fpm-0.7.0_writes_to_HOME' PICFLAG="-fpic"  BINGRP=bin BINOWN=root 
> BINMODE=755 NONBINMODE=644  DIRMODE=755  INSTALL_COPY=-c INSTALL_STRIP=-s  
> MANGRP=bin MANOWN=root MANMODE=644 
> BSD_INSTALL_PROGRAM="/pobj/fpm-0.7.0/bin/install -c -s -m 755"  
> BSD_INSTALL_SCRIPT="/pobj/fpm-0.7.0/bin/install -c -m 755"  
> 

Re: hlsteam - new attempt at hashlink steam middleware library

2023-01-03 Thread Stuart Henderson
On 2023/01/01 21:32, Thomas Frohwein wrote:
> Hi,
> 
> This is an updated version of my original submission a year ago [1].
> I'm keeping it shorter this time - this does the same as the recently
> committed libcsteamworks [2] for hashlink. This replaces the stub
> library that is part of steamworks-nosteam. Net benefit is improved
> support and maintainability of keeping the following indie games
> runnable on OpenBSD: Dead Cells, Northgard, Dice Tribes: Ambitions,
> Nuclear Blaze, Evoland Legendary Edition, Voidrun, possibly future
> titles.
> 
> ok to import?
> 
> [1] https://marc.info/?l=openbsd-ports=163554939711525=2
> [2] https://marc.info/?l=openbsd-ports=166753024405818=2

Diff on top; this moves from using SUBST_CMD on Makefile to passing
in variables, and uses c++ instead of cc to compile/link which fixes
the recorded deps.

If this still works for you (I have only tested building not runtime)
then OK sthen@

diff --git games/hlsteam/Makefile games/hlsteam/Makefile
index 2d08b83..505ca5a 100644
--- games/hlsteam/Makefile
+++ games/hlsteam/Makefile
@@ -10,21 +10,21 @@ MAINTAINER =Thomas Frohwein 
 
 # MIT
 PERMIT_PACKAGE =   Yes
-WANTLIB += ${COMPILER_LIBCXX} hl steam_api
+
+WANTLIB += ${COMPILER_LIBCXX} hl m steam_api
 
 FIX_CRLF_FILES =   Makefile native/gameserver.cpp
 
-# uses libc++
 COMPILER = base-clang ports-gcc
 LIB_DEPENDS =  games/goldberg_emulator \
lang/hashlink
 USE_GMAKE =Yes
 NO_TEST =  Yes
-SUBST_VARS +=  CFLAGS LDFLAGS
-CFLAGS +=  -I${LOCALBASE}/include/goldberg_emulator
 
-do-gen:
-   ${SUBST_CMD} ${WRKSRC}/Makefile
+MAKE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
+   CXX="${CXX}"
+CFLAGS +=  -I${LOCALBASE}/include \
+   -I${LOCALBASE}/include/goldberg_emulator
 
 do-install:
${INSTALL_DATA} ${WRKSRC}/steam.hdll ${PREFIX}/lib/
diff --git games/hlsteam/patches/patch-Makefile 
games/hlsteam/patches/patch-Makefile
index 788e608..6c03fd3 100644
--- games/hlsteam/patches/patch-Makefile
+++ games/hlsteam/patches/patch-Makefile
@@ -1,49 +1,37 @@
-honor CFLAGS, LDFLAGS, and LOCALBASE
-use parentheses to not clash with SUBST_CMD
-
 Index: Makefile
 --- Makefile.orig
 +++ Makefile
-@@ -1,30 +1,11 @@
--LBITS := $(shell getconf LONG_BIT)
-+CFLAGS = ${CFLAGS} -Wall -I src -I native/include -fPIC -I ../sdk/public 
-I${LOCALBASE}/include
-+LFLAGS = ${LDFLAGS} -lhl -lsteam_api -lstdc++ -L${LOCALBASE}/lib
+@@ -2,7 +2,7 @@ LBITS := $(shell getconf LONG_BIT)
+ 
+ UNAME := $(shell uname)
  
--UNAME := $(shell uname)
--
 -CFLAGS = -Wall -O3 -I src -I native/include -fPIC -I ../sdk/public
--
--ifndef ARCH
--  ARCH = $(LBITS)
--endif
--
--LIBARCH=$(ARCH)
--ifeq ($(UNAME),Darwin)
--OS=osx
--# universal lib in osx32 dir
--LIBARCH=32
--else
--OS=linux
--CFLAGS += -std=c++0x
--endif
--
++CFLAGS += -Wall -I src -I native/include -fPIC -I ../sdk/public
+ 
+ ifndef ARCH
+   ARCH = $(LBITS)
+@@ -18,13 +18,13 @@ OS=linux
+ CFLAGS += -std=c++0x
+ endif
+ 
 -LFLAGS = -lhl -lsteam_api -lstdc++ -L native/lib/$(OS)$(LIBARCH) -L 
../sdk/redistributable_bin/$(OS)$(ARCH)
--
++LFLAGS = ${LDFLAGS} -lhl -lsteam_api
+ 
  SRC = native/cloud.o native/common.o native/controller.o native/friends.o 
native/gameserver.o \
native/matchmaking.o native/networking.o native/stats.o native/ugc.o
  
  all: ${SRC}
 -  ${CC} ${CFLAGS} -shared -o steam.hdll ${SRC} ${LFLAGS}
-+  $(CC) $(CFLAGS) -shared -o steam.hdll ${SRC} $(LFLAGS)
++  ${CXX} ${CFLAGS} -shared -o steam.hdll ${SRC} ${LFLAGS}
  
  install:
cp steam.hdll /usr/lib
-@@ -33,7 +14,7 @@ install:
+@@ -33,7 +33,7 @@ install:
  .SUFFIXES : .cpp .o
  
  .cpp.o :
 -  ${CC} ${CFLAGS} -o $@ -c $<
-+  $(CC) $(CFLAGS) -o $@ -c $<
++  ${CXX} ${CFLAGS} -o $@ -c $<

  clean_o:
rm -f ${SRC}



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 05:10:40

Modified files:
lang/node/patches: patch-deps_v8_src_base_atomicops_h 

Log message:
revert previous, something more is needed



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 04:40:27

Modified files:
x11: Makefile 
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 
x11/i3 : Makefile 
x11/i3/pkg : PLIST 
Removed files:
x11/i3-gaps: Makefile distinfo 
x11/i3-gaps/patches: patch-etc_config patch-etc_config_keycodes 
 patch-i3-dmenu-desktop patch-i3-msg_main_c 
 patch-i3-nagbar_main_c 
 patch-libi3_get_exe_path_c 
 patch-man_i3-config-wizard_man 
 patch-man_i3-dump-log_man 
 patch-man_i3-nagbar_man patch-man_i3_man 
 patch-meson_build patch-src_bindings_c 
 patch-src_config_directives_c 
 patch-src_config_parser_c patch-src_main_c 
x11/i3-gaps/pkg: DESCR PLIST README 

Log message:
merge x11/i3-gaps into x11/i3, ok rsadowski (i3-gaps maintainer)



Re: [UPDATE] lang/node 18.12.1

2023-01-03 Thread Stuart Henderson
FYI, this was broken on i386, and probably any non-LP64 arch.
I have now synced patch-deps_v8_src_base_atomicops_h with the patch in
www/chromium which should fix it (retrying build now), that's the only
difference in that v8 patches between node and chromium.


- Forwarded message from Stuart Henderson -

Date: Mon, 2 Jan 2023 18:08:28 -0700 (MST)
Subject: i386.ports.openbsd.org build done

bulk build on i386.ports.openbsd.org
started at 1672618115 Sun Jan  1 17:08:35 MST 2023
finished at 1672708076 Mon Jan  2 18:07:56 MST 2023
report generated at 1672708106 Mon Jan  2 18:08:26 MST 2023
total   24h59m
done with kern.version=OpenBSD 7.2-current (GENERIC.MP) #0: Sun Jan  1 16:42:52 
MST 2023

built packages
build restarts:
   2 audio/musikcube
   2 devel/clang-tools-extra
   2 editors/helix
   2 games/supertux
   2 x11/qt5/qtbase

build failures: 3
not built: 3
devel/fpm
lang/node
x11/xfce4/xfce4-taskmanager

new failures
resolved failures

packages newly built
packages not built this time
Kernel messages post-boot:
i386-1:map stack for pid sbcl/36444 failed
i386-1:map stack for pid sbcl/96619 failed
i386-1:map stack for pid sbcl/31551 failed
i386-1:map stack for pid sbcl/52885 failed
i386-1:map stack for pid sbcl/41332 failed
i386-1:map stack for pid sbcl/88654 failed
i386-1:map stack for pid sbcl/38108 failed
i386-1:map stack for pid sbcl/55710 failed
i386-1:map stack for pid sbcl/41675 failed
i386-1:map stack for pid sbcl/35735 failed
i386-1:map stack for pid sbcl/9371 failed
i386-1:map stack for pid sbcl/96565 failed
i386-1:map stack for pid sbcl/63435 failed
i386-1:map stack for pid sbcl/58244 failed
i386-1:map stack for pid sbcl/39410 failed
i386-1:map stack for pid sbcl/55856 failed
i386-1:map stack for pid sbcl/79703 failed
i386-1:map stack for pid sbcl/98663 failed
i386-1:map stack for pid sbcl/84371 failed
i386-1:map stack for pid sbcl/57949 failed
i386-1:map stack for pid sbcl/30593 failed
i386-1:map stack for pid sbcl/99143 failed
i386-1:map stack for pid sbcl/15007 failed
i386-1:map stack for pid sbcl/32237 failed
i386-1:map stack for pid sbcl/27358 failed
i386-1:map stack for pid sbcl/89261 failed
=
==> failures/devel/fpm.log <==
===>  Checking files for fpm-0.7.0p0
`/mnt/distfiles/fpm-0.7.0.tar.gz' is up to date.
`/mnt/distfiles/fpm-0.7.0.F90' is up to date.
`/mnt/distfiles/toml-f-e49f5523.tar.gz' is up to date.
`/mnt/distfiles/M_CLI2-90a1a146.tar.gz' is up to date.
>> (SHA256) fpm-0.7.0.tar.gz: OK
>> (SHA256) fpm-0.7.0.F90: OK
>> (SHA256) toml-f-e49f5523.tar.gz: OK
>> (SHA256) M_CLI2-90a1a146.tar.gz: OK
===>  Extracting for fpm-0.7.0p0
mv /pobj/fpm-0.7.0/fpm-0.7.0.F90 /pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90
mkdir /pobj/fpm-0.7.0/fpm-0.7.0/vendor
mv /pobj/fpm-0.7.0/toml-f-e49f5523e4ee67db6628618864504448fb8c8939 
/pobj/fpm-0.7.0/fpm-0.7.0/vendor/toml-f
mv /pobj/fpm-0.7.0/M_CLI2-90a1a146e19c8ad37b0469b8cbd04bc28eb67a50 
/pobj/fpm-0.7.0/fpm-0.7.0/vendor/M_CLI2
===>  Patching for fpm-0.7.0p0
===>  Compiler link: gcc -> /usr/local/bin/egcc
===>  Compiler link: cc -> /usr/local/bin/egcc
===>  Compiler link: gfortran -> /usr/local/bin/egfortran
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in devel/fpm at 1672696484.88
===> devel/fpm
===>  Generating configure for fpm-0.7.0p0
===>  Configuring for fpm-0.7.0p0
>>> Running build in devel/fpm at 1672696485.23
===> devel/fpm
===>  Building for fpm-0.7.0p0
mkdir -p /pobj/fpm-0.7.0/build-i386/{stage0,stage1,stage2}
# build the bootstrap (stage0)
if [ "/pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90" -nt 
"/pobj/fpm-0.7.0/build-i386/stage0/fpm" ]; then  cd 
/pobj/fpm-0.7.0/build-i386/stage0 && /usr/bin/env -i FPM_FC="gfortran"  
FPM_FFLAGS="-O2 "  FPM_CC="cc"  FPM_CFLAGS="-O2 -pipe  "  FPM_CXX="c++"  
FPM_CXXFLAGS="-O2 -pipe  "  FPM_LDFLAGS="" PORTSDIR="/usr/ports" 
LIBTOOL="/usr/bin/libtool"  
PATH='/pobj/fpm-0.7.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
 PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  CFLAGS='-O2 
-pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  HOME='/fpm-0.7.0_writes_to_HOME' 
PICFLAG="-fpic"  BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644  DIRMODE=755 
 INSTALL_COPY=-c INSTALL_STRIP=-s  MANGRP=bin MANOWN=root MANMODE=644 
BSD_INSTALL_PROGRAM="/pobj/fpm-0.7.0/bin/install -c -s -m 755"  
BSD_INSTALL_SCRIPT="/pobj/fpm-0.7.0/bin/install -c -m 755"  
BSD_INSTALL_DATA="/pobj/fpm-0.7.0/bin/install -c -m 644"  
BSD_INSTALL_MAN="/pobj/fpm-0.7.0/bin/install -c -m 644"  
BSD_INSTALL_PROGRAM_DIR="/pobj/fpm-0.7.0/bin/install -d -m 755"  
BSD_INSTALL_SCRIPT_DIR="/pobj/fpm-0.7.0/bin/install -d -m 755"  
BSD_INSTALL_DATA_DIR="/pobj/fpm-0.7.0/bin/install -d -m 755"  
BSD_INSTALL_MAN_DIR="/pobj/fpm-0.7.0/bin/install -d -m 755"  gfortran -O2  -o 
"/pobj/fpm-0.7.0/build-i386/stage0/fpm" 
"/pobj/fpm-0.7.0/fpm-0.7.0/fpm-bootstrap.F90";  fi

CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 04:27:52

Modified files:
lang/node/patches: patch-deps_v8_src_base_atomicops_h 

Log message:
sync patch with www/chromium, should fix !LP64 archs



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 02:14:41

Modified files:
security/py-openssl: Makefile distinfo 

Log message:
update to py3-openssl-23.0.0, test failures like before mostly look minor:

- issue with Ed448 key parsing
- strict generalizedtime parsing
- error string difference: 'unable to get issuer certificate' vs
'unable to get local issuer certificate'
- some possibly due to differences in exception handling?
- some difference in get_client_ca_list (root ca included/not)



Re: [NEW] audio/alsa-lib-1.2.8

2023-01-03 Thread Omar Polo
On 2023/01/03 11:25:23 +0900, SASANO Takayoshi  wrote:
> Hi,
> 
> previous ports cannot support alsa-plugin due to libdl detection,
> here is new ports with patch. (the patch is sent same as pull-request at
> https://github.com/alsa-project/alsa-lib/pull/290 )

looked for curiosity; the patch for configure.ac can be simplified a
bit:

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -255,9 +255,8 @@ AC_ARG_WITH(libdl,
   [ have_libdl="$withval" ], [ have_libdl="yes" ])
 HAVE_LIBDL=
 if test "$have_libdl" = "yes"; then
-  AC_CHECK_LIB([dl], [dlsym], [HAVE_LIBDL="yes"])
+  AC_SEARCH_LIBS([dlsym], [dl], [HAVE_LIBDL="yes"])
   if test "$HAVE_LIBDL" = "yes" ; then
-ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
 AC_DEFINE([HAVE_LIBDL], 1, [Have libdl])
   fi
 else

AC_SEARCH_LIBS tries first to see if the functions are provided in
libc and if not tries with the list of libraries provided (`dl' in
this case.)  It works equally well for linux and the BSDs.  (on linux
"-ldl" is automatically added to LIBS and handled by automake, and so
ALSA_DEPLIBS is not needed at all.)

(from a quick look upstream could switch also the other checks to
AC_SEARCH_LIBS and drop ALSA_DEPLIBS entirely.  the only place I'm not
sure is when looking for clock_gettime in -lrt)

I'd add a comment before NO_TESTS since there seem to be a regress
suite, but does not compile.

There are two places in src/pcm/pcm.c where it prints a time_t as it
were `long':


pcm.c:2357:6: warning: format specifies type 'long' but the argument has type 
'time_t' (aka 'long long') [-Wformat]
  status->trigger_tstamp.tv_sec,
  ^
pcm.c:2360:3: warning: format specifies type 'long' but the argument has type 
'time_t' (aka 'long long') [-Wformat]
status->tstamp.tv_sec, status->tstamp.tv_nsec / 1000);
^
2 warnings generated.


could be patched to cast the time_t to `long long' and using the
"%lld" format.

No mean to test it.  Is it required by other ports for compatibility?
Port looks fine to me anyawy.



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 01:56:47

Modified files:
net/toot   : Makefile distinfo 

Log message:
update to toot-0.33.0



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2023/01/03 01:49:22

Modified files:
x11/i3 : Makefile distinfo 
x11/i3/patches : patch-i3-dmenu-desktop patch-meson_build 
 patch-src_bindings_c 
x11/i3/pkg : PLIST 

Log message:
update to i3-4.22, this now has the functionality from i3-gaps
merged in (the separate i3-gaps port is untouched for now)



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2023/01/03 01:40:11

Modified files:
geo/gpxsee : Makefile distinfo 

Log message:
geo/gpxsee: update to 11.11



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2023/01/03 01:39:42

Modified files:
x11/xfce4  : xfce4.port.mk 
x11/xfce4/orage: Makefile 
x11/xfce4/xfce4-mixer: Makefile 
x11/xfce4/xfce4-wavelan: Makefile 
x11/xfce4/xfce4-taskmanager: Makefile 

Log message:
x11/xfce4: tweak previous and readd --enable-maintainer-mode when using 
XFCE_COMMIT

taskmanager failed to build because git-provided tarballs don't contain
c/h code generated from .ui files, which are only generated when
--enable-maintainer-mode is used. Failure reported by ajacoutot@



CVS: cvs.openbsd.org: ports

2023-01-03 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2023/01/03 01:24:29

Modified files:
x11/xkbcommon  : Makefile distinfo 

Log message:
Update to libxkbcommon-1.5.0.