pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/mosquitto



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Oct 13 16:30:00 UTC 2024

Modified Files:
        pkgsrc/net/mosquitto: Makefile
Added Files:
        pkgsrc/net/mosquitto/patches: patch-config.h

Log Message:
net/mosquitto: Fix upstream visibility define bug


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/net/mosquitto/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/mosquitto/patches/patch-config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mosquitto/Makefile
diff -u pkgsrc/net/mosquitto/Makefile:1.37 pkgsrc/net/mosquitto/Makefile:1.38
--- pkgsrc/net/mosquitto/Makefile:1.37  Sun Oct 13 14:13:22 2024
+++ pkgsrc/net/mosquitto/Makefile       Sun Oct 13 16:30:00 2024
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2024/10/13 14:13:22 gdt Exp $
+# $NetBSD: Makefile,v 1.38 2024/10/13 16:30:00 gdt Exp $
 
 DISTNAME=      mosquitto-2.0.19
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  https://mosquitto.org/files/source/
 

Added files:

Index: pkgsrc/net/mosquitto/patches/patch-config.h
diff -u /dev/null pkgsrc/net/mosquitto/patches/patch-config.h:1.1
--- /dev/null   Sun Oct 13 16:30:00 2024
+++ pkgsrc/net/mosquitto/patches/patch-config.h Sun Oct 13 16:30:00 2024
@@ -0,0 +1,18 @@
+$NetBSD: patch-config.h,v 1.1 2024/10/13 16:30:00 gdt Exp $
+
+Visibility define exorcism.  Resolves failure to see initgroups prototype
+(correctly) hidden by NetBSD's /usr/include.
+
+Reported upstream by email 20241013.
+
+--- work/mosquitto-2.0.19/config.h.orig        2024-10-13 16:27:14.912309212 +0000
++++ work/mosquitto-2.0.19/config.h
+@@ -7,8 +7,6 @@
+ #ifdef __APPLE__
+ #  define __DARWIN_C_SOURCE
+ #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__SYMBIAN32__)
+-#  define _XOPEN_SOURCE 700
+-#  define __BSD_VISIBLE 1
+ #  define HAVE_NETINET_IN_H
+ #elif defined(__QNX__)
+ #  define _XOPEN_SOURCE 600



Home | Main Index | Thread Index | Old Index