pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/threadweaver threadweaver: SunOS needs sys/loada...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e019f8c9db96
branches: trunk
changeset: 379261:e019f8c9db96
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri May 13 16:06:46 2022 +0000
description:
threadweaver: SunOS needs sys/loadavg.h for getloadavg().
diffstat:
devel/threadweaver/distinfo | 3 +-
devel/threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp | 15 ++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 46f86e8b0cb1 -r e019f8c9db96 devel/threadweaver/distinfo
--- a/devel/threadweaver/distinfo Fri May 13 16:04:23 2022 +0000
+++ b/devel/threadweaver/distinfo Fri May 13 16:06:46 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2022/04/25 05:32:12 markd Exp $
+$NetBSD: distinfo,v 1.15 2022/05/13 16:06:46 jperkin Exp $
BLAKE2s (threadweaver-5.93.0.tar.xz) = 02893b9d0b90fe1ccc91d648d061ce60449d043b2f269c7ef21eb3cfc41e67dc
SHA512 (threadweaver-5.93.0.tar.xz) = 793aa5b95106a402ba384e0d603b3ff5f80bdc0567bb23dbf0ba0fe6a9dc2ecc435c10c79a84ff62ac86b132f298e6a27d93475f30d14850748df34eab89f768
Size (threadweaver-5.93.0.tar.xz) = 1412636 bytes
+SHA1 (patch-examples_ThumbNailer_AverageLoadManager.cpp) = a5aa7c2839ece6a213f8c70cc1ec8dd92fc55986
diff -r 46f86e8b0cb1 -r e019f8c9db96 devel/threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp Fri May 13 16:06:46 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-examples_ThumbNailer_AverageLoadManager.cpp,v 1.1 2022/05/13 16:06:46 jperkin Exp $
+
+SunOS needs sys/loadavg.h for getloadavg().
+
+--- examples/ThumbNailer/AverageLoadManager.cpp.orig 2022-04-02 10:06:45.000000000 +0000
++++ examples/ThumbNailer/AverageLoadManager.cpp
+@@ -1,3 +1,8 @@
++#ifdef __sun
++#include <sys/time.h>
++#include <sys/loadavg.h>
++#endif
++
+ #ifdef Q_OS_UNIX
+ #include <stdlib.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index