pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/lxqt-globalkeys lxqt-globalkeys: adjust previous L...
details: https://anonhg.NetBSD.org/pkgsrc/rev/511f657f6e8e
branches: trunk
changeset: 391255:511f657f6e8e
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Sat Jan 07 01:26:14 2023 +0000
description:
lxqt-globalkeys: adjust previous LOG_MAKEPRI patch
This is also actually relevant to NetBSD, which defines it incorrectly
(PR lib/57172).
diffstat:
x11/lxqt-globalkeys/Makefile | 4 ++--
x11/lxqt-globalkeys/distinfo | 4 ++--
x11/lxqt-globalkeys/patches/patch-daemon_core.cpp | 16 +++++++++++-----
3 files changed, 15 insertions(+), 9 deletions(-)
diffs (55 lines):
diff -r d8fa87fee7cc -r 511f657f6e8e x11/lxqt-globalkeys/Makefile
--- a/x11/lxqt-globalkeys/Makefile Sat Jan 07 00:50:33 2023 +0000
+++ b/x11/lxqt-globalkeys/Makefile Sat Jan 07 01:26:14 2023 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2023/01/06 02:35:47 gutteridge Exp $
+# $NetBSD: Makefile,v 1.22 2023/01/07 01:26:14 gutteridge Exp $
DISTNAME= lxqt-globalkeys-1.2.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
diff -r d8fa87fee7cc -r 511f657f6e8e x11/lxqt-globalkeys/distinfo
--- a/x11/lxqt-globalkeys/distinfo Sat Jan 07 00:50:33 2023 +0000
+++ b/x11/lxqt-globalkeys/distinfo Sat Jan 07 01:26:14 2023 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.11 2023/01/06 02:35:47 gutteridge Exp $
+$NetBSD: distinfo,v 1.12 2023/01/07 01:26:14 gutteridge Exp $
BLAKE2s (lxqt-globalkeys-1.2.0.tar.xz) = 5a8b8e15213f1dcdbf822e47b36d7a8e6291d903c6b7ab19df507369edb01938
SHA512 (lxqt-globalkeys-1.2.0.tar.xz) = c1270ae03fcb2fd8b8e548898c36d57ead6b5bea62f246a1587f4093a937141c6c7339f838d1f4ff0b9bd9b9c8079ba8cf0229b575d323e6d78e8b7ccc2eb624
Size (lxqt-globalkeys-1.2.0.tar.xz) = 73504 bytes
SHA1 (patch-autostart_CMakeLists.txt) = e5c4b76a3b116ee9b4781783a6ada3838f8e570c
-SHA1 (patch-daemon_core.cpp) = f765304ce23efd0ea2b69f6366453b3410adfc04
+SHA1 (patch-daemon_core.cpp) = 6a8ddb797c39986fe35021e14a6c3c2324b7f189
diff -r d8fa87fee7cc -r 511f657f6e8e x11/lxqt-globalkeys/patches/patch-daemon_core.cpp
--- a/x11/lxqt-globalkeys/patches/patch-daemon_core.cpp Sat Jan 07 00:50:33 2023 +0000
+++ b/x11/lxqt-globalkeys/patches/patch-daemon_core.cpp Sat Jan 07 01:26:14 2023 +0000
@@ -1,14 +1,20 @@
-$NetBSD: patch-daemon_core.cpp,v 1.3 2023/01/06 02:35:47 gutteridge Exp $
+$NetBSD: patch-daemon_core.cpp,v 1.4 2023/01/07 01:26:14 gutteridge Exp $
-Fix SunOS builds.
+Fix SunOS and OpenBSD builds, and work around a bug in NetBSD with the same
+macro (PR lib/57172).
--- daemon/core.cpp.orig 2022-11-05 08:17:16.000000000 +0000
+++ daemon/core.cpp
-@@ -59,6 +59,10 @@
+@@ -59,6 +59,15 @@
#include "core.h"
-
-+#ifndef LOG_MAKEPRI
+
++/*
++ * SunOS and modern OpenBSD don't define this, and NetBSD's version has an
++ * incorrect shift applied (log facilities are already defined with "<<3", it
++ * shouldn't be done a second time).
++ */
++#if !defined(LOG_MAKEPRI) || defined(__NetBSD__)
+#define LOG_MAKEPRI(fac, pri) ((fac) | (pri))
+#endif
+
Home |
Main Index |
Thread Index |
Old Index