1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 21:37:35 +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:
Noah Rosamilia 2022-01-06 18:28:55 -05:00 committed by Andreas Kling
parent e570f9abc5
commit f3b5f03b2a
3 changed files with 33 additions and 0 deletions

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