Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hashlink for openSUSE:Factory 
checked in at 2024-09-04 13:26:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hashlink (Old)
 and      /work/SRC/openSUSE:Factory/.hashlink.new.10096 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hashlink"

Wed Sep  4 13:26:41 2024 rev:7 rq:1198575 version:1.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/hashlink/hashlink.changes        2024-01-15 
22:17:00.573958791 +0100
+++ /work/SRC/openSUSE:Factory/.hashlink.new.10096/hashlink.changes     
2024-09-04 13:26:42.947016299 +0200
@@ -1,0 +2,5 @@
+Tue Sep  3 18:08:48 UTC 2024 - Jaime Marquínez Ferrándiz 
<[email protected]>
+
+- Add fix_incompatible-pointer-types.patch to fix build with more recent 
version of gcc
+
+-------------------------------------------------------------------

New:
----
  fix_incompatible-pointer-types.patch

BETA DEBUG BEGIN:
  New:
- Add fix_incompatible-pointer-types.patch to fix build with more recent 
version of gcc
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hashlink.spec ++++++
--- /var/tmp/diff_new_pack.8jETcR/_old  2024-09-04 13:26:43.871054938 +0200
+++ /var/tmp/diff_new_pack.8jETcR/_new  2024-09-04 13:26:43.871054938 +0200
@@ -33,6 +33,8 @@
 Patch04:        0001-cmake-Don-t-run-the-version-test-if-the-interpreter-.patch
 # PATCH-FIX-OPENSUSE
 Patch05:        0001-fix-rpath.patch
+# PATCH-FIX-UPSTREAM https://github.com/HaxeFoundation/hashlink/pull/686
+Patch06:        fix_incompatible-pointer-types.patch
 BuildRequires:  cmake
 BuildRequires:  haxe >= 4.0
 BuildRequires:  mbedtls-devel < 3

++++++ fix_incompatible-pointer-types.patch ++++++
>From 1a820f5eacd76a03dada036e94a5457d08aaf501 Mon Sep 17 00:00:00 2001
From: Apprentice-Alchemist
 <[email protected]>
Date: Tue, 21 May 2024 22:27:45 +0200
Subject: [PATCH] [mysql] Fix compilation.
References: gh#HaxeFoundation/hashlink#686

---
 libs/mysql/my_api.c  | 1 +
 libs/mysql/socket.c  | 2 +-
 libs/sqlite/sqlite.c | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libs/mysql/my_api.c b/libs/mysql/my_api.c
index d606438bb..cb70e5519 100644
--- a/libs/mysql/my_api.c
+++ b/libs/mysql/my_api.c
@@ -20,6 +20,7 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#define _GNU_SOURCE
 #include <stdlib.h>
 #include <memory.h>
 #include <stdio.h>
diff --git a/libs/mysql/socket.c b/libs/mysql/socket.c
index 51ab16579..17daa7ac0 100644
--- a/libs/mysql/socket.c
+++ b/libs/mysql/socket.c
@@ -19,6 +19,7 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#define _GNU_SOURCE
 #include "socket.h"
 #include <string.h>
 
@@ -29,7 +30,6 @@
 #      define HANDLE_EINTR(x)
 
 #else
-#      define _GNU_SOURCE
 #      include <sys/types.h>
 #      include <sys/socket.h>
 #      include <sys/time.h>
diff --git a/libs/sqlite/sqlite.c b/libs/sqlite/sqlite.c
index 587465819..c40f96b4b 100644
--- a/libs/sqlite/sqlite.c
+++ b/libs/sqlite/sqlite.c
@@ -117,7 +117,7 @@ HL_PRIM sqlite_result *HL_NAME(request)(sqlite_database 
*db, vbyte *sql ) {
        r->finalize = HL_NAME(finalize_result);
        r->db = NULL;
 
-       if( sqlite3_prepare16_v2(db->db, sql, -1, &r->r, &tl) != SQLITE_OK ) {
+       if( sqlite3_prepare16_v2(db->db, sql, -1, &r->r, (const void**)&tl) != 
SQLITE_OK ) {
                HL_NAME(error)(db->db, false);
        }
 

Reply via email to