Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/comms/gammu/files/patch-CMakeLists.txt
16462 views
1
--- CMakeLists.txt.orig 2016-04-13 11:37:33 UTC
2
+++ CMakeLists.txt
3
@@ -117,7 +117,7 @@ check_symbol_exists (getpwnam "pwd.h" HA
4
check_symbol_exists (getgrnam "grp.h" HAVE_GETGRNAM)
5
check_symbol_exists (getpwuid "pwd.h" HAVE_GETPWUID)
6
check_symbol_exists (getuid "unistd.h" HAVE_GETUID)
7
-check_symbol_exists (initgroups "grp.h" HAVE_INITGROUPS)
8
+check_symbol_exists (initgroups "unistd.h" HAVE_INITGROUPS)
9
check_symbol_exists (setuid "unistd.h" HAVE_SETUID)
10
check_symbol_exists (setgid "unistd.h" HAVE_SETGID)
11
check_symbol_exists (SIGHUP "signal.h" HAVE_SIGHUP)
12
@@ -415,7 +415,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMP
13
#
14
# Warnings related flags
15
#
16
- MACRO_TUNE_COMPILER("-O2")
17
MACRO_TUNE_COMPILER("-Wall")
18
MACRO_TUNE_COMPILER("-Werror-implicit-function-declaration")
19
MACRO_TUNE_COMPILER("-Wno-deprecated-declarations")
20
@@ -547,7 +546,6 @@ endif (BUILD_SHARED_LIBS)
21
set (DOCS
22
README.rst
23
ChangeLog
24
- COPYING
25
)
26
27
# OpenCellID API key
28
29