git: 283c0c0dede5 - main - games/quake2max: unbreak the build after src commit 660331da7a

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 01 Mar 2025 13:32:23 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=283c0c0dede5be6d6d5d36e87701a1956703d8c2

commit 283c0c0dede5be6d6d5d36e87701a1956703d8c2
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-03-01 13:31:52 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-03-01 13:31:52 +0000

    games/quake2max: unbreak the build after src commit 660331da7a
    
    This should be part of the earlier commit a095df27d3e6 but had
    slipped through the cracks.
    
    Reported by:    pkg-fallout
    Reminded by:    Sergey V. Dyatko
---
 games/quake2max/files/patch-missing-return | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/games/quake2max/files/patch-missing-return b/games/quake2max/files/patch-missing-return
index b312e5a188d7..51c74df426e0 100644
--- a/games/quake2max/files/patch-missing-return
+++ b/games/quake2max/files/patch-missing-return
@@ -21,6 +21,15 @@
  char	*NET_AdrToString (netadr_t a)
 --- unix/qsh_unix.c.orig	2006-01-11 13:05:49 UTC
 +++ unix/qsh_unix.c
+@@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ #include "../qcommon/qcommon.h"
+ 
+ #if defined(__FreeBSD__)
+-#include <machine/param.h>
++#include <sys/param.h>
+ #endif
+ 
+ //===============================================================================
 @@ -150,7 +150,7 @@ void Sys_Mkdir (char *path)
      mkdir (path, 0777);
  }