diff -pruN 5.0+dfsg-1/debian/README.Debian 5.0+dfsg-2/debian/README.Debian
--- 5.0+dfsg-1/debian/README.Debian	2022-04-27 12:19:36.000000000 +0000
+++ 5.0+dfsg-2/debian/README.Debian	2025-08-19 12:27:44.000000000 +0000
@@ -7,7 +7,7 @@ default SQLite engine of Orthanc with a
 back-end. They bring scalability to Orthanc, making it
 enterprise-ready.
 
-Homepage: http://www.orthanc-server.com/static.php?page=mysql
+Homepage: https://orthanc.uclouvain.be/book/plugins/mysql.html
 
 
 
diff -pruN 5.0+dfsg-1/debian/changelog 5.0+dfsg-2/debian/changelog
--- 5.0+dfsg-1/debian/changelog	2023-08-18 14:47:07.000000000 +0000
+++ 5.0+dfsg-2/debian/changelog	2025-08-19 12:27:49.000000000 +0000
@@ -1,3 +1,9 @@
+orthanc-mysql (5.0+dfsg-2) unstable; urgency=medium
+
+  * Fix FTBFS with boost 1.88. Closes: #1110761
+
+ -- Sebastien Jodogne <s.jodogne@gmail.com>  Tue, 19 Aug 2025 14:27:49 +0200
+
 orthanc-mysql (5.0+dfsg-1) unstable; urgency=medium
 
   * New upstream version. Closes: #1041082
diff -pruN 5.0+dfsg-1/debian/control 5.0+dfsg-2/debian/control
--- 5.0+dfsg-1/debian/control	2023-08-18 14:47:07.000000000 +0000
+++ 5.0+dfsg-2/debian/control	2025-08-19 12:27:49.000000000 +0000
@@ -15,10 +15,11 @@ Build-Depends: cmake,
                default-libmysqlclient-dev,
                uuid-dev,
                unzip
-Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/med-team/orthanc-mysql
 Vcs-Git: https://salsa.debian.org/med-team/orthanc-mysql.git
-Homepage: https://www.orthanc-server.com/static.php?page=mysql
+Homepage: https://orthanc.uclouvain.be/book/plugins/mysql.html
 
 Package: orthanc-mysql
 Architecture: any
diff -pruN 5.0+dfsg-1/debian/copyright 5.0+dfsg-2/debian/copyright
--- 5.0+dfsg-1/debian/copyright	2023-08-18 14:47:07.000000000 +0000
+++ 5.0+dfsg-2/debian/copyright	2025-08-19 12:27:49.000000000 +0000
@@ -1,7 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: OrthancMySQL
 Upstream-Contact: Sebastien Jodogne <s.jodogne@gmail.com>
-Source: https://hg.orthanc-server.com/orthanc-databases/
+Source: https://orthanc.uclouvain.be/hg/orthanc-databases/
 Files-Excluded:
  Resources/Orthanc/Sdk-*
 
@@ -32,8 +32,7 @@ License: AGPL-3.0+
  Affero General Public License for more details.
  . 
  You should have received a copy of the GNU Affero General Public License
- along with this package; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ along with this package. If not, see <https://www.gnu.org/licenses/>.
 
 
 License: GPL-3.0+
@@ -48,8 +47,7 @@ License: GPL-3.0+
  General Public License for more details.
  .
  You should have received a copy of the GNU General Public License along
- with this package; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ with this package. If not, see <https://www.gnu.org/licenses/>.
  .
  On Debian systems, the full text of the GNU General Public License
  version 3 can be found in the file
diff -pruN 5.0+dfsg-1/debian/patches/boost 5.0+dfsg-2/debian/patches/boost
--- 5.0+dfsg-1/debian/patches/boost	1970-01-01 00:00:00.000000000 +0000
+++ 5.0+dfsg-2/debian/patches/boost	2025-08-19 12:26:52.000000000 +0000
@@ -0,0 +1,17 @@
+Description: Fix FTBFS with boost 1.88
+Author: Sebastien Jodogne <s.jodogne@orthanc-labs.com>
+Forwarded: https://orthanc.uclouvain.be/hg/orthanc-databases/rev/f18e46d7dbf8
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: OrthancMySQL-5.0/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp
+===================================================================
+--- OrthancMySQL-5.0.orig/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp
++++ OrthancMySQL-5.0/Resources/Orthanc/Databases/ISqlLookupFormatter.cpp
+@@ -39,6 +39,7 @@
+ #include "DatabaseConstraint.h"
+ 
+ #include <boost/lexical_cast.hpp>
++#include <cassert>
+ #include <list>
+ 
+ 
diff -pruN 5.0+dfsg-1/debian/patches/series 5.0+dfsg-2/debian/patches/series
--- 5.0+dfsg-1/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ 5.0+dfsg-2/debian/patches/series	2025-08-19 12:26:17.000000000 +0000
@@ -0,0 +1 @@
+boost
diff -pruN 5.0+dfsg-1/debian/upstream/metadata 5.0+dfsg-2/debian/upstream/metadata
--- 5.0+dfsg-1/debian/upstream/metadata	2022-04-27 12:19:36.000000000 +0000
+++ 5.0+dfsg-2/debian/upstream/metadata	2025-08-19 12:27:44.000000000 +0000
@@ -1,5 +1,5 @@
-Repository: https://hg.orthanc-server.com/orthanc-databases/
-Bug-Database: https://bugs.orthanc-server.com/
+Repository: https://orthanc.uclouvain.be/hg/orthanc-databases/
+Bug-Database: https://orthanc.uclouvain.be/bugs/
 Reference:
   Author: Sebastien Jodogne
   Title: The Orthanc Ecosystem for Medical Imaging
diff -pruN 5.0+dfsg-1/debian/watch 5.0+dfsg-2/debian/watch
--- 5.0+dfsg-1/debian/watch	2022-04-27 12:19:36.000000000 +0000
+++ 5.0+dfsg-2/debian/watch	2025-08-19 12:27:44.000000000 +0000
@@ -1,3 +1,3 @@
-version=3
-opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,downloadurlmangle=s/\/browse\.php\?path=//g,repack,compression=xz" \
-https://www.orthanc-server.com/browse.php?path=/plugin-mysql downloads/get\.php\?path=/plugin-mysql/OrthancMySQL-(\d\S*)\.tar\.gz
+version=4
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
+https://orthanc.uclouvain.be/downloads/sources/orthanc-mysql/index.html OrthancMySQL-(\d\S*)\.tar\.gz
