Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 22:27:32 GMT
From:      "4721@hushmail.com" <4721@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173844: [patch] games/jinput: fix build with openjdk7
Message-ID:  <201211222227.qAMMRWZ4095375@red.freebsd.org>
Resent-Message-ID: <201211222230.qAMMU0vY013544@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173844
>Category:       ports
>Synopsis:       [patch] games/jinput: fix build with openjdk7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 22 22:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     4721@hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
* change java version requirement to allow to build with openjdk7
* add patch that fixes build build with openjdk7
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: games/jinput/files/patch-openjdk7
===================================================================
--- games/jinput/files/patch-openjdk7	(revision 0)
+++ games/jinput/files/patch-openjdk7	(working copy)
@@ -0,0 +1,10 @@
+--- plugins/linux/build.xml.orig
++++ plugins/linux/build.xml
+@@ -56,6 +56,7 @@
+ 		<javah destdir="src/native">
+             <classpath>
+                 <pathelement location="classes"/>
++                <pathelement location="../../coreAPI/bin/jinput-core.jar"/>
+             </classpath>
+ 			<class name="net.java.games.input.LinuxEventDevice"/>
+ 			<class name="net.java.games.input.LinuxJoystickDevice"/>
Index: games/jinput/Makefile
===================================================================
--- games/jinput/Makefile	(revision 307667)
+++ games/jinput/Makefile	(working copy)
@@ -18,7 +18,7 @@
 
 USE_BZIP2=	yes
 USE_JAVA=	yes
-JAVA_VERSION=	1.6
+JAVA_VERSION=	1.6+
 JAVA_OS=	native
 JAVA_VENDOR=	openjdk
 USE_ANT=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211222227.qAMMRWZ4095375>