initial commit

This commit is contained in:
agroschim
2026-01-31 14:49:09 +01:00
commit 4e4a5e5d15
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- configure 2025-03-31 12:13:53.623243733 -0400
+++ configure.fixed 2025-03-31 12:39:09.977321514 -0400
@@ -696,7 +696,7 @@
#line 697 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(void) { return 0; }
EOF
if { (eval echo configure:702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes

13
makemud.sh Executable file
View File

@@ -0,0 +1,13 @@
#! /bin/sh -x
patch -Np0 < configure-implicit-int.patch
# Accept license preemptively
touch src/.accepted
# Force a pre-C23 standard so 'bool' and 'false' are not keywords
export CFLAGS+=" -std=gnu17"
./configure --prefix=/usr
cd src
make

6
readme.md Normal file
View File

@@ -0,0 +1,6 @@
# makemud
Short shell script that builds tbamud from source on modern systems.
- It's based of the AUR package for tbamud: https://aur.archlinux.org/packages/tbamud-git
- Source for `configure-implicit-int.patch`: https://aur.archlinux.org/cgit/aur.git/tree/configure-implicit-int.patch?h=tbamud-git