summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-09-08 15:08:14 +0000
committerwiz <wiz@pkgsrc.org>2014-09-08 15:08:14 +0000
commit64f097ab4842fba89b7c2807d756529d8344a711 (patch)
tree44e2a7968c8bd0825b1b95bf289d827df49e39d9
parentb0ab5bfd230c0670a697b2acd6233d53ba149657 (diff)
downloadpkgsrc-64f097ab4842fba89b7c2807d756529d8344a711.tar.gz
Include cstddef for size_t. Fixes build on NetBSD-7.99.1.
-rw-r--r--graphics/kdegraphics3/distinfo4
-rw-r--r--graphics/kdegraphics3/patches/patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h16
2 files changed, 7 insertions, 13 deletions
diff --git a/graphics/kdegraphics3/distinfo b/graphics/kdegraphics3/distinfo
index 2c578deaf88..8f616377c33 100644
--- a/graphics/kdegraphics3/distinfo
+++ b/graphics/kdegraphics3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.58 2014/01/09 20:11:27 jperkin Exp $
+$NetBSD: distinfo,v 1.59 2014/09/08 15:08:14 wiz Exp $
SHA1 (kdegraphics-3.5.10.tar.bz2) = 9634e3ab364d017152fb6d636efad8811aeec6c3
RMD160 (kdegraphics-3.5.10.tar.bz2) = 94278e4419ab99885fc9efae9b6ba5ba787f831e
@@ -20,4 +20,4 @@ SHA1 (patch-kpdf_xpdf_goo_GString.cc) = 41c2c6f21cee5c62e324a760cbbea1a474e08fde
SHA1 (patch-ksvg_impl_libs_libtext2path_src_Converter.cpp) = 4a1588c91e94c09862e2b702c357b8c478d19add
SHA1 (patch-kviewshell_documentWidget.cpp) = 605f44f574f8391b9947424d0fee926bc2f7a494
SHA1 (patch-kviewshell_plugins_djvu_libdjvu_GContainer.h) = ba805be065c9eb38b865d969e291ab5bb49b1798
-SHA1 (patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h) = 7eefdd49015abe79f5bd9c86a40c2c060ae572f5
+SHA1 (patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h) = 636698645b10afe95b7b50b94a14d3f1edbd9928
diff --git a/graphics/kdegraphics3/patches/patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h b/graphics/kdegraphics3/patches/patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h
index 84bf5a075b2..45de28eb5bf 100644
--- a/graphics/kdegraphics3/patches/patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h
+++ b/graphics/kdegraphics3/patches/patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h
@@ -1,17 +1,11 @@
-$NetBSD: patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h,v 1.1 2014/01/09 20:11:27 jperkin Exp $
+$NetBSD: patch-kviewshell_plugins_djvu_libdjvu_GSmartPointer.h,v 1.2 2014/09/08 15:08:14 wiz Exp $
-Include sys/types.h for size_t on SunOS
+Include cstddef for size_t.
--- kviewshell/plugins/djvu/libdjvu/GSmartPointer.h.orig 2005-09-10 08:19:20.000000000 +0000
+++ kviewshell/plugins/djvu/libdjvu/GSmartPointer.h
-@@ -99,6 +99,10 @@
+@@ -56,2 +56,4 @@
- #include "DjVuGlobal.h"
-
-+#ifdef __sun
-+#include <sys/types.h>
-+#endif
++#include <cstddef>
+
- #ifdef HAVE_NAMESPACES
- namespace DJVU {
- # ifdef NOT_DEFINED // Just to fool emacs c++ mode
+ #ifndef _GSMARTPOINTER_H_