[BACK]Return to patch-src_common_config.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / love09 / patches

File: [cvs.NetBSD.org] / pkgsrc / games / love09 / patches / patch-src_common_config.h (download)

Revision 1.1, Sun Sep 30 19:17:24 2018 UTC (3 years, 2 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, HEAD

Add love09, LOVE version 0.9.0

LOVE is a framework for making 2D games in the Lua programming
language. LOVE is totally free, and can be used in anything from
friendly open-source hobby projects, to evil, closed-source commercial
ones.

We need multiple versions as games were written for the older versions.

$NetBSD: patch-src_common_config.h,v 1.1 2018/09/30 19:17:24 maya Exp $

https://bitbucket.org/rude/love/issue/867/netbsd-support

--- src/common/config.h.orig	2013-12-13 22:08:44.000000000 +0000
+++ src/common/config.h
@@ -25,7 +25,7 @@
 #if defined(WIN32) || defined(_WIN32)
 #	define LOVE_WINDOWS 1
 #endif
-#if defined(linux) || defined(__linux) || defined(__linux__)
+#if defined(linux) || defined(__linux) || defined(__linux__) || defined(__NetBSD__)
 #	define LOVE_LINUX 1
 #endif
 #if defined(__APPLE__)