exherbo-impulze/packages/sys-apps/daemontools/files/daemontools-0.76-error.patch
2009-01-28 20:32:02 +01:00

19 lines
488 B
Diff

Upstream: No (considered finished)
Reason: wrong `errno` (see below)
Source: Daniel Mierswa <impulze@impulze.org>
Compilation failure:
ld: errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference in *.o
--- ./src/error.h.orig 2009-01-28 02:11:44.337224408 +0100
+++ ./src/error.h 2009-01-28 02:11:48.937972694 +0100
@@ -3,7 +3,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;