summaryrefslogtreecommitdiff
path: root/system/openrc/modern-gcc.patch
blob: e50029af2e932d6d7e39ec8fb45edf82b6febf14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Ensure we can build with -fno-common.
--- openrc-0.24.1/src/rc/rc-logger.h.old	2017-03-14 19:58:26.000000000 -0500
+++ openrc-0.24.1/src/rc/rc-logger.h	2024-05-25 12:47:43.244186307 -0500
@@ -13,8 +13,8 @@
 #ifndef RC_LOGGER_H
 #define RC_LOGGER_H
 
-pid_t rc_logger_pid;
-int rc_logger_tty;
+extern pid_t rc_logger_pid;
+extern int rc_logger_tty;
 extern bool rc_in_logger;
 
 void rc_logger_open(const char *runlevel);