pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/qore-process-module



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  4 00:26:42 UTC 2026

Modified Files:
        pkgsrc/devel/qore-process-module: Makefile distinfo
Added Files:
        pkgsrc/devel/qore-process-module/patches:
            patch-3rd__party_boost_asio_detail_impl_kqueue__reactor.ipp
            patch-3rd__party_boost_process_detail_posix_handles.hpp

Log Message:
qore-process-module: fix build on NetBSD-current


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/qore-process-module/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/qore-process-module/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_asio_detail_impl_kqueue__reactor.ipp \
    pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_process_detail_posix_handles.hpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/qore-process-module/Makefile
diff -u pkgsrc/devel/qore-process-module/Makefile:1.10 pkgsrc/devel/qore-process-module/Makefile:1.11
--- pkgsrc/devel/qore-process-module/Makefile:1.10      Sat Sep 27 09:57:15 2025
+++ pkgsrc/devel/qore-process-module/Makefile   Sun Jan  4 00:26:42 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2025/09/27 09:57:15 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2026/01/04 00:26:42 wiz Exp $
 
 DISTNAME=      qore-process-module-1.0.5
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=qorelanguage/module-process/releases/download/v${PKGVERSION_NOREV}/}
 EXTRACT_SUFX=  .tar.bz2
@@ -19,7 +19,8 @@ CMAKE_CONFIGURE_ARGS+=        -DCMAKE_POLICY_VE
 
 .include "../../lang/qore/module.mk"
 
-.include "../../devel/boost-libs/buildlink3.mk"
+# does not support current boost version, uses included copy - re-check on update
+#.include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
 .include "../../lang/qore/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/qore-process-module/distinfo
diff -u pkgsrc/devel/qore-process-module/distinfo:1.2 pkgsrc/devel/qore-process-module/distinfo:1.3
--- pkgsrc/devel/qore-process-module/distinfo:1.2       Fri Sep 22 08:20:03 2023
+++ pkgsrc/devel/qore-process-module/distinfo   Sun Jan  4 00:26:42 2026
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.2 2023/09/22 08:20:03 nros Exp $
+$NetBSD: distinfo,v 1.3 2026/01/04 00:26:42 wiz Exp $
 
 BLAKE2s (qore-process-module-1.0.5.tar.bz2) = f46e78735e354dad25e646dbf4b4b46c71209e0cd2efa495ed7ee08b7d9bd156
 SHA512 (qore-process-module-1.0.5.tar.bz2) = 3531b2bd864f58fbd7786abe0a26835c1e5fd0c71bc88fe5f376845ed30fb9009649e0fca3bc1a6abf3a327b33dbbb4115eed476372feacf395b40ed8a4200a4
 Size (qore-process-module-1.0.5.tar.bz2) = 2174282 bytes
+SHA1 (patch-3rd__party_boost_asio_detail_impl_kqueue__reactor.ipp) = 6309177906784399d10e8131bf49c64839cf588d
+SHA1 (patch-3rd__party_boost_process_detail_posix_handles.hpp) = bb11b752abf2ca6962764cb8e8e5074e0b045d44
 SHA1 (patch-CMakeLists.txt) = 6094854a676dfa0336c6e8d038ef820058246a9c
 SHA1 (patch-cmake_unix-config.h.cmake) = c266b42823abbd17449befdacf9510d3e2641fca
 SHA1 (patch-src_QC__Process.qpp) = f83d381e52d3ef676d586a6df0b1e81fe6a68109

Added files:

Index: pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_asio_detail_impl_kqueue__reactor.ipp
diff -u /dev/null pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_asio_detail_impl_kqueue__reactor.ipp:1.1
--- /dev/null   Sun Jan  4 00:26:42 2026
+++ pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_asio_detail_impl_kqueue__reactor.ipp        Sun Jan  4 00:26:42 2026
@@ -0,0 +1,19 @@
+$NetBSD: patch-3rd__party_boost_asio_detail_impl_kqueue__reactor.ipp,v 1.1 2026/01/04 00:26:42 wiz Exp $
+
+--- 3rd_party/boost/asio/detail/impl/kqueue_reactor.ipp.orig   2026-01-04 00:22:14.679908300 +0000
++++ 3rd_party/boost/asio/detail/impl/kqueue_reactor.ipp
+@@ -27,14 +27,8 @@
+ 
+ #include <boost/asio/detail/push_options.hpp>
+ 
+-#if defined(__NetBSD__)
+-# define BOOST_ASIO_KQUEUE_EV_SET(ev, ident, filt, flags, fflags, data, udata) \
+-    EV_SET(ev, ident, filt, flags, fflags, data, \
+-      reinterpret_cast<intptr_t>(static_cast<void*>(udata)))
+-#else
+ # define BOOST_ASIO_KQUEUE_EV_SET(ev, ident, filt, flags, fflags, data, udata) \
+     EV_SET(ev, ident, filt, flags, fflags, data, udata)
+-#endif
+ 
+ namespace boost {
+ namespace asio {
Index: pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_process_detail_posix_handles.hpp
diff -u /dev/null pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_process_detail_posix_handles.hpp:1.1
--- /dev/null   Sun Jan  4 00:26:42 2026
+++ pkgsrc/devel/qore-process-module/patches/patch-3rd__party_boost_process_detail_posix_handles.hpp    Sun Jan  4 00:26:42 2026
@@ -0,0 +1,22 @@
+$NetBSD: patch-3rd__party_boost_process_detail_posix_handles.hpp,v 1.1 2026/01/04 00:26:42 wiz Exp $
+
+--- 3rd_party/boost/process/detail/posix/handles.hpp.orig      2021-09-10 09:36:53.000000000 +0000
++++ 3rd_party/boost/process/detail/posix/handles.hpp
+@@ -31,7 +31,7 @@ inline std::vector<native_handle_type> g
+     else
+         ec.clear();
+ 
+-    auto my_fd = ::dirfd(dir.get());
++    auto my_fd = dirfd(dir.get());
+ 
+     struct ::dirent * ent_p;
+ 
+@@ -115,7 +115,7 @@ struct limit_handles_ : handler_base_ext
+             return;
+         }
+ 
+-        auto my_fd = ::dirfd(dir);
++        auto my_fd = dirfd(dir);
+         struct ::dirent * ent_p;
+ 
+         while ((ent_p = readdir(dir)) != nullptr)



Home | Main Index | Thread Index | Old Index