diff options
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.patch | 20 |
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 0000000..b4accc8 --- /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}" |