[DHG_packages] 01/02: ghc: Refresh armel patch

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Sun Sep 17 11:03:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

locutusofborg pushed a commit to branch experimental
in repository DHG_packages.

commit f18826c4b07f5b0b1ba69843d727b2fab9568fb8
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Sun Sep 17 13:02:33 2017 +0200

    ghc: Refresh armel patch
---
 p/ghc/debian/patches/armel-revert-ghci-fixes.patch | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/p/ghc/debian/patches/armel-revert-ghci-fixes.patch b/p/ghc/debian/patches/armel-revert-ghci-fixes.patch
index 43a2f40..a31fa4b 100644
--- a/p/ghc/debian/patches/armel-revert-ghci-fixes.patch
+++ b/p/ghc/debian/patches/armel-revert-ghci-fixes.patch
@@ -9,9 +9,9 @@ Description: Revert ghci ARM improvements (ticket #10375) on armel
  armel with the help of debian/rules.
  .
 
---- ghc-7.10.3.orig/aclocal.m4
-+++ ghc-7.10.3/aclocal.m4
-@@ -577,18 +577,10 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
+--- ghc-8.2.1.orig/aclocal.m4	2017-09-17 10:46:45.000000000 +0200
++++ ghc-8.2.1/aclocal.m4	2017-09-17 11:57:40.681870101 +0200
+@@ -621,16 +621,8 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
          $3="$$3 -D_HPUX_SOURCE"
          $5="$$5 -D_HPUX_SOURCE"
          ;;
@@ -20,23 +20,19 @@ Description: Revert ghci ARM improvements (ticket #10375) on armel
 -        # instructions (ie not Thumb) and to link using the gold linker.
 -        # Forcing LD to be ld.gold is done in FIND_LD m4 macro.
 -        $2="$$2 -marm"
--        $3="$$3 -fuse-ld=gold -Wl,-z,noexecstack"
+-        $3="$$3 -Wl,-z,noexecstack"
 -        $4="$$4 -z noexecstack"
 -        ;;
 -
 -    aarch64*linux*)
--        # On aarch64/linux and aarch64/android, tell gcc to link using the
--        # gold linker.
-+    arm*linux*       | \
-+    aarch64*linux*   )
-+        # On arm/linux, aarch64/linux, arm/android and aarch64/android, tell
-+        # gcc to link using the gold linker.
-         # Forcing LD to be ld.gold is done in FIND_LD m4 macro.
-         $3="$$3 -fuse-ld=gold -Wl,-z,noexecstack"
++    arm*linux*		| \
++    aarch64*linux*	)
+         $3="$$3 -Wl,-z,noexecstack"
          $4="$$4 -z noexecstack"
+         ;;
 --- ghc-7.10.3.orig/libraries/ghci/GHCi/InfoTable.hsc
 +++ ghc-7.10.3/libraries/ghci/GHCi/InfoTable.hsc
-@@ -184,17 +184,17 @@ mkJumpToAddr dflags a = case platformArc
+@@ -245,17 +245,17 @@ mkJumpToAddr dflags a = case platformArc
                   , fromIntegral ((w64 `shiftR` 32) .&. 0x0000FFFF) ]
  
      ArchARM { } ->

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list