logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: f3381bb880a2379d9c3763d3237d60bfd723abc7
parent 8321983fa25743a601d758dd19ed702f11d9fec7
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 28 Apr 2025 23:26:53 -0700

acpid: Update to 2.0.34

Diffstat:

Mpkg/acpid/config.h65+++++++++++++++++++++++++++++++++++++++++++++++++++++------------
Dpkg/acpid/patch/0006-Remove-use-of-LFS64.patch27---------------------------
Mpkg/acpid/ver2+-
3 files changed, 54 insertions(+), 40 deletions(-)

diff --git a/pkg/acpid/config.h b/pkg/acpid/config.h @@ -12,8 +12,8 @@ /* #undef HAVE_ISFDTYPE */ #define HAVE_MALLOC 1 #define HAVE_MALLOC_H 1 -#define HAVE_MEMORY_H 1 #define HAVE_MEMSET 1 +/* #undef HAVE_MINIX_CONFIG_H */ #define HAVE_NETINET_IN_H 1 #define HAVE_OPENAT 1 #define HAVE_REALLOC 1 @@ -21,6 +21,7 @@ #define HAVE_SELECT 1 #define HAVE_SOCKET 1 #define HAVE_STDINT_H 1 +#define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 @@ -37,40 +38,80 @@ #define HAVE_UNISTD_H 1 #define HAVE_VFORK 1 /* #undef HAVE_VFORK_H */ +#define HAVE_WCHAR_H 1 #define HAVE_WORKING_FORK 1 #define HAVE_WORKING_VFORK 1 #define PACKAGE "acpid" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "acpid" -#define PACKAGE_STRING "acpid 2.0.33" +#define PACKAGE_STRING "acpid 2.0.34" #define PACKAGE_TARNAME "acpid" #define PACKAGE_URL "" -#define PACKAGE_VERSION "2.0.33" +#define PACKAGE_VERSION "2.0.34" #define STDC_HEADERS 1 #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif +#ifndef _DARWIN_C_SOURCE +# define _DARWIN_C_SOURCE 1 +#endif +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# define _HPUX_ALT_XOPEN_SOCKET_API 1 +#endif +#ifndef _MINIX +/* # undef _MINIX */ +#endif +#ifndef _NETBSD_SOURCE +# define _NETBSD_SOURCE 1 +#endif +#ifndef _OPENBSD_SOURCE +# define _OPENBSD_SOURCE 1 +#endif +#ifndef _POSIX_SOURCE +/* # undef _POSIX_SOURCE */ +#endif +#ifndef _POSIX_1_SOURCE +/* # undef _POSIX_1_SOURCE */ +#endif #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 +#endif +#ifndef __STDC_WANT_LIB_EXT2__ +# define __STDC_WANT_LIB_EXT2__ 1 +#endif +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 +#endif #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif -#define VERSION "2.0.33" -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 +#ifndef _XOPEN_SOURCE +/* # undef _XOPEN_SOURCE */ #endif +#define VERSION "2.0.34" /* #undef _FILE_OFFSET_BITS */ /* #undef _LARGE_FILES */ -/* #undef _MINIX */ -/* #undef _POSIX_1_SOURCE */ -/* #undef _POSIX_SOURCE */ /* #undef mode_t */ /* #undef pid_t */ /* #undef size_t */ diff --git a/pkg/acpid/patch/0006-Remove-use-of-LFS64.patch b/pkg/acpid/patch/0006-Remove-use-of-LFS64.patch @@ -1,27 +0,0 @@ -From 28084c052c3d487e97fb16c99b02e2d02607ddd5 Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Sun, 2 Jul 2023 18:13:27 -0700 -Subject: [PATCH] Remove use of LFS64 - ---- - sock.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/sock.c b/sock.c -index 9e04501..3121fb7 100644 ---- a/sock.c -+++ b/sock.c -@@ -54,8 +54,8 @@ int non_root_clients; - static int - isfdtype(int fd, int fdtype) - { -- struct stat64 st; -- if (fstat64(fd, &st) != 0) -+ struct stat st; -+ if (fstat(fd, &st) != 0) - return -1; - return ((st.st_mode & S_IFMT) == (mode_t)fdtype); - } --- -2.37.3 - diff --git a/pkg/acpid/ver b/pkg/acpid/ver @@ -1 +1 @@ -2.0.34 r1 +2.0.34-2-g81df3ad695 r0