mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Ports: Update dos2unix's patches to use git patches
This commit is contained in:
parent
09d63910c2
commit
9188e35e1d
25
Ports/dos2unix/patches/0001-Link-with-lintl.patch
Normal file
25
Ports/dos2unix/patches/0001-Link-with-lintl.patch
Normal 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
|
||||||
|
|
|
@ -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 ...
|
|
||||||
|
|
|
@ -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`.
|
|
||||||
|
|
Loading…
Reference in a new issue