From f26617a45c6035d5304f2a8a34b60b9b3dfa3c7c Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Wed, 24 May 2017 13:29:13 -0400 Subject: [PATCH] gsoap: update patch commentary --- srcpkgs/gsoap/patches/fix-musl.patch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/gsoap/patches/fix-musl.patch b/srcpkgs/gsoap/patches/fix-musl.patch index 8a955ac13c8..bb9f2c0f4d6 100644 --- a/srcpkgs/gsoap/patches/fix-musl.patch +++ b/srcpkgs/gsoap/patches/fix-musl.patch @@ -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