mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Ports: Update ncurses' patches to use git patches
This commit is contained in:
parent
a2402faaf3
commit
bd0c78e40e
Notes:
sideshowbarker
2024-07-17 20:19:08 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/bd0c78e40e 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 32 additions and 13 deletions
|
@ -0,0 +1,25 @@
|
|||
From a83fb5794aba24721bc47d1168e5dfc680bdbebd Mon Sep 17 00:00:00 2001
|
||||
From: Kenneth Myhra <kennethmyhra@gmail.com>
|
||||
Date: Mon, 9 Aug 2021 19:43:03 +0200
|
||||
Subject: [PATCH] Teach configure about serenity
|
||||
|
||||
---
|
||||
configure | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 421cf85..31bbb85 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -6299,7 +6299,7 @@ echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6
|
||||
fi
|
||||
cf_cv_rm_so_locs=yes
|
||||
;;
|
||||
- (linux*|gnu*|k*bsd*-gnu)
|
||||
+ (linux*|gnu*|k*bsd*-gnu|*serenity*)
|
||||
if test "$DFT_LWR_MODEL" = "shared" && test -n "$LD_RPATH_OPT" ; then
|
||||
LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
|
||||
LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
|
||||
--
|
||||
2.36.1
|
||||
|
7
Ports/ncurses/patches/ReadMe.md
Normal file
7
Ports/ncurses/patches/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Patches for ncurses on SerenityOS
|
||||
|
||||
## `0001-Teach-configure-about-serenity.patch`
|
||||
|
||||
Teach configure about serenity
|
||||
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/configure b/configure
|
||||
index 06f344f3e..240cd098b 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -5943,7 +5943,7 @@ echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6
|
||||
fi
|
||||
cf_cv_rm_so_locs=yes
|
||||
;;
|
||||
- (linux*|gnu*|k*bsd*-gnu)
|
||||
+ (linux*|gnu*|k*bsd*-gnu|*serenity*)
|
||||
if test "$DFT_LWR_MODEL" = "shared" && test -n "$LD_RPATH_OPT" ; then
|
||||
LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
|
||||
LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
|
Loading…
Reference in a new issue