summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77bd615)
raw | patch | inline | side by side (parent: 77bd615)
author | Bernd Zeimetz <bernd@bzed.de> | |
Tue, 24 Jan 2012 22:20:35 +0000 (23:20 +0100) | ||
committer | Bernd Zeimetz <bernd@bzed.de> | |
Tue, 24 Jan 2012 22:20:35 +0000 (23:20 +0100) |
diff --git a/debian/patches/bts428778-floating-point-exception b/debian/patches/bts428778-floating-point-exception
index 613f1eae439e35ee5d86a57b5ee3c3402266b1ca..9878ac32b27232417a468fab441127fa1ad5fa38 100644 (file)
diff a/src/rrd_create.c b/src/rrd_create.c
--- a/src/rrd_create.c
+++ b/src/rrd_create.c
-@@ -740,6 +740,15 @@ int rrd_create_fn(
+@@ -771,6 +771,15 @@ int rrd_create_fn(
default:
/* can not be zero because we don't know anything ... */
rrd->cdp_prep->scratch[CDP_val].u_val = DNAN;
index 8e8941d02e1eaf5e1d03da41991b503b31ebdcc6..de4a0be833a8c99b0c66b91e8f41554b3fe356c6 100644 (file)
diff a/src/rrd_graph.c /src/rrd_graph.c
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
-@@ -3697,6 +3697,7 @@
- image_desc_t im;
+@@ -3958,6 +3958,7 @@ rrd_info_t *rrd_graph_v(
rrd_info_t *grinfo;
+ char *old_locale;
rrd_graph_init(&im);
+ size_t graphfile_len;
/* a dummy surface so that we can measure text sizes for placements */
-
- rrd_graph_options(argc, argv, &im);
-@@ -3713,7 +3714,9 @@
+ old_locale = setlocale(LC_NUMERIC, NULL);
+ setlocale(LC_NUMERIC, "C");
+@@ -3975,7 +3976,9 @@ rrd_info_t *rrd_graph_v(
return NULL;
}
rrd_set_error("filename (including path) too long");
rrd_info_free(im.grinfo);
im_free(&im);
-@@ -3722,6 +3725,16 @@
+@@ -3984,6 +3987,16 @@ rrd_info_t *rrd_graph_v(
strncpy(im.graphfile, argv[optind], MAXPATH - 1);
im.graphfile[MAXPATH - 1] = '\0';
if (strcmp(im.graphfile, "-") == 0) {
im.graphfile[0] = '\0';
-diff a/src/rrd_graph.h b/src/rrd_graph.h
--- a/src/rrd_graph.h
+++ b/src/rrd_graph.h
-@@ -196,7 +196,11 @@
+@@ -206,7 +206,11 @@ typedef struct image_desc_t {
/* configuration of graph */
long xsize, ysize; /* graph area size in pixels */
struct gfx_color_t graph_col[__GRC_END__]; /* real colors for the graph */
text_prop_t text_prop[TEXT_PROP_LAST]; /* text properties */
-diff a/src/rrd_tool.c b/src/rrd_tool.c
--- a/src/rrd_tool.c
+++ b/src/rrd_tool.c
-@@ -555,7 +555,11 @@
+@@ -576,7 +576,11 @@ int HandleInputLine(
printf("ERROR: invalid parameter count for pwd\n");
return (1);
}
diff --git a/debian/patches/bts625631-gcc4.5 b/debian/patches/bts625631-gcc4.5
+++ /dev/null
@@ -1,10 +0,0 @@
-diff a/src/rrd_format.h b/src/rrd_format.h\r
---- a/src/rrd_format.h\r
-+++ b/src/rrd_format.h\r
-@@ -36,5 +36,5 @@\r
- #define RRD_VERSION "0004"\r
- #define RRD_VERSION3 "0003"\r
--#define FLOAT_COOKIE 8.642135E130\r
-+#define FLOAT_COOKIE ((double)8.642135E130)\r
- \r
- typedef union unival {\r
index fc3d53bedddf8e5c8a769ab1a5b1804d2d03ddef..4056580ec5de3f7c7737538e54f3c3e7b4878e9d 100644 (file)
diff a/src/rrd_tool.c b/src/rrd_tool.c
--- a/src/rrd_tool.c
+++ b/src/rrd_tool.c
-@@ -12,6 +12,8 @@
+@@ -16,6 +16,8 @@
#endif
#endif
index ad53e6343cd953ed44ec8a11c9d494e5c61771ae..c945a0b8185953d773903468364edf878b35cb23 100644 (file)
diff a/bindings/perl-shared/Makefile.PL b/bindings/perl-shared/Makefile.PL
--- a/bindings/perl-shared/Makefile.PL
+++ b/bindings/perl-shared/Makefile.PL
-@@ -3,27 +3,7 @@ use Config;
- # See lib/ExtUtils/MakeMaker.pm for details of how to influence
- # the contents of the Makefile that is written.
-
--# if the last argument when calling Makefile.PL is RPATH=/... and ... is the
--# path to librrd.so then the Makefile will be written such that RRDs.so knows
--# where to find librrd.so later on ...
- my $R="";
--if ($ARGV[-1] =~ /RPATH=(\S+)/){
-- pop @ARGV;
-- my $rp = $1;
-- for ($^O){
-- /linux/ && do{ $R = "-Wl,--rpath -Wl,$rp"};
-- /hpux/ && do{ $R = "+b$rp"};
-- /solaris/ && do{ $R = "-R$rp"};
-- /bsd/ && do{ $R = "-R$rp"};
-- /aix/ && do{ $R = "-Wl,-blibpath:$rp"};
+@@ -20,26 +20,7 @@ if (($Config{'osname'} eq 'MSWin32' && $
+ ) : ()
+ );
+ }else{
+- # if the last argument when calling Makefile.PL is RPATH=/... and ... is the
+- # path to librrd.so then the Makefile will be written such that RRDs.so knows
+- # where to find librrd.so later on ...
+ my $R="";
+- if ($ARGV[-1] =~ /RPATH=(\S+)/){
+- pop @ARGV;
+- my $rp = $1;
+- for ($^O){
+- /linux/ && do{ $R = "-Wl,--rpath -Wl,$rp"};
+- /hpux/ && do{ $R = "+b$rp"};
+- /solaris/ && do{ $R = "-R$rp"};
+- /bsd/ && do{ $R = "-R$rp"};
+- /aix/ && do{ $R = "-blibpath:$rp"};
+- }
- }
--}
-
--# darwin works without this because librrd contains its
--# install_name which will includes the final location of the
--# library after it is installed. This install_name gets transfered
--# to the perl shared object.
--
- my $librrd;
- if ($^O eq 'darwin'){
+- # darwin works without this because librrd contains its
+- # install_name which will includes the final location of the
+- # library after it is installed. This install_name gets transfered
+- # to the perl shared object.
+ my $librrd;
+ if ($^O eq 'darwin'){
$librrd = '-lrrd';
index 3d98ba7e7f8be3a154eda327ca7222c4f492772a..3a7264450df3503e325e0781335e739de997b53b 100644 (file)
-Index: rrdtool/bindings/ruby/extconf.rb
-===================================================================
---- rrdtool.orig/bindings/ruby/extconf.rb 2008-02-10 14:43:00.000000000 +0100
-+++ rrdtool/bindings/ruby/extconf.rb 2008-02-10 14:43:08.000000000 +0100
-@@ -3,9 +3,7 @@
+--- a/bindings/ruby/extconf.rb
++++ b/bindings/ruby/extconf.rb
+@@ -3,9 +3,9 @@
require 'mkmf'
-if /linux/ =~ RUBY_PLATFORM
-- $LDFLAGS += '-Wl,--rpath -Wl,$(EPREFIX)/lib'
+- $LDFLAGS += ' -Wl,--rpath -Wl,$(EPREFIX)/lib'
-elsif /solaris/ =~ RUBY_PLATFORM
++#if /linux/ =~ RUBY_PLATFORM
++# $LDFLAGS += ' -Wl,--rpath -Wl,$(EPREFIX)/lib'
+if /solaris/ =~ RUBY_PLATFORM
- $LDFLAGS += '-R$(EPREFIX)/lib'
+ $LDFLAGS += ' -R$(EPREFIX)/lib'
elsif /hpux/ =~ RUBY_PLATFORM
- $LDFLAGS += '+b$(EPREFIX)/lib'
+ $LDFLAGS += ' +b$(EPREFIX)/lib'
diff --git a/debian/patches/series b/debian/patches/series
index 3e14c51dfaf2b891bca123b699fdabdb58ac1e29..ab9438ebed2dc30c602423d6f640b6c2014bcbe9 100644 (file)
--- a/debian/patches/series
+++ b/debian/patches/series
implicit-decl-fix
bts530814-hurd
tcl-8.5
-bts625631-gcc4.5