diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-05-03 18:23:08 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-05-03 18:25:26 +0000 |
commit | f8369be0c2fb7941156cf6f5a1143c5f91c5eb1a (patch) | |
tree | 8a0784e2007c551d83b01ee34e5a38ef059f84a8 /testing/snapper/musl-stdout_stderr.patch | |
parent | 45b5690ccb0ec88c2742a5b3078b60655923d268 (diff) |
testing/snapper: new aport
Diffstat (limited to 'testing/snapper/musl-stdout_stderr.patch')
-rw-r--r-- | testing/snapper/musl-stdout_stderr.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/snapper/musl-stdout_stderr.patch b/testing/snapper/musl-stdout_stderr.patch new file mode 100644 index 00000000000..b53a15581b6 --- /dev/null +++ b/testing/snapper/musl-stdout_stderr.patch @@ -0,0 +1,15 @@ +In musl libc stdout and stderr are macros, thus we need to +undefine them to be able to use SystemCmd::stdout() and ::stderr() +members without renaming them - which may be a better choice. + +--- a/snapper/SystemCmd.h 2015-08-30 10:59:53.740184303 +0200 ++++ b/snapper/SystemCmd.h 2015-08-30 11:02:34.229187677 +0200 +@@ -31,6 +31,8 @@ + #include <list> + #include <boost/noncopyable.hpp> + ++#undef stdout ++#undef stderr + + namespace snapper + { |