Hello, ldns in tree is rather old now, the latest version 1.6.16 is available over a month. CFLAGS patch is needed no longer.
Created attachment 332274 [details, diff] ldns-1.6.16.ebuild.patch Diff between in-tree and new ebuild.
InCVS