mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 04:20:28 +00:00
Ports: Add npiet
Add interpreter for piet programming language https://www.bertnase.de/npiet/ https://www.dangermouse.net/esoteric/piet.html
This commit is contained in:
parent
e570f9abc5
commit
f3b5f03b2a
Notes:
sideshowbarker
2024-07-17 21:31:12 +09:00
Author: https://github.com/Ivoah Commit: https://github.com/SerenityOS/serenity/commit/f3b5f03b2ac Pull-request: https://github.com/SerenityOS/serenity/pull/11649 Reviewed-by: https://github.com/linusg
3 changed files with 33 additions and 0 deletions
|
@ -125,6 +125,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`nethack`](nethack/) | nethack | 3.6.6 | https://www.nethack.org/ |
|
||||
| [`ninja`](ninja/) | Ninja | 1.8.2 | https://ninja-build.org/ |
|
||||
| [`nippon`](nippon/) | Nippon Safes Inc. | 1.0 | https://www.scummvm.org/games/#games-nippon |
|
||||
| [`npiet`](npiet/) | Piet language interpreter | 1.3f | https://www.bertnase.de/npiet/ |
|
||||
| [`npth`](npth/) | New GNU Portable Threads Library | 1.6 | https://gnupg.org/software/npth/index.html |
|
||||
| [`ntbtls`](ntbtls/) | The Not Too Bad TLS Library | 0.2.0 | https://gnupg.org/software/ntbtls/index.html |
|
||||
| [`nyancat`](nyancat/) | Nyancat | | https://github.com/klange/nyancat |
|
||||
|
|
8
Ports/npiet/package.sh
Executable file
8
Ports/npiet/package.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=npiet
|
||||
useconfigure=true
|
||||
version=1.3f
|
||||
depends=("libgd" "libpng")
|
||||
configopts=()
|
||||
files="https://www.bertnase.de/npiet/npiet-${version}.tar.gz npiet-${version}.tar.gz 2ded856062abd73599e85e1e768ce6bc60ba2db22dc7d6a9b62763dca04b855a"
|
||||
auth_type=sha256
|
24
Ports/npiet/patches/npiet.patch
Normal file
24
Ports/npiet/patches/npiet.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff -ruN npiet-1.3f/Makefile.in npiet-1.3f.patched/Makefile.in
|
||||
--- npiet-1.3f/Makefile.in 2014-12-04 15:59:51.000000000 -0500
|
||||
+++ npiet-1.3f.patched/Makefile.in 2022-01-05 13:40:37.959967837 -0500
|
||||
@@ -67,7 +67,7 @@
|
||||
##
|
||||
## How to build the target:
|
||||
##
|
||||
-all: npiet npiet-foogol html
|
||||
+all: npiet npiet-foogol
|
||||
|
||||
npiet: npiet.o
|
||||
$(CC) $(LDFLAGS) $(PROF) -o npiet npiet.o $(LIBS)
|
||||
diff -ruN npiet-1.3f/npiet-foogol.c npiet-1.3f.patched/npiet-foogol.c
|
||||
--- npiet-1.3f/npiet-foogol.c 2020-08-09 09:18:46.000000000 -0400
|
||||
+++ npiet-1.3f.patched/npiet-foogol.c 2022-01-05 13:39:49.922931168 -0500
|
||||
@@ -108,7 +108,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
-#include <malloc.h>
|
||||
+// #include <malloc.h>
|
||||
#include <limits.h>
|
||||
#include <time.h>
|
||||
|
Loading…
Reference in a new issue