From nobody Sun Aug 04 12:01:26 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcJ7p62qZz5SC68; Sun, 04 Aug 2024 12:01:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcJ7p53Phz4Q8C; Sun, 4 Aug 2024 12:01:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JgD9D1DuFeKOOPYvsKO4nCT56nZt1gUoeRkDGTKfkIY=; b=bJQFyjskaEXGq49d4eQw/oTQRqSj+gvlShIh2mGP9CDDSt10WOGJ+h0gvghMmUbDFy3PfO tgA3mZIvnJLjRvcMKOlKdiP7GqLeGj8cBqB2Y+wU9+UUx54D4R0KDmbqvVHUu6ga5Y2QMO lUdLY+1aWrDksWWKpzD0HK4kVVi8UfLEY5ZW14sMYNcOgkodlwAPpjbTE7Wb0eEGChzeAi qonHBVaRLh9hdoYwTTqFk8u9NDEUJ1b2/GIMwlHJyP5huJe3bj4OOb+z9XXWs4jT3/DqE2 HKoVjqNQDPi6R6p34768eWn9D460MDuqf6DgBgHhISLJ796zGVniEJwT9GWlQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722772886; a=rsa-sha256; cv=none; b=x3A0iZUM6EDF5XZ62W5sz1spSCz79sIpRISBAbeRz+orQYc9SidMkj9cgy6FvQOSdCdXMi J1kXQBAJ+NNIvBdamQP9ub6rWCzThvKcHaNtPhEFPvwT4XEnVpJyJxD6twoTePb1lG7wXh mquT6TcqiUSTYz62viLc4jD4j3HWi7LyDebzR13mHg1lOiz8YPYKtWGaWAtdSCzUZVh+jk R0lVPzPOvtgI1dJn8c68Ra84t2/ZM9SLERIFFRwwSl0rsNNTFIBq19QYwjt52KZRRl5cd0 Li7K6eAcyP7rgu3h5frJOQACcyUweqZaRvCeZ8/5vKH7HEh+7zQQd6yyKxIWow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722772886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JgD9D1DuFeKOOPYvsKO4nCT56nZt1gUoeRkDGTKfkIY=; b=m204UEYTnRe+ItJ60MLBV8e8qSbVy6XQgw9hDWHDj+f5GcThLD699z3Ff/3oDUhxgWaB+U JNBIGlvsTuGevN4pZfv+57mCqhVafMC66wX9cIhGiD7BMRJwvG82h5DWUDrWH8AS9G1fKV smotXgtf+f6TFnbodhjIBqrAnzN8FnRsH4Yyqc+zEzRb5WJMCaSYAt8adax9iZlxmD1caw yHxAOaCZYf0HYu9uH9WZivj2FBXCSQ2W1n7YyRKtKbU0/5ACriiNsIYpHsw/8V0QssKmpl /kr2NaWvKN4tA3+9CNO1eqwQg0VuLDLjFyqY6AV5gc8Z0eI6Xo1sYpAOCm+e+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WcJ7p4fdXztgY; Sun, 4 Aug 2024 12:01:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474C1QhS013195; Sun, 4 Aug 2024 12:01:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474C1QZS013192; Sun, 4 Aug 2024 12:01:26 GMT (envelope-from git) Date: Sun, 4 Aug 2024 12:01:26 GMT Message-Id: <202408041201.474C1QZS013192@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 0d369b8db5b7 - main - science/orthanc: fix build on 32-bits List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d369b8db5b784b91280fb42cd41dbc4a8fcecbc Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d369b8db5b784b91280fb42cd41dbc4a8fcecbc commit 0d369b8db5b784b91280fb42cd41dbc4a8fcecbc Author: Piotr Kubaj AuthorDate: 2024-08-01 22:03:58 +0000 Commit: Piotr Kubaj CommitDate: 2024-08-04 12:00:46 +0000 science/orthanc: fix build on 32-bits /wrkdirs/usr/ports/science/orthanc/work/Orthanc-1.12.3/OrthancFramework/Sources/Images/JpegWriter.cpp:199:5: error: no matching function for call to 'jpeg_mem_dest' 199 | jpeg_mem_dest(&cinfo, &data, &size); | ^~~~~~~~~~~~~ /usr/local/include/jpeglib.h:974:14: note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned int *') to 'unsigned long *' for 3rd argument 974 | EXTERN(void) jpeg_mem_dest(j_compress_ptr cinfo, unsigned char **outbuffer, | ^ 975 | unsigned long *outsize); | ~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. --- .../patch-OrthancFramework_Sources_Images_JpegWriter.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/science/orthanc/files/patch-OrthancFramework_Sources_Images_JpegWriter.cpp b/science/orthanc/files/patch-OrthancFramework_Sources_Images_JpegWriter.cpp new file mode 100644 index 000000000000..83ca26cff878 --- /dev/null +++ b/science/orthanc/files/patch-OrthancFramework_Sources_Images_JpegWriter.cpp @@ -0,0 +1,11 @@ +--- OrthancFramework/Sources/Images/JpegWriter.cpp.orig 2024-08-01 21:59:25 UTC ++++ OrthancFramework/Sources/Images/JpegWriter.cpp +@@ -177,7 +177,7 @@ namespace Orthanc + Internals::JpegErrorManager jerr; + + unsigned char* data = NULL; +- size_t size; ++ unsigned long size; + + if (setjmp(jerr.GetJumpBuffer())) + {