about summary refs log tree commit diff
path: root/pkgs/games/mindustry/0001-fix-include-path-for-SDL2-on-linux.patch
blob: d4fe7be191833fd0fe432939c6ea347cf2bc0a1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 9dbfa680db6bfd1033772dda753120fe4452e0d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Milan=20P=C3=A4ssler?= <milan@petabyte.dev>
Date: Fri, 8 Jan 2021 04:49:14 +0100
Subject: [PATCH] fix include path for SDL2 on linux

---
 .../src/main/java/arc/backend/sdl/jni/SDL.java            | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/backends/backend-sdl/src/main/java/arc/backend/sdl/jni/SDL.java b/backends/backend-sdl/src/main/java/arc/backend/sdl/jni/SDL.java
index 62d9286a..2853119d 100644
--- a/Arc/backends/backend-sdl/src/main/java/arc/backend/sdl/jni/SDL.java
+++ b/Arc/backends/backend-sdl/src/main/java/arc/backend/sdl/jni/SDL.java
@@ -8,16 +8,8 @@ import java.nio.*;
 public class SDL{
     /*JNI
 
-    #ifdef __APPLE__
-
     #include "SDL2/SDL.h"
 
-    #else
-
-    #include "SDL.h"
-
-    #endif
-
     */
 
     static{
-- 
2.29.2