pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/anope



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jan 10 15:27:25 UTC 2020

Modified Files:
        pkgsrc/chat/anope: distinfo
Added Files:
        pkgsrc/chat/anope/patches: patch-CMakeLists.txt

Log Message:
anope: Build fix: Don't check for presence of epoll header on SunOS

In file included from /home/pbulk/build/chat/anope/work/anope-2.0.7-source/src/socketengines/socketengine_epoll.cpp:18:0:
/usr/include/sys/epoll.h:1:2: error: #error "This header has been disabled to stop its functionality from being used."
 #error "This header has been disabled to stop its functionality from being used."
  ^~~~~
/home/pbulk/build/chat/anope/work/anope-2.0.7-source/src/socketengines/socketengine_epoll.cpp:23:20: error: 'epoll_event' was not declared in this scope


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/chat/anope/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/chat/anope/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/chat/anope/distinfo
diff -u pkgsrc/chat/anope/distinfo:1.11 pkgsrc/chat/anope/distinfo:1.12
--- pkgsrc/chat/anope/distinfo:1.11     Sun Dec  8 03:55:05 2019
+++ pkgsrc/chat/anope/distinfo  Fri Jan 10 15:27:25 2020
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.11 2019/12/08 03:55:05 nia Exp $
+$NetBSD: distinfo,v 1.12 2020/01/10 15:27:25 nia Exp $
 
 SHA1 (anope-2.0.7-source.tar.gz) = 298c21edbff18a1d3cc711bf84b55ac06ae10d6b
 RMD160 (anope-2.0.7-source.tar.gz) = fdbc31d1bcd902eddc35efbae871af2b0dddc88b
 SHA512 (anope-2.0.7-source.tar.gz) = 22a9f3e0d9fe7f68304062829a19b693a3414f94c90f8da601ab98995cbff7310dc22ca40749d50d6722dfb4649817d2f4b1dbe4afa3254b28980f03a491de65
 Size (anope-2.0.7-source.tar.gz) = 1817484 bytes
+SHA1 (patch-CMakeLists.txt) = 698034091457fb58de32a43fd701c7ce716f898e
 SHA1 (patch-data_CMakeLists.txt) = e0d762da4345ded9a080ea6cf216db510c4c1665
 SHA1 (patch-data_example.conf) = 5d239fdf2362561b860ffbd3b6dfe7a5dd177632

Added files:

Index: pkgsrc/chat/anope/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/chat/anope/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Fri Jan 10 15:27:25 2020
+++ pkgsrc/chat/anope/patches/patch-CMakeLists.txt      Fri Jan 10 15:27:25 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/01/10 15:27:25 nia Exp $
+
+Don't try to use epoll on SunOS, causes the build to fail
+
+--- CMakeLists.txt.orig        2019-03-31 02:13:04.000000000 +0000
++++ CMakeLists.txt
+@@ -364,7 +364,9 @@ check_include_file(strings.h HAVE_STRING
+ check_function_exists(strcasecmp HAVE_STRCASECMP)
+ check_function_exists(stricmp HAVE_STRICMP)
+ check_function_exists(umask HAVE_UMASK)
+-check_function_exists(epoll_wait HAVE_EPOLL)
++if(NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
++  check_function_exists(epoll_wait HAVE_EPOLL)
++endif()
+ check_function_exists(poll HAVE_POLL)
+ check_function_exists(kqueue HAVE_KQUEUE)
+ 



Home | Main Index | Thread Index | Old Index