I don't have esd in my USE but when i emerge wmsound i have : * Applying wmsound-esd.patch ... and later all the compile lines have -DESD and a "Sound.c:54:17: esd.h: No such file or directory" error. If i comment out the esd patch in the ebuild, all is fine. Reproducible: Always Steps to Reproduce: 1. USE="-esd" emerge wmsound 2. 3. Actual Results: Sound.c:54:17: esd.h: No such file or directory Expected Results: all emerged OK.
Fixed ebuild not to apply esd patch is esd is not in USE flags. Thanks for the submission!