pkgsrc-WIP-changes archive

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

xmoji: fix kqueue handling



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Aug 14 10:20:53 2024 +0200
Changeset:	653e5a311a2bb2c2867f2889a6764c7b89b73bd3

Modified Files:
	xmoji/Makefile
	xmoji/distinfo
	xmoji/patches/patch-src_bin_xmoji_filewatcher.c

Log Message:
xmoji: fix kqueue handling

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=653e5a311a2bb2c2867f2889a6764c7b89b73bd3

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

diffstat:
 xmoji/Makefile                                  |  1 +
 xmoji/distinfo                                  |  2 +-
 xmoji/patches/patch-src_bin_xmoji_filewatcher.c | 11 +++++++++--
 3 files changed, 11 insertions(+), 3 deletions(-)

diffs:
diff --git a/xmoji/Makefile b/xmoji/Makefile
index 1161338832..bff8fd7c50 100644
--- a/xmoji/Makefile
+++ b/xmoji/Makefile
@@ -19,6 +19,7 @@ USE_TOOLS+=	gmake pkg-config
 USE_CC_FEATURES+=	c11
 LDFLAGS+=		-L${WRKSRC}/lib/x86_64--netbsd/release
 INSTALLATION_DIRS=	bin
+#MAKE_FLAGS+=	TRACE=on
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/*/release/xmoji ${DESTDIR}${PREFIX}/bin
diff --git a/xmoji/distinfo b/xmoji/distinfo
index 5a23443826..c163dab8fe 100644
--- a/xmoji/distinfo
+++ b/xmoji/distinfo
@@ -3,7 +3,7 @@ $NetBSD$
 BLAKE2s (xmoji-0.6.tar.xz) = c2c1034ab8cb0c79e9c4465acf5a80881b3a4973c2ade438cbbd9438cec0bcf3
 SHA512 (xmoji-0.6.tar.xz) = d31ea1021bc9b19649305ba718064fe350b8f5b427ceb9663b736e396b5e2120ea9b3211c7c255aa26543f12e674ed4ecd86b60651a4e8eb6ef67780b152aa93
 Size (xmoji-0.6.tar.xz) = 276164 bytes
-SHA1 (patch-src_bin_xmoji_filewatcher.c) = 3f9c1cff35fd3655d826e2e4dc4251dde5ed9d17
+SHA1 (patch-src_bin_xmoji_filewatcher.c) = c952ab0ab4231b6dfffda37d4f87ee125e6d4578
 SHA1 (patch-src_bin_xmoji_unistr.h) = 762d23e74e9e017ea8b6f1a33cfc144273acb43d
 SHA1 (patch-src_bin_xmoji_unistrbuilder.h) = 8daab2e893b12b9ad682a6b63a9d92f8bf0675bf
 SHA1 (patch-tools_emojigen_src_emojigen.c) = 6b3db9bbef5e8621195392459bf2a33133776838
diff --git a/xmoji/patches/patch-src_bin_xmoji_filewatcher.c b/xmoji/patches/patch-src_bin_xmoji_filewatcher.c
index a983c95076..018d221a47 100644
--- a/xmoji/patches/patch-src_bin_xmoji_filewatcher.c
+++ b/xmoji/patches/patch-src_bin_xmoji_filewatcher.c
@@ -2,9 +2,16 @@ $NetBSD$
 
 https://github.com/Zirias/xmoji/pull/6
 
---- src/bin/xmoji/filewatcher.c.orig	2024-08-07 16:43:16.520801223 +0000
+--- src/bin/xmoji/filewatcher.c.orig	2024-08-12 16:29:36.000000000 +0000
 +++ src/bin/xmoji/filewatcher.c
-@@ -17,6 +17,9 @@
+@@ -1,4 +1,6 @@
++#ifdef __linux__
+ #define _POSIX_C_SOURCE 200809L
++#endif
+ 
+ /* Feature test hack ahead!
+  *
+@@ -17,6 +19,9 @@
  #    define _BSD_SOURCE
  #  endif
  #endif


Home | Main Index | Thread Index | Old Index