mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:17:42 +00:00
Ports: Add editline library (#2532)
This commit is contained in:
parent
883dc9260d
commit
53d4c7e207
3 changed files with 27 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue