ports/devel/cgdb/files/patch-lib_util_sys__util.cpp
Danilo Egea Gondolfo bc4a455af0 - Update to 0.7.0
- Remove help2man from dependency list, the support was removed upstream [1]
- Back to the pool

[1] https://github.com/cgdb/cgdb/blob/master/NEWS

Approved by:	maintainer
2017-12-31 01:54:50 +00:00

11 lines
238 B
C++

--- lib/util/sys_util.cpp.orig 2017-12-31 01:38:05 UTC
+++ lib/util/sys_util.cpp
@@ -2,6 +2,8 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#define _GNU_SOURCE 1
+
#if HAVE_STDIO_H
#include <stdio.h>
#endif /* HAVE_STDIO_H */