From 5bf7816f113cf780fb838ba342246d91bb16fab4 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Sun, 2 May 2021 15:37:10 -0500 Subject: [PATCH] Couple installer bugs fixed. --- joeylib/src/jSDL2.c | 5 ++++- scripts/installer.sh | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/joeylib/src/jSDL2.c b/joeylib/src/jSDL2.c index 4c5b4b3..147a80e 100644 --- a/joeylib/src/jSDL2.c +++ b/joeylib/src/jSDL2.c @@ -414,13 +414,16 @@ void jlUtilTitleSet(char *title) { } -int main(void) { +int main(int argc, char *argv[]) { int flags; int result; int joysticks; int x; + (void)argc; + (void)argv; + // Start low-level tools if (SDL_Init(SDL_INIT_EVERYTHING) == -1) { jlUtilDie(SDL_GetError()); diff --git a/scripts/installer.sh b/scripts/installer.sh index 2e6ea3f..94c83cf 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -926,6 +926,7 @@ function start() { # See if all the packages we need are installed echo "" tBoldBox tBLUE "Examining system..." + doSudo dpkg --add-architecture i386 tCheckPackages MISSING \ autoconf \ automake \