pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libinotify



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Mon Sep 11 07:52:43 UTC 2023

Modified Files:
        pkgsrc/devel/libinotify: Makefile

Log Message:
libinotify: Fix build with clang (Darwin)

pkgsrc changes:
---------------
  * Add -Wno-deprecated-pragma to avoid error due to use of ATOMIC_VAR_INIT.
  * set USE_LANGUAGES to c++17 because it seems to be the last version including
    this macro before deletion.
  * Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/libinotify/Makefile

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

Modified files:

Index: pkgsrc/devel/libinotify/Makefile
diff -u pkgsrc/devel/libinotify/Makefile:1.10 pkgsrc/devel/libinotify/Makefile:1.11
--- pkgsrc/devel/libinotify/Makefile:1.10       Wed Apr 26 16:03:30 2023
+++ pkgsrc/devel/libinotify/Makefile    Mon Sep 11 07:52:43 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2023/04/26 16:03:30 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2023/09/11 07:52:43 triaxx Exp $
 
 DISTNAME=      libinotify
 PKGNAME=       ${DISTNAME}-0.0.${GITHUB_TAG}
+PKGREVISON=    1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libinotify-kqueue/}
 GITHUB_PROJECT=        libinotify-kqueue
@@ -14,9 +15,12 @@ LICENSE=     mit
 
 GNU_CONFIGURE= YES
 USE_LIBTOOL=   yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++17
 USE_TOOLS+=    autoconf automake autoreconf
 
+# Avoid error due to use of ATOMIC_VAR_INIT.
+CFLAGS+=       -Wno-deprecated-pragma
+
 TEST_TARGET=   test
 
 NOT_FOR_PLATFORM+=     SunOS-*-* Linux-*-*



Home | Main Index | Thread Index | Old Index