Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2023 13:26:15 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 095b6e8cc851 - main - misc/magicpoint: fix build clang16
Message-ID:  <202307011326.361DQF0j071144@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=095b6e8cc851eb6240883e28f07dbbea5e30fb96

commit 095b6e8cc851eb6240883e28f07dbbea5e30fb96
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-07-01 13:25:58 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-07-01 13:25:58 +0000

    misc/magicpoint: fix build clang16
---
 misc/magicpoint/files/patch-mng.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/misc/magicpoint/files/patch-mng.c b/misc/magicpoint/files/patch-mng.c
new file mode 100644
index 000000000000..4e85b27a1853
--- /dev/null
+++ b/misc/magicpoint/files/patch-mng.c
@@ -0,0 +1,18 @@
+--- mng.c.orig	2004-09-01 03:50:32 UTC
++++ mng.c
+@@ -48,13 +48,13 @@ void mng_window_setup __P((mngstuff *mymng, int x, int
+ /* callbacks for the mng decoder */
+ 
+ /* memory allocation; data must be zeroed */
+-mng_ptr mymngalloc(mng_uint32 size)
++mng_ptr mymngalloc(mng_size_t size)
+ {
+ 	return (mng_ptr)calloc(1, size);
+ }
+ 
+ /* memory deallocation */
+-void mymngfree(mng_ptr p, mng_uint32 size)
++void mymngfree(mng_ptr p, mng_size_t size)
+ {
+ 	free(p);
+ 	return;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307011326.361DQF0j071144>