Hello community, here is the log from the commit of package ghc for openSUSE:Factory checked in at 2015-03-23 12:19:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc (Old) and /work/SRC/openSUSE:Factory/.ghc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2015-02-25 02:18:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc.new/ghc.changes 2015-03-23 12:19:39.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Mar 15 13:25:32 UTC 2015 - [email protected] + +- add ghc-glibc-2.20_BSD_SOURCE.patch +* fixes build on unregisterised architectures (openSUSE: ppc64le) + +------------------------------------------------------------------- New: ---- ghc-glibc-2.20_BSD_SOURCE.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc.spec ++++++ --- /var/tmp/diff_new_pack.s1cbBL/_old 2015-03-23 12:19:40.000000000 +0100 +++ /var/tmp/diff_new_pack.s1cbBL/_new 2015-03-23 12:19:40.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -71,6 +71,8 @@ Patch18: D560.patch # PATCH-FEATURE-UPSTREAM 0001-implement-native-code-generator-for-ppc64.patch [email protected] -- Implement native code generator for ppc64. Haskell Trac #9863. Patch19: 0001-implement-native-code-generator-for-ppc64.patch +# PATCH-FIX-UPSTREAM ghc-glibc-2.20_BSD_SOURCE.patch [email protected] -- Define _DEFAULT_SOURCE in Stg.h to avoid warnings from glibc. Fedora patch +Patch20: ghc-glibc-2.20_BSD_SOURCE.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -170,6 +172,7 @@ %patch17 -p1 %patch18 -p1 %patch19 -p1 +%patch20 -p1 %build # Patch 19 modifies build system ++++++ ghc-glibc-2.20_BSD_SOURCE.patch ++++++ >From 7d738547049e686be4d90a19dcb9520418d5f72d Mon Sep 17 00:00:00 2001 From: Jens Petersen <[email protected]> Date: Mon, 9 Jun 2014 15:48:41 +0900 Subject: [PATCH] define _DEFAULT_SOURCE in Stg.h to avoid warnings from glibc 2.20 (#9185) --- includes/Stg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/Stg.h b/includes/Stg.h index 1707c9b..fbcf643 100644 --- a/includes/Stg.h +++ b/includes/Stg.h @@ -47,6 +47,8 @@ // We need _BSD_SOURCE so that math.h defines things like gamma // on Linux # define _BSD_SOURCE +// glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE +# define _DEFAULT_SOURCE #endif #if IN_STG_CODE == 0 || defined(llvm_CC_FLAVOR) -- 1.9.3 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
