mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 20:55:35 +03:00
Ports: Add editline library (#2532)
This commit is contained in:
parent
883dc9260d
commit
53d4c7e207
Notes:
sideshowbarker
2024-07-19 05:44:35 +09:00
Author: https://github.com/The-King-of-Toasters Commit: https://github.com/SerenityOS/serenity/commit/53d4c7e207a Pull-request: https://github.com/SerenityOS/serenity/pull/2532
6
Ports/editline/package.sh
Executable file
6
Ports/editline/package.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash ../.port_include.sh
|
||||
port=editline
|
||||
version=1.17.1
|
||||
useconfigure=true
|
||||
files="https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.xz editline-${version}.tar.xz ec25530e02f0926909bd0f176528019e"
|
||||
auth_type="md5"
|
11
Ports/editline/patches/configure-system.patch
Normal file
11
Ports/editline/patches/configure-system.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- editline-1.17.1/aux/config.sub 2020-06-08 23:59:28.865434416 +1000
|
||||
+++ editline-1.17.1/aux/config.sub.new 2020-06-08 23:59:21.345434106 +1000
|
||||
@@ -1390,7 +1390,7 @@
|
||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
||||
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
|
||||
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
|
||||
- | -midnightbsd*)
|
||||
+ | -midnightbsd* | -serenity*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
10
Ports/editline/patches/example-add-missing-header.patch
Normal file
10
Ports/editline/patches/example-add-missing-header.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- editline-1.17.1/examples/excallback.c 2020-02-23 19:37:53.000000000 +1100
|
||||
+++ editline-1.17.1/examples/excallback.c.new 2020-06-09 00:29:06.482173883 +1000
|
||||
@@ -39,6 +39,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/select.h>
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
Loading…
Reference in New Issue
Block a user