diff --git a/Ports/dos2unix/patches/0001-Link-with-lintl.patch b/Ports/dos2unix/patches/0001-Link-with-lintl.patch new file mode 100644 index 00000000000..afe25c4f596 --- /dev/null +++ b/Ports/dos2unix/patches/0001-Link-with-lintl.patch @@ -0,0 +1,25 @@ +From 4a571a9e2bc04dfaeba2e9bee3f495615c7a26fe Mon Sep 17 00:00:00 2001 +From: Nathan Ell +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 + diff --git a/Ports/dos2unix/patches/Makefile.patch b/Ports/dos2unix/patches/Makefile.patch deleted file mode 100644 index 224080038de..00000000000 --- a/Ports/dos2unix/patches/Makefile.patch +++ /dev/null @@ -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 ... - diff --git a/Ports/dos2unix/patches/ReadMe.md b/Ports/dos2unix/patches/ReadMe.md index 83e3b47c5ba..d4578905a4a 100644 --- a/Ports/dos2unix/patches/ReadMe.md +++ b/Ports/dos2unix/patches/ReadMe.md @@ -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`.