Package: stylebook
Version: 1.0~b3~svn20061109-5
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Fix FTBFS with OpenJDK 7 (LP: #888127);
    - d/rules: Specify source/target = 1.5 for all javac commands to 
      ensure backwards compatibility and workaround Java 7 encoding
      errors. 

This ensures that this package will compile with openjdk-7.

Thanks for considering the patch.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJO3jA1AAoJEL/srsug59jDqGcP/3odYA46uGPVtNRVKN9wIfC7
CEDslZcA1NOnwWq7d6q2GtoHYD9cNpSM8CnylbrD20O0tw7f0n7T1C0ZBeMn6PaQ
elEirbW+chq3DyzV9bbKJNX6ZzErJ4BvidH1UbH++XbPgXLPLVKvSn+Efn7otJkD
PgWTaWOpuNgjmH93O9s6sOhOFbXEj0tKdkkG36OgqNVvp0euO6zSCK/3i033pNSs
IIwnpCr+cZ7s7HquWG7LoXIZ6p5FDvheAIALHUoUtTm9aGiVWENkKxI/z4nQcvRO
PLWSkhxJwFZ830uNnPMdQfHMNT2a7KmKwAbFKVrkrILd80zcAKYNMJS+RP4OWCKk
qQziWX+B7Db9V3gbOQMlUYh61ZfY5hCeXGWuubk10IPlULjf72a6mFV271Cr4hcw
Sn9mcslx3bwfU9vN0/t/B+mJqikDJefzaeG0IAwnYqInrVtwp8wEYWVGAra3kjuA
nlDqY6bKXw098qa78FEfynsz/aWbxVW9IHrsHbUXMJMrQzK193IryBLDETlOIf7X
xYn9YOIMxFgQwOkti7DLfGJzIKlfNTsgRVfEi5P8jTVhtCNV15m6bAEpru1abc+s
k4VEciwlzh48paShPuIqo6Qu5kI3/ID2gFShRomC6IAzeqclfXvy/bWePI5XcmjL
f2otfx7YUhOXp8CqD5F4
=3+M/
-----END PGP SIGNATURE-----
=== modified file 'debian/rules'
--- debian/rules	2011-11-27 02:00:34 +0000
+++ debian/rules	2011-12-06 14:27:22 +0000
@@ -14,7 +14,8 @@
 		done; \
 		if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
 
-DEB_ANT_ARGS	:= -Dbin.dir=build
+DEB_ANT_ARGS	:= -Dbin.dir=build -Dant.build.javac.source=1.5 \
+	    -Dant.build.javac.target=1.5
 ANT_INVOKE	:= $(JAVACMD) -classpath $(DEB_CLASSPATH) \
 		org.apache.tools.ant.Main $(DEB_ANT_ARGS)
 

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to