ant/apache-ant-bootstrap.patch
Tomáš Chvátal 007bed30d1 - Add patch to run scripts with python3 if applicable bsc#1082202:
* ant-python3.patch

- Update to 1.9.10:
  * Various fixes for java10
  * Small fixes all around
- Remove merged patch reproducible.patch

- Add patch to run scripts with python3 if applicable bsc#1082202:
  * ant-python3.patch

- Update to 1.9.10:
  * Various fixes for java10
  * Small fixes all around
- Remove merged patch reproducible.patch

- Add patch to run scripts with python3 if applicable bsc#1082202:
  * ant-python3.patch

- Update to 1.9.10:
  * Various fixes for java10
  * Small fixes all around
- Remove merged patch reproducible.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=108
2018-02-22 11:49:36 +00:00

14 lines
651 B
Diff

Index: apache-ant-1.9.10/bootstrap.sh
===================================================================
--- apache-ant-1.9.10.orig/bootstrap.sh
+++ apache-ant-1.9.10/bootstrap.sh
@@ -129,7 +129,7 @@ mkdir -p bin
echo ... Compiling Ant Classes
-"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \
+"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} -sourcepath src/main ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \
${TOOLS}/ant/util/regexp/RegexpMatcher.java \
${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
${TOOLS}/ant/property/*.java \