pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/kdelibs4



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Aug 17 18:51:09 UTC 2022

Modified Files:
        pkgsrc/x11/kdelibs4: distinfo
Added Files:
        pkgsrc/x11/kdelibs4/patches: patch-kdeui_util_kpixmapcache.cpp

Log Message:
kdelibs4: remove unused legacy madvise(2) prototype


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/x11/kdelibs4/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/x11/kdelibs4/patches/patch-kdeui_util_kpixmapcache.cpp

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

Modified files:

Index: pkgsrc/x11/kdelibs4/distinfo
diff -u pkgsrc/x11/kdelibs4/distinfo:1.59 pkgsrc/x11/kdelibs4/distinfo:1.60
--- pkgsrc/x11/kdelibs4/distinfo:1.59   Tue Oct 26 11:34:02 2021
+++ pkgsrc/x11/kdelibs4/distinfo        Wed Aug 17 18:51:09 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.59 2021/10/26 11:34:02 nia Exp $
+$NetBSD: distinfo,v 1.60 2022/08/17 18:51:09 tnn Exp $
 
 BLAKE2s (kdelibs-4.14.38.tar.xz) = 1b2445541c6dc1ce334f888950ea0a6bf994d642eb4db034001f8394335a4b4a
 SHA512 (kdelibs-4.14.38.tar.xz) = 54fbbb9b2f12a47d5aca21c152164ed03cc6a6619bf285e2b93c8e9260042ffd728ef41e1badb217e552de6478687cab5d3caf14af7b32da8caca3468d469e45
@@ -22,6 +22,7 @@ SHA1 (patch-kdecore_network_ConfigureChe
 SHA1 (patch-kdecore_tests_CMakeLists.txt) = bbe806b078f54201528c86489d3ac200145a8d2f
 SHA1 (patch-kdecore_util_kshareddatacache_p.h) = 6d064fe75fbecd489b0343960333864c717c0805
 SHA1 (patch-kdeui_icons_kiconcache.cpp) = c360192afd21efedc6dad8a6ccdd61573ee0dbac
+SHA1 (patch-kdeui_util_kpixmapcache.cpp) = 676984f352b91fe1aa2557cd2d3fe63994262f9f
 SHA1 (patch-khtml_dom_dom2_traversal.h) = b001fc3825fcfea8f25b7219057e59d5b87723e4
 SHA1 (patch-khtml_misc_AtomicString.cpp) = eff036bcd09e031651eba1e3a2136e313d184f2b
 SHA1 (patch-kimgio_jp2.cpp) = 165ff6b2e6176366739c78c1ca9dc2065c2d008d

Added files:

Index: pkgsrc/x11/kdelibs4/patches/patch-kdeui_util_kpixmapcache.cpp
diff -u /dev/null pkgsrc/x11/kdelibs4/patches/patch-kdeui_util_kpixmapcache.cpp:1.1
--- /dev/null   Wed Aug 17 18:51:09 2022
+++ pkgsrc/x11/kdelibs4/patches/patch-kdeui_util_kpixmapcache.cpp       Wed Aug 17 18:51:09 2022
@@ -0,0 +1,20 @@
+$NetBSD: patch-kdeui_util_kpixmapcache.cpp,v 1.1 2022/08/17 18:51:09 tnn Exp $
+
+Remove unused legacy madvise(2) prototype.
+The code already uses posix_madvise(2) unconditionally.
+
+--- kdeui/util/kpixmapcache.cpp.orig   2017-11-05 01:51:22.000000000 +0000
++++ kdeui/util/kpixmapcache.cpp
+@@ -58,12 +58,6 @@
+ 
+ //#define DISABLE_PIXMAPCACHE
+ 
+-#ifdef Q_OS_SOLARIS
+-#ifndef _XPG_4_2
+-extern "C" int madvise(caddr_t addr, size_t len, int advice);
+-#endif
+-#endif
+-
+ #define KPIXMAPCACHE_VERSION 0x000208
+ 
+ namespace {



Home | Main Index | Thread Index | Old Index