pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/threadweaver



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Fri May 13 16:06:46 UTC 2022

Modified Files:
        pkgsrc/devel/threadweaver: distinfo
Added Files:
        pkgsrc/devel/threadweaver/patches:
            patch-examples_ThumbNailer_AverageLoadManager.cpp

Log Message:
threadweaver: SunOS needs sys/loadavg.h for getloadavg().


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/threadweaver/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp

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

Modified files:

Index: pkgsrc/devel/threadweaver/distinfo
diff -u pkgsrc/devel/threadweaver/distinfo:1.14 pkgsrc/devel/threadweaver/distinfo:1.15
--- pkgsrc/devel/threadweaver/distinfo:1.14     Mon Apr 25 05:32:12 2022
+++ pkgsrc/devel/threadweaver/distinfo  Fri May 13 16:06:46 2022
@@ -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

Added files:

Index: pkgsrc/devel/threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp
diff -u /dev/null pkgsrc/devel/threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp:1.1
--- /dev/null   Fri May 13 16:06:46 2022
+++ pkgsrc/devel/threadweaver/patches/patch-examples_ThumbNailer_AverageLoadManager.cpp Fri May 13 16:06:46 2022
@@ -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