summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authormartti <martti>2008-05-05 05:25:20 +0000
committermartti <martti>2008-05-05 05:25:20 +0000
commit8b4a3bbc082b303971f4cd62cfd478f10aca3ff2 (patch)
treeba9fd689bc7be2a8a715844dd4702376b97c872d /databases
parent16b6440fd185a7f14a2a65268a538c938732e7b2 (diff)
downloadpkgsrc-8b4a3bbc082b303971f4cd62cfd478f10aca3ff2.tar.gz
Fix pkg/38555. Patches provided by NAKAJI Hiroyuki and reviewed by the rrdtool
author Tobias Oetiker.
Diffstat (limited to 'databases')
-rw-r--r--databases/rrdtool/distinfo4
-rw-r--r--databases/rrdtool/patches/patch-aa26
-rw-r--r--databases/rrdtool/patches/patch-ab30
3 files changed, 59 insertions, 1 deletions
diff --git a/databases/rrdtool/distinfo b/databases/rrdtool/distinfo
index 9516207d91e..dd2fd3d7ad3 100644
--- a/databases/rrdtool/distinfo
+++ b/databases/rrdtool/distinfo
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.25 2008/04/14 16:05:35 he Exp $
+$NetBSD: distinfo,v 1.26 2008/05/05 05:25:20 martti Exp $
SHA1 (rrdtool-1.2.27.tar.gz) = 15028b65be68da83602f7479405dffb1eef819ec
RMD160 (rrdtool-1.2.27.tar.gz) = ee01b9cd52a9dbf42c6ac8d9259bdcfcd036b112
Size (rrdtool-1.2.27.tar.gz) = 1081450 bytes
+SHA1 (patch-aa) = cb7129fcb30ca961c824204975fc9481ab7bb1e9
+SHA1 (patch-ab) = 01cb2f7f19925b7ac8693239d03df78fe604e381
SHA1 (patch-al) = f4e8687e8d92347373646c0db344911420203f84
SHA1 (patch-as) = aa48dbc38ae23493b8ff700fabf90d6e0f3f1d5a
SHA1 (patch-av) = 2e2a626c8bbc78671ff7e834cb229f4a1b0c35c3
diff --git a/databases/rrdtool/patches/patch-aa b/databases/rrdtool/patches/patch-aa
new file mode 100644
index 00000000000..e2257353b17
--- /dev/null
+++ b/databases/rrdtool/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.11 2008/05/05 05:25:20 martti Exp $
+
+--- src/rrd_getopt.c.orig 2008-02-17 12:26:32.000000000 +0200
++++ src/rrd_getopt.c 2008-05-05 08:18:08.000000000 +0300
+@@ -30,10 +30,6 @@
+ #define _NO_PROTO
+ #endif
+
+-#ifdef HAVE_CONFIG_H
+-#include "../rrd_config.h"
+-#endif
+-
+ #if !defined (__STDC__) || !__STDC__
+ /* This is a separate conditional since some stdc systems
+ reject `defined (const)'. */
+@@ -42,6 +38,10 @@
+ #endif
+ #endif
+
++#ifdef HAVE_CONFIG_H
++#include "../rrd_config.h"
++#endif
++
+ #include <stdio.h>
+
+ /* Comment out all this code if we are using the GNU C Library, and are not
diff --git a/databases/rrdtool/patches/patch-ab b/databases/rrdtool/patches/patch-ab
new file mode 100644
index 00000000000..31bbf5024e4
--- /dev/null
+++ b/databases/rrdtool/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.9 2008/05/05 05:25:20 martti Exp $
+
+--- src/rrd_getopt1.c.orig 2008-02-17 12:26:32.000000000 +0200
++++ src/rrd_getopt1.c 2008-05-05 08:18:29.000000000 +0300
+@@ -19,12 +19,6 @@
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+-#ifdef HAVE_CONFIG_H
+-#include "../rrd_config.h"
+-#endif
+-
+-#include "rrd_getopt.h"
+-
+ #if !defined (__STDC__) || !__STDC__
+ /* This is a separate conditional since some stdc systems
+ reject `defined (const)'. */
+@@ -33,6 +27,12 @@
+ #endif
+ #endif
+
++#ifdef HAVE_CONFIG_H
++#include "../rrd_config.h"
++#endif
++
++#include "rrd_getopt.h"
++
+ #include <stdio.h>
+
+ /* Comment out all this code if we are using the GNU C Library, and are not