[Git][java-team/openjfx][master] Fix FTBFS due to -Werror=deprecated-declarations.

Markus Koschany gitlab at salsa.debian.org
Sat Apr 4 21:33:19 BST 2020



Markus Koschany pushed to branch master at Debian Java Maintainers / openjfx


Commits:
73412f16 by Markus Koschany at 2020-04-04T21:26:58+02:00
Fix FTBFS due to -Werror=deprecated-declarations.

Closes: #952062
Thanks: Bas Couwenberg for the patch.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/no-error_deprecated-declarations.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+openjfx (11.0.2+1-2) unstable; urgency=medium
+
+  [ Bas Couwenberg ]
+  * Team upload.
+  * Add patch to fix FTBFS due to -Werror=deprecated-declarations.
+    (closes: #952062)
+
+ -- Markus Koschany <apo at debian.org>  Sat, 04 Apr 2020 21:26:43 +0200
+
 openjfx (11.0.2+1-1) unstable; urgency=medium
 
   * New upstream release


=====================================
debian/patches/no-error_deprecated-declarations.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Fix FTBFS due to -Werror=deprecated-declarations.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/952062
+
+--- a/buildSrc/linux.gradle
++++ b/buildSrc/linux.gradle
+@@ -45,6 +45,7 @@ def commonFlags = [
+         "-fno-strict-aliasing", "-fPIC", "-fno-omit-frame-pointer", // optimization flags
+         "-fstack-protector",
+         "-Wno-error=cast-function-type",
++        "-Wno-error=deprecated-declarations",
+         "-Wextra", "-Wall", "-Wformat-security", "-Wno-unused", "-Wno-parentheses", "-Werror=implicit-function-declaration"] // warning flags
+ 
+ commonFlags.addAll("dpkg-buildflags --get CPPFLAGS  ".execute().text.trim().split(" "))


=====================================
debian/patches/series
=====================================
@@ -15,3 +15,4 @@ fix-arm32-build.patch
 26-disable-webkit-jit-for-armv4.patch
 29-glibc-compatibility.patch
 disable-jit-for-non-x86.patch
+no-error_deprecated-declarations.patch



View it on GitLab: https://salsa.debian.org/java-team/openjfx/-/commit/73412f16343b07d15b2f27e25d5cbc1b3505e520

-- 
View it on GitLab: https://salsa.debian.org/java-team/openjfx/-/commit/73412f16343b07d15b2f27e25d5cbc1b3505e520
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20200404/aa3aac72/attachment.html>


More information about the pkg-java-commits mailing list