diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-08-02 11:43:08 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-08-02 11:43:08 +0000 |
commit | 5dce424a1a263fa85c6fb8ea295f5e2480233e73 (patch) | |
tree | b3f247b542ac5c4a1204f19355c66c77af3041b2 /x11/kdelibs3 | |
parent | b22f8e1f096e0927a24209f7d16497867d386b1c (diff) | |
download | pkgsrc-5dce424a1a263fa85c6fb8ea295f5e2480233e73.tar.gz |
Include cmath for an abs() implementation which accepts a 'double' argument.
Fixes build on at least Solaris.
Diffstat (limited to 'x11/kdelibs3')
-rw-r--r-- | x11/kdelibs3/distinfo | 3 | ||||
-rw-r--r-- | x11/kdelibs3/patches/patch-kate_part_katebuffer.cpp | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/kdelibs3/distinfo b/x11/kdelibs3/distinfo index c605d76cdd3..2bd86f4ebdd 100644 --- a/x11/kdelibs3/distinfo +++ b/x11/kdelibs3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.103 2012/03/04 08:38:39 shattered Exp $ +$NetBSD: distinfo,v 1.104 2012/08/02 11:43:08 jperkin Exp $ SHA1 (kdelibs-3.5.10.tar.bz2) = c930a25f4419134def55b8466c3a6f737227fb82 RMD160 (kdelibs-3.5.10.tar.bz2) = 4c960664283c83ebc8e68932ca9044336fcff223 @@ -31,4 +31,5 @@ SHA1 (patch-da) = ac1888a52f22ac81c0fb51dda48c8e168516a229 SHA1 (patch-db) = bba958ba9f3059074fd97174dacab2bf47801fa8 SHA1 (patch-dc) = 3d6971b13599ac7acce9d63b76a8813e9c87bc96 SHA1 (patch-dd) = 16c5972250c867cf87e959287fdbedd94e9bfd8c +SHA1 (patch-kate_part_katebuffer.cpp) = bc5bf102cb5d843622878816d432019aa4811d05 SHA1 (patch-kdeui-kaboutdialog.cpp) = 589fcc61547d98efa06231340bbf3eb3f7ed59cf diff --git a/x11/kdelibs3/patches/patch-kate_part_katebuffer.cpp b/x11/kdelibs3/patches/patch-kate_part_katebuffer.cpp new file mode 100644 index 00000000000..80cfb1465f7 --- /dev/null +++ b/x11/kdelibs3/patches/patch-kate_part_katebuffer.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-kate_part_katebuffer.cpp,v 1.1 2012/08/02 11:43:09 jperkin Exp $ + +Include the abs() implementation which takes a 'double' argument. + +--- kate/part/katebuffer.cpp.orig Thu Aug 2 10:37:49 2012 ++++ kate/part/katebuffer.cpp Thu Aug 2 11:35:57 2012 +@@ -21,6 +21,8 @@ + #include <sys/stat.h> + #include <unistd.h> + ++#include <cmath> ++ + #include "katebuffer.h" + #include "katebuffer.moc" + |