[arch-commits] Commit in rrdtool/trunk (PKGBUILD gcc-4.5-issue-262.patch)

Dan McGee dan at archlinux.org
Fri May 7 14:12:04 UTC 2010


    Date: Friday, May 7, 2010 @ 10:12:03
  Author: dan
Revision: 79791

upgpkg: rrdtool 1.4.3-2
Fix FS#19359 on i686 only

Added:
  rrdtool/trunk/gcc-4.5-issue-262.patch
Modified:
  rrdtool/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |   10 ++++++----
 gcc-4.5-issue-262.patch |   11 +++++++++++
 2 files changed, 17 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-05-07 13:49:15 UTC (rev 79790)
+++ PKGBUILD	2010-05-07 14:12:03 UTC (rev 79791)
@@ -4,7 +4,7 @@
 
 pkgname=rrdtool
 pkgver=1.4.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Data logging and graphing application"
 arch=('i686' 'x86_64')
 url="http://www.rrdtool.org"
@@ -16,12 +16,14 @@
             'ruby: to use corresponding binding' \
             'lua: to use corresponding binding')
 options=('!libtool' '!emptydirs' '!makeflags')
-source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz)
-md5sums=('492cf946c72f85987238faa2c311b7bb')
-sha1sums=('1e65de0192c149a30ee0d277e758a31ff7d6d6f0')
+source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz
+        gcc-4.5-issue-262.patch)
+md5sums=('492cf946c72f85987238faa2c311b7bb'
+         '4ee60200c9d0d43444b884958444579b')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np3 < "${srcdir}/gcc-4.5-issue-262.patch"
   ./configure --prefix=/usr --localstatedir=/var --disable-rpath --enable-perl \
     --enable-perl-site-install --with-perl-options='INSTALLDIRS=vendor' \
     --enable-ruby --enable-ruby-site-install --enable-python \

Added: gcc-4.5-issue-262.patch
===================================================================
--- gcc-4.5-issue-262.patch	                        (rev 0)
+++ gcc-4.5-issue-262.patch	2010-05-07 14:12:03 UTC (rev 79791)
@@ -0,0 +1,11 @@
+Index: /trunk/program/src/rrd_format.h
+===================================================================
+--- /trunk/program/src/rrd_format.h	(revision 2042)
++++ /trunk/program/src/rrd_format.h	(revision 2069)
+@@ -36,5 +36,5 @@
+ #define RRD_VERSION   "0004"
+ #define RRD_VERSION3  "0003"
+-#define FLOAT_COOKIE  8.642135E130
++#define FLOAT_COOKIE  ((double)8.642135E130)
+ 
+ typedef union unival {




More information about the arch-commits mailing list