diff options
author | Maxim Cournoyer <[email protected]> | 2024-10-23 20:48:20 +0900 |
---|---|---|
committer | Maxim Cournoyer <[email protected]> | 2024-11-12 17:41:38 +0900 |
commit | 40625c213ad2007f70117518a7cc290d367e652a (patch) | |
tree | 900492fcfb67ecf76d7151d75c40987143cf3831 /gnu/packages/patches/torcs-glibc-default-source.patch | |
parent | f0c27b2fa824a43bc6a6d056ec7a7c5c78c3a367 (diff) |
gnu: Add torcs.
* gnu/packages/games.scm (torcs): New variable.
Change-Id: I1e55fc65ff303c309fed50f2071de0eaf4266d57
Diffstat (limited to 'gnu/packages/patches/torcs-glibc-default-source.patch')
-rw-r--r-- | gnu/packages/patches/torcs-glibc-default-source.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/patches/torcs-glibc-default-source.patch b/gnu/packages/patches/torcs-glibc-default-source.patch new file mode 100644 index 0000000000..eb74cfd4ce --- /dev/null +++ b/gnu/packages/patches/torcs-glibc-default-source.patch @@ -0,0 +1,25 @@ +From: Aurelien Jarno <[email protected]> +Date: Mon, 1 May 2017 15:58:31 +0200 +Subject: glibc default source + +_SVID_SOURCE and _BSD_SOURCE are deprecated, using _DEFAULT_SOURCE +instead. + +Forwarded: https://sourceforge.net/p/torcs/mailman/message/35831161/ +--- + Make-config.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Make-config.in b/Make-config.in +index f0e0a12..8041327 100644 +--- a/Make-config.in ++++ b/Make-config.in +@@ -48,7 +48,7 @@ INSTALL_DATA = @INSTALL_DATA@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + +-CFLAGSD = -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H ++CFLAGSD = -D_DEFAULT_SOURCE -DSHM -DHAVE_CONFIG_H + CXXFLAGS = @CXXFLAGS@ @CPPFLAGS@ ${CFLAGSD} + CFLAGS = @CFLAGS@ ${CFLAGSD} + |