Package list lwjgl / 9f48996 debian / patches / systemjinput.patch
9f48996

Tree @9f48996 (Download .tar.gz)

systemjinput.patch @9f48996raw · history · blame

From: Markus Koschany <apo@debian.org>
Date: Sat, 9 Apr 2016 19:19:25 +0200
Subject: systemjinput

---
 build.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 2b5105e..c78b2dc 100644
--- a/build.xml
+++ b/build.xml
@@ -138,6 +138,7 @@
 			<fileset refid="lwjgl.fileset.dependencies"/>
 			<manifest>
 				<attribute name="Sealed" value="true"/>
+				<attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
 			</manifest>
 		</jar>
 	</target>
@@ -150,6 +151,7 @@
 			<fileset refid="lwjgl.fileset.dependencies"/>
 			<manifest>
 				<attribute name="Sealed" value="true"/>
+				<attribute name="Class-Path" value="/usr/share/java/jinput.jar"/>
 			</manifest>
 		</jar>
 
@@ -662,7 +664,7 @@
 			<os name="Mac OS X" />
 		</condition>
 		<property name="native_path_expanded" location="${native_path}"/>
-		<java classname="${test.mainclass}" classpath="res:${lwjgl.lib}/lwjgl.jar:${lwjgl.lib}/lwjgl_util.jar:${lwjgl.lib}/lwjgl_test.jar:${lwjgl.lib}/jinput.jar" fork="true">
+		<java classname="${test.mainclass}" classpath="res:${lwjgl.lib}/lwjgl.jar:${lwjgl.lib}/lwjgl_util.jar:${lwjgl.lib}/lwjgl_test.jar:/usr/share/java/jinput.jar" fork="true">
 			<sysproperty key="org.lwjgl.util.Debug" value="true"/>
 			<sysproperty key="java.library.path" value="${native_path_expanded}"/>
 			<arg line="${args}"/>