pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xnotify



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Sep  8 10:41:12 UTC 2025

Modified Files:
        pkgsrc/x11/xnotify: Makefile

Log Message:
x11/xnotify: fix build on SunOS


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

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

Modified files:

Index: pkgsrc/x11/xnotify/Makefile
diff -u pkgsrc/x11/xnotify/Makefile:1.10 pkgsrc/x11/xnotify/Makefile:1.11
--- pkgsrc/x11/xnotify/Makefile:1.10    Sun Nov 12 13:24:41 2023
+++ pkgsrc/x11/xnotify/Makefile Mon Sep  8 10:41:12 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2023/11/12 13:24:41 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2025/09/08 10:41:12 vins Exp $
 
 DISTNAME=      xnotify-0.9.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=phillbush/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -11,7 +11,14 @@ HOMEPAGE=    https://github.com/phillbush/x
 COMMENT=       Read notifications from stdin and display them on the screen
 LICENSE=       mit
 
-CFLAGS.SunOS+=         -D_XOPEN_SOURCE=500
+CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600
+CFLAGS.SunOS+=         -D__EXTENSIONS__        # strcasecmp()
+
+SUBST_CLASSES+=                macro
+SUBST_STAGE.macro=     pre-configure
+SUBST_MESSAGE.macro=   Prevent SEC macro redefintion on SunOS.
+SUBST_FILES.macro=     xnotify.c xnotify.h
+SUBST_SED.macro+=      -e "s:SEC:L_SEC:g"
 
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/imlib2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index