pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libepoll-shim



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Aug  7 23:29:49 UTC 2022

Modified Files:
        pkgsrc/devel/libepoll-shim: Makefile distinfo
Added Files:
        pkgsrc/devel/libepoll-shim/patches: patch-epoll-shim.pc.cmakein

Log Message:
libepoll-shim: take out CFLAGS from the pkg-config file

This is a patently Gross Hack<TM>.
But without it random package's configure scripts that use gtk3+ can pick
up broken epoll support via "pkg-config --cflags gtk+-x11-3.0", since that
will include -I/usr/pkg/include/libepoll-shim.

Direct consumers of libepoll-shim must add the CFLAGS explicitly.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/libepoll-shim/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/libepoll-shim/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/libepoll-shim/patches/patch-epoll-shim.pc.cmakein

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

Modified files:

Index: pkgsrc/devel/libepoll-shim/Makefile
diff -u pkgsrc/devel/libepoll-shim/Makefile:1.8 pkgsrc/devel/libepoll-shim/Makefile:1.9
--- pkgsrc/devel/libepoll-shim/Makefile:1.8     Thu Aug  4 14:41:40 2022
+++ pkgsrc/devel/libepoll-shim/Makefile Sun Aug  7 23:29:49 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2022/08/04 14:41:40 nia Exp $
+# $NetBSD: Makefile,v 1.9 2022/08/07 23:29:49 tnn Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}-0.0.20210418
 PKGNAME=       lib${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jiixyj/}
 GITHUB_PROJECT=        epoll-shim

Index: pkgsrc/devel/libepoll-shim/distinfo
diff -u pkgsrc/devel/libepoll-shim/distinfo:1.4 pkgsrc/devel/libepoll-shim/distinfo:1.5
--- pkgsrc/devel/libepoll-shim/distinfo:1.4     Tue Oct 26 10:15:18 2021
+++ pkgsrc/devel/libepoll-shim/distinfo Sun Aug  7 23:29:49 2022
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:15:18 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/08/07 23:29:49 tnn Exp $
 
 BLAKE2s (epoll-shim-0.0.20210418.tar.gz) = 991a4a90d3395dbe02430502802c57cfb7100b84a18b88d6b4148e0c2c485be2
 SHA512 (epoll-shim-0.0.20210418.tar.gz) = 34272a694165bfb47f8a103d18aec304f7a72b36491b83268ff63dd696f5103ab53dc9e32173ed20ddd7baa36b9d7ca2b3ec6236eef8dc2f02a101819b75eb7b
 Size (epoll-shim-0.0.20210418.tar.gz) = 91936 bytes
+SHA1 (patch-epoll-shim.pc.cmakein) = 6a31165678618c40104d9e592cb888e4a00a596c
 SHA1 (patch-src_CMakeLists.txt) = 47f32282b12c79a9b51d8ffc821cd4ffbf19b728

Added files:

Index: pkgsrc/devel/libepoll-shim/patches/patch-epoll-shim.pc.cmakein
diff -u /dev/null pkgsrc/devel/libepoll-shim/patches/patch-epoll-shim.pc.cmakein:1.1
--- /dev/null   Sun Aug  7 23:29:49 2022
+++ pkgsrc/devel/libepoll-shim/patches/patch-epoll-shim.pc.cmakein      Sun Aug  7 23:29:49 2022
@@ -0,0 +1,18 @@
+$NetBSD: patch-epoll-shim.pc.cmakein,v 1.1 2022/08/07 23:29:49 tnn Exp $
+
+libepoll-shim: take out CFLAGS from the pkg-config file
+
+This is a patently Gross Hack<TM>.
+But without it random package's configure scripts that use gtk3+ can pick
+up broken epoll support via "pkg-config --cflags gtk+-x11-3.0", since that
+will include -I/usr/pkg/include/libepoll-shim.
+
+Direct consumers of libepoll-shim must add the CFLAGS explicitly.
+
+--- epoll-shim.pc.cmakein.orig 2021-04-18 19:28:52.000000000 +0000
++++ epoll-shim.pc.cmakein
+@@ -9,4 +9,3 @@ Description: Small epoll implementation 
+ Version: 
+ Libs: -L${libdir} -lepoll-shim
+ Libs.private: -pthread -lrt
+-Cflags: -I${includedir}/libepoll-shim



Home | Main Index | Thread Index | Old Index