mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Ports: Update dos2unix's patches to use git patches
This commit is contained in:
parent
09d63910c2
commit
9188e35e1d
Notes:
sideshowbarker
2024-07-17 10:51:46 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/9188e35e1d Pull-request: https://github.com/SerenityOS/serenity/pull/14055 Reviewed-by: https://github.com/danners Reviewed-by: https://github.com/timschumi
3 changed files with 30 additions and 14 deletions
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