initial commit
This commit is contained in:
11
configure-implicit-int.patch
Normal file
11
configure-implicit-int.patch
Normal 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
13
makemud.sh
Executable 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
6
readme.md
Normal 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
|
||||
Reference in New Issue
Block a user