Ports: Update ncurses' patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:55 +04:30 committed by Ali Mohammad Pur
parent a2402faaf3
commit bd0c78e40e
Notes: sideshowbarker 2024-07-17 20:19:08 +09:00
3 changed files with 32 additions and 13 deletions

View file

@ -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

View file

@ -0,0 +1,7 @@
# Patches for ncurses on SerenityOS
## `0001-Teach-configure-about-serenity.patch`
Teach configure about serenity

View file

@ -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"