gsoap: update patch commentary

This commit is contained in:
Toyam Cox 2017-05-24 13:29:13 -04:00
parent 010fd3fc2f
commit f26617a45c
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ The first patch I think should not be necessary, but is because the same source
file defines _GNU_SOURCE if gnu-linux and !defined(_GNU_SOURCE) (go read the
code, it's the first two places _GNU_SOURCE is used in gsoap/stdsoap2.cpp).
I don't know why, but it seems wrong to me.
EDIT: Turns out (I was told this) that gcc will define _GNU_SOURCE
automatically for C++ files. The first patch is definitely necessary.
--- ./gsoap/stdsoap2.cpp.orig
+++ ./gsoap/stdsoap2.cpp