SHA256
1
0
forked from pool/findutils
Dr. Werner Fink 2016-03-14 14:30:00 +00:00 committed by Git OBS Bridge
parent c75e0e8147
commit ab0d685931
2 changed files with 28 additions and 2 deletions

View File

@ -6,9 +6,35 @@
| https://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00011.html
|
---
gl/lib/float.c | 2 +-
gl/lib/float.in.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2 files changed, 2 insertions(+), 2 deletions(-)
--- gl/lib/float.c
+++ gl/lib/float.c 2016-03-14 14:29:38.001448470 +0000
@@ -13,21 +13,21 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
/* Specification. */
#include <float.h>
-#if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__
+#if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && (defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ == 4))
const union gl_long_double_union gl_LDBL_MAX =
{ { DBL_MAX, DBL_MAX / (double)134217728UL / (double)134217728UL } };
#elif defined __i386__
const union gl_long_double_union gl_LDBL_MAX =
{ { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } };
#else
/* This declaration is solely to ensure that after preprocessing
this file is never empty. */
typedef int dummy;
#endif
--- gl/lib/float.in.h
+++ gl/lib/float.in.h 2016-03-14 14:15:45.616871084 +0000
@@ -112,21 +112,21 @@ extern const union gl_long_double_union

View File

@ -64,7 +64,7 @@ useful for finding things on your system.
%prep
%setup -q
%patch0
%patch1
#%patch1
%build
%if 0%{?qemu_user_space_build}