ALT Linux repositórios
Group :: Desenvolvimento/Banco de Dados
RPM: rrd
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: rrd-1.2.28-alt-compile.patch
Download
Download
--- rrdtool-1.2.28/configure.ac.p1 2008-09-05 16:50:49 +1100
+++ rrdtool-1.2.28/configure.ac 2008-09-05 16:54:08 +1100
@@ -61,7 +61,8 @@ AH_TOP([
AH_BOTTOM([
#ifdef HAVE_FEATURES_H
#define _XOPEN_SOURCE 600
-#undef _BSD_SOURCE /* comment to prevent configure from modifying this line */
+/* comment to prevent configure from modifying this line */
+#undef _BSD_SOURCE
#define _BSD_SOURCE 1
# include <features.h>
#endif
@@ -196,14 +197,16 @@ char *strchr (), *strrchr ();
#if (! defined(HAVE_ISINF) && defined(HAVE_FPCLASS))
# define HAVE_ISINF 1
# ifdef isinf
-# undef isinf /* confuse autoconf */
+/* confuse autoconf */
+# undef isinf
# endif
# define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF)
#endif
/* solaris 10 it defines isnan such that only forte can compile it ... bad bad */
#if (defined(HAVE_ISNAN) && defined(isnan) && defined(HAVE_FPCLASS))
-# undef isnan /* confuse autoconf to NOT remove this */
+/* confuse autoconf to NOT remove this */
+# undef isnan
# define isnan(a) (fpclass(a) == FP_SNAN || fpclass(a) == FP_QNAN)
#endif
--- rrdtool-1.2.28/rrd_config.h.in.p1 2008-07-24 00:56:17 +1100
+++ rrdtool-1.2.28/rrd_config.h.in 2008-09-05 16:51:04 +1100
@@ -264,9 +264,13 @@
/* Version number of package */
#undef VERSION
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
+#if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+#elif ! defined __LITTLE_ENDIAN__
+# undef WORDS_BIGENDIAN
+#endif
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
@@ -274,7 +278,8 @@
#ifdef HAVE_FEATURES_H
#define _XOPEN_SOURCE 600
-#undef _BSD_SOURCE /* comment to prevent configure from modifying this line */
+/* comment to prevent configure from modifying this line */
+#undef _BSD_SOURCE
#define _BSD_SOURCE 1
# include <features.h>
#endif