- added compile.patch
authorSzymon Siwek <sls@pld-linux.org>
Thu, 8 Apr 2010 14:04:32 +0000 (14:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    collectd.spec -> 1.88
    compile.patch -> 1.1

collectd.spec
compile.patch [new file with mode: 0644]

index fd8b67e27d1d892708f9d84f30567ebbc4ec9af2..19f4319cf2d9b9a87a18bf82dcc11adb4219248f 100644 (file)
@@ -80,6 +80,7 @@ Source4:      %{name}-lighttpd.conf
 Source10:      %{name}-df.conf
 Source11:      %{name}-rrdtool.conf
 Patch0:                %{name}-collection.patch
+Patch1:                compile.patch
 URL:           http://collectd.org/
 %{?with_ipmi:BuildRequires:    OpenIPMI-devel >= 2.0.14-3}
 BuildRequires: autoconf
@@ -1101,6 +1102,7 @@ Perl files from Collectd package
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/compile.patch b/compile.patch
new file mode 100644 (file)
index 0000000..a808648
--- /dev/null
@@ -0,0 +1,12 @@
+compiling dbi.c with '-Werror' fails (dbi_initialize, dbi_driver_open, 
+dbi_driver_list are deprecated in recent libdbi)
+--- collectd-4.9.1/src/Makefile.am.orig        2010-04-08 15:49:05.024241083 +0200
++++ collectd-4.9.1/src/Makefile.am     2010-04-08 15:52:22.184768228 +0200
+@@ -265,6 +261,7 @@ if BUILD_PLUGIN_DBI
+ pkglib_LTLIBRARIES += dbi.la
+ dbi_la_SOURCES = dbi.c \
+                utils_db_query.c utils_db_query.h
++dbi_la_CFLAGS = -Wall
+ dbi_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBDBI_CPPFLAGS)
+ dbi_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBDBI_LDFLAGS)
+ dbi_la_LIBADD = $(BUILD_WITH_LIBDBI_LIBS)
This page took 0.042908 seconds and 4 git commands to generate.