summaryrefslogtreecommitdiff
path: root/debian/patches/use-cmake-as-buildsystem-debian-extras.patch
blob: 0d6dfd9a32774f90d3a5a6643e2104592b319e04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Debian-specific changes to the cmake build system
Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Forwarded: not-needed
Last-Update: 2018-11-25

--- a/finger/CMakeLists.txt
+++ b/finger/CMakeLists.txt
@@ -1,4 +1,9 @@
 
+set(
+    CMAKE_C_FLAGS
+    "${CMAKE_C_FLAGS} -D_GNU_SOURCE"
+)
+
 add_executable(
     finger
     finger.c
--- a/fingerd/CMakeLists.txt
+++ b/fingerd/CMakeLists.txt
@@ -1,4 +1,9 @@
 
+set(
+    CMAKE_C_FLAGS
+    "${CMAKE_C_FLAGS} -D_GNU_SOURCE"
+)
+
 add_executable(
     in.fingerd
     fingerd.c