summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2013-01-07 21:02:13 +0000
committerAngelo Arrifano <miknix@gentoo.org>2013-01-07 21:02:13 +0000
commite6260df556c05fa368b9df10c1df0f43b4b95582 (patch)
tree60302c080fedfa72a74c14c0ce288d5ab6e2d88e /dev-embedded/arduino/files/arduino-1.0.3-script.patch
parentStable on amd64, wrt bug #450720 (diff)
downloadhistorical-e6260df556c05fa368b9df10c1df0f43b4b95582.tar.gz
historical-e6260df556c05fa368b9df10c1df0f43b4b95582.tar.bz2
historical-e6260df556c05fa368b9df10c1df0f43b4b95582.zip
Version bump, #442130
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x0720FC74
Diffstat (limited to 'dev-embedded/arduino/files/arduino-1.0.3-script.patch')
-rw-r--r--dev-embedded/arduino/files/arduino-1.0.3-script.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-embedded/arduino/files/arduino-1.0.3-script.patch b/dev-embedded/arduino/files/arduino-1.0.3-script.patch
new file mode 100644
index 000000000000..b4accc8959a1
--- /dev/null
+++ b/dev-embedded/arduino/files/arduino-1.0.3-script.patch
@@ -0,0 +1,20 @@
+diff --git a/build/linux/dist/arduino b/build/linux/dist/arduino
+index b5eb9db..3f3b4aa 100644
+--- a/build/linux/dist/arduino
++++ b/build/linux/dist/arduino
+@@ -10,11 +10,13 @@ for LIB in \
+ lib/*.jar \
+ ;
+ do
+- CLASSPATH="${CLASSPATH}:${LIB}"
++ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
++
+ done
++CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
+ export CLASSPATH
+
+-LD_LIBRARY_PATH=`pwd`/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
++LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
+ export LD_LIBRARY_PATH
+
+ export PATH="${APPDIR}/java/bin:${PATH}"