[Git][haskell-team/DHG_packages][experimental] ghc: tweak loongarch patch
Clint Adams (@clint)
gitlab at salsa.debian.org
Mon Sep 15 15:46:06 BST 2025
Clint Adams pushed to branch experimental at Debian Haskell Group / DHG_packages
Commits:
acfbe48e by Clint Adams at 2025-09-15T10:45:41-04:00
ghc: tweak loongarch patch
- - - - -
3 changed files:
- p/ghc/debian/changelog
- p/ghc/debian/patches/0004-llvmGen-Pass-mcmodel-medium-option-to-LLVM-backend-on-LoongArch.patch
- + p/ghc/debian/patches/hp2ps-gcc15.patch
Changes:
=====================================
p/ghc/debian/changelog
=====================================
@@ -1,4 +1,4 @@
-ghc (9.8.4-1~0exp1) experimental; urgency=medium
+ghc (9.8.4-1~0exp2) experimental; urgency=medium
* Fix patches.
=====================================
p/ghc/debian/patches/0004-llvmGen-Pass-mcmodel-medium-option-to-LLVM-backend-on-LoongArch.patch
=====================================
@@ -65,16 +65,6 @@ Subject: [PATCH] llvmGen: Pass mcmodel medium option to LLVM backend on LoongArc
-- -----------------------------------------------------------------------------
-- | Marks variables as used where necessary
--
---- a/compiler/GHC/Llvm/MetaData.hs
-+++ b/compiler/GHC/Llvm/MetaData.hs
-@@ -2,7 +2,6 @@
-
- module GHC.Llvm.MetaData
- ( MetaId(..)
-- , ppMetaId
- , MetaExpr(..)
- , MetaAnnot(..)
- , MetaDecl(..)
--- a/configure.ac
+++ b/configure.ac
@@ -543,7 +543,7 @@ AC_SUBST(InstallNameToolCmd)
=====================================
p/ghc/debian/patches/hp2ps-gcc15.patch
=====================================
@@ -0,0 +1,22 @@
+--- a/utils/hp2ps/Utilities.c
++++ b/utils/hp2ps/Utilities.c
+@@ -1,10 +1,9 @@
+ #include "Main.h"
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include "Error.h"
+
+-extern void* malloc();
+-
+ char*
+ Basename(char *name)
+ {
+@@ -89,7 +88,6 @@ void *
+ xrealloc(void *p, size_t n)
+ {
+ void *r;
+- extern void *realloc();
+
+ r = realloc(p, n);
+ if (!r) {
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/acfbe48e04b6be30ce1dfe6c10eca343a82b0fe8
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/acfbe48e04b6be30ce1dfe6c10eca343a82b0fe8
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20250915/eb4dafec/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list