Package: jmdns
Version: 3.4.1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch openjdk-7-transition

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

Dear Maintainer,

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

  * Ensure library is compatible with openjdk-6 (LP: #1007914):
    - d/rules: Override jh_build to explicitly set source/target == 1.5.

This ensures that if this library is built with openjdk-7 it will still work
with openjdk-6 as well.

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'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-24-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.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)

iQIcBAEBCAAGBQJP0G7TAAoJEL/srsug59jDQk8P/AlvzhNiz4ngBAR5kJQ+7+Lp
X72IPhmpL6tCLahcZIAGD3xDyPorUSZ6pSfwL5ceSYVgZru5m+Nah4N2W4WopYoi
q51RR3/J4Y85FRLaeWCAA9ESgrjjdVYwpNUJAZz6M5lQCpOO3C3IZ009qHgqhET7
9qBRUB/xN71Y02jlkwrZG9/hs00P1uy35coeLX03M/95sNu65Ndp38HX8Bj6x6U6
lUg/COmmPgB0JgxB+boPC2VS7uFjckQzm6pjm3WQ5Gg1QmLiQuPpaN3imBufFYTT
OtKjDNTiBTRDyylL6zee0KMLSzZdbPHWBNuhSlh/Ciu0gaiQ8kpvXi78AnatQU17
dcfAegq+FYXEr6P18zCIVoaEXY+qG944AQqCySM+05PVkmWLmzOCgLatvxPM0no1
FigvaqcclD6I9y39VW6dW0on9oLL+c5hAHJHjLaLEXj7d9AmS06bl5KcGpmG8gSF
ADANsCMOM3iUJkrKUjdlZ7/eq/e+/6MEYA/9+jAx9LUo5KpuLZfZ2KO2nJU/iWH2
qpLey5womDDab7mBosBw0h8uvyHAW0ymyD9VRl8H51jb/FHOJDyFTuSHsJPmBXl7
fvVib/BPpzx1g7SLnTAfyUa7yCbY5Lqg9qf5ua8dMqzAByDc6h4w+1wwxQ/xz50F
8/kqm1QvzwtrtFJWjEny
=7W+0
-----END PGP SIGNATURE-----
=== modified file 'debian/rules'
--- debian/rules	2012-04-10 18:42:21 +0000
+++ debian/rules	2012-06-07 08:06:43 +0000
@@ -13,6 +13,12 @@
 %:
 	dh $@ --with javahelper
 
+override_dh_auto_build:
+	:
+
+override_jh_build:
+	jh_build --javacopts="-source 1.5 -target 1.5" --javadoc-opts="-source 1.5"
+
 override_dh_install:
 	mh_installpoms -plib$(PACKAGE)-java
 	mh_installjar -plib$(PACKAGE)-java -l debian/poms/$(PACKAGE).pom $(PACKAGE).jar 

Reply via email to