Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37866119
en ru br
Репозитории ALT
S:1.8.0-alt1
5.1: 1.2.30-alt1
4.1: 1.2.27-alt1
4.0: 1.2.23-alt1
3.0: 1.0.49-alt1
www.altlinux.org/Changes

Группа :: Разработка/Базы Данных
Пакет: rrd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: rrd-1.2.28-alt-compile.patch
Скачать


--- 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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin