pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/djvulibre-lib Include sys/types.h for size_t.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a688c77a12c4
branches:  trunk
changeset: 601501:a688c77a12c4
user:      hans <hans%pkgsrc.org@localhost>
date:      Wed Mar 21 20:03:31 2012 +0000

description:
Include sys/types.h for size_t.

diffstat:

 graphics/djvulibre-lib/distinfo                              |   3 +-
 graphics/djvulibre-lib/patches/patch-libjdvu_GSmartPointer.h |  15 ++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 825022050f0c -r a688c77a12c4 graphics/djvulibre-lib/distinfo
--- a/graphics/djvulibre-lib/distinfo   Wed Mar 21 19:58:47 2012 +0000
+++ b/graphics/djvulibre-lib/distinfo   Wed Mar 21 20:03:31 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2011/10/27 10:32:56 ryoon Exp $
+$NetBSD: distinfo,v 1.10 2012/03/21 20:03:31 hans Exp $
 
 SHA1 (djvulibre-3.5.24.tar.gz) = 075d1d4a333a2fe74e4c9240d853be016e27e983
 RMD160 (djvulibre-3.5.24.tar.gz) = cee93324ecfa7d832f29f390b4e8d82424b9eed0
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 5e8f6d3b925da3a2a09b87a05d2b9564f9c2e7b4
 SHA1 (patch-ac) = 0c713031903aade12eda1d898595798a1468fd0a
 SHA1 (patch-ad) = 7fe0f2d2b7c242c44720e9b4b76aa665d2551e6b
+SHA1 (patch-libjdvu_GSmartPointer.h) = ff6acc69b0d3dc4cf00ad7c9a9863778ad33724f
diff -r 825022050f0c -r a688c77a12c4 graphics/djvulibre-lib/patches/patch-libjdvu_GSmartPointer.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/djvulibre-lib/patches/patch-libjdvu_GSmartPointer.h      Wed Mar 21 20:03:31 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libjdvu_GSmartPointer.h,v 1.1 2012/03/21 20:03:31 hans Exp $
+
+--- libdjvu/GSmartPointer.h.orig       2011-03-06 18:43:17.000000000 +0100
++++ libdjvu/GSmartPointer.h    2012-03-21 20:54:17.483636113 +0100
+@@ -97,6 +97,10 @@
+ #include "DjVuGlobal.h"
+ #include "atomic.h"
+ 
++#if defined(HAVE_SYS_TYPES_H)
++#include <sys/types.h>
++#endif
++
+ #ifdef HAVE_NAMESPACES
+ namespace DJVU {
+ # ifdef NOT_DEFINED // Just to fool emacs c++ mode



Home | Main Index | Thread Index | Old Index