Ports: Update dos2unix's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:32 +04:30 committed by Ali Mohammad Pur
parent 09d63910c2
commit 9188e35e1d
3 changed files with 30 additions and 14 deletions

View file

@ -0,0 +1,25 @@
From 4a571a9e2bc04dfaeba2e9bee3f495615c7a26fe Mon Sep 17 00:00:00 2001
From: Nathan Ell <nathanjamesell@gmail.com>
Date: Tue, 7 Dec 2021 20:00:58 -0700
Subject: [PATCH] Link with `-lintl`
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 2edc74d..4ec93a6 100644
--- a/Makefile
+++ b/Makefile
@@ -316,6 +316,8 @@ ifeq (hp-ux,$(D2U_OS))
EXTRA_DEFS += -Dhpux -D_HPUX_SOURCE
endif
+LIBS_EXTRA = -lintl
+
# ............................................................ flags ...
--
2.36.1

View file

@ -1,11 +0,0 @@
--- dos2unix-7.2.4/Makefile.orig 2021-12-06 22:52:37.468010400 -0700
+++ dos2unix-7.2.4/Makefile 2021-12-06 22:53:25.508010400 -0700
@@ -316,6 +316,8 @@
EXTRA_DEFS += -Dhpux -D_HPUX_SOURCE
endif
+LIBS_EXTRA = -lintl
+
# ............................................................ flags ...

View file

@ -1,5 +1,7 @@
# Patches for dos2unix
# Patches for dos2unix on SerenityOS
## `0001-Link-with-lintl.patch`
Link with `-lintl`
## `Makefile.patch`
Link with `-lintl`.