pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/nagios-plugin-mqueue



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul 12 20:14:48 UTC 2023

Modified Files:
        pkgsrc/net/nagios-plugin-mqueue: Makefile distinfo
Added Files:
        pkgsrc/net/nagios-plugin-mqueue/patches: patch-Makefile

Log Message:
nagios-plugin-mqueue: Avoid use of strict C89 mode when C99 functions
are in use. Honour CFLAGS.

Should help the build on some platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/nagios-plugin-mqueue/Makefile \
    pkgsrc/net/nagios-plugin-mqueue/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/nagios-plugin-mqueue/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/net/nagios-plugin-mqueue/Makefile
diff -u pkgsrc/net/nagios-plugin-mqueue/Makefile:1.1 pkgsrc/net/nagios-plugin-mqueue/Makefile:1.2
--- pkgsrc/net/nagios-plugin-mqueue/Makefile:1.1        Fri Apr 21 00:59:41 2023
+++ pkgsrc/net/nagios-plugin-mqueue/Makefile    Wed Jul 12 20:14:48 2023
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2023/04/21 00:59:41 manu Exp $
+# $NetBSD: Makefile,v 1.2 2023/07/12 20:14:48 nia Exp $
 #
 
 DISTNAME=      check_mqueue-0.1
 PKGNAME=       nagios-plugin-mqueue-${DISTNAME:C/.*-//}
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://ftp.espci.fr/pub/nagios-local/
 EXTRACT_SUFX=  .tgz
Index: pkgsrc/net/nagios-plugin-mqueue/distinfo
diff -u pkgsrc/net/nagios-plugin-mqueue/distinfo:1.1 pkgsrc/net/nagios-plugin-mqueue/distinfo:1.2
--- pkgsrc/net/nagios-plugin-mqueue/distinfo:1.1        Fri Apr 21 00:59:41 2023
+++ pkgsrc/net/nagios-plugin-mqueue/distinfo    Wed Jul 12 20:14:48 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/04/21 00:59:41 manu Exp $
+$NetBSD: distinfo,v 1.2 2023/07/12 20:14:48 nia Exp $
 
 BLAKE2s (check_mqueue-0.1.tgz) = 6c87c6b19e1fa9c6ab49b81ded3ad3607b1bb2eaec8432c6c23c49a78b675282
 SHA512 (check_mqueue-0.1.tgz) = 984a0a7c10510ac2e70e5873b081317eb57e01254624042089a2347033bdeb3513ba13850456ecc7dc9d24b5b56c9fae386563062d142b88648b93525f491065
 Size (check_mqueue-0.1.tgz) = 1889 bytes
+SHA1 (patch-Makefile) = d2d632b3f2e72c476700e72427586dd996781213

Added files:

Index: pkgsrc/net/nagios-plugin-mqueue/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/nagios-plugin-mqueue/patches/patch-Makefile:1.1
--- /dev/null   Wed Jul 12 20:14:48 2023
+++ pkgsrc/net/nagios-plugin-mqueue/patches/patch-Makefile      Wed Jul 12 20:14:48 2023
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2023/07/12 20:14:48 nia Exp $
+
+Don't override CFLAGS or compile in strict ANSI mode (the code uses some
+C99 functions).
+
+--- Makefile.orig      2023-04-05 14:17:28.000000000 +0000
++++ Makefile
+@@ -1,4 +1,4 @@
+-CFLAGS=       -Wall -Werror -ansi
++CFLAGS+=      -std=c99
+ 
+ all:  check_mqueue
+ 



Home | Main Index | Thread Index | Old Index