dt: add patch to fix failures on newer toolchains
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 21 Mar 2016 11:56:04 +0000 (08:56 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Mar 2016 08:54:41 +0000 (09:54 +0100)
commitfacda719099f53b8b79efcd6966d4cfe8ffd2719
tree61081d5e9d5dd11cd98ec2e66a75c3efd51a533d
parent0e1547a87cfd51e4fedf1cb7837f77e4f66c4052
dt: add patch to fix failures on newer toolchains

On newer toolchains (glibc >= 2.20) _BSD_SOURCE behaviour was deprecated
in favour if the _DEFAULT_SOURCE macro. See man 7 feature_test_macros.
Add patch from Fedora to also consider _DEFAULT_SOURCE. Fixes:
http://autobuild.buildroot.net/results/9e2/9e2126b0e68d0d59d37616a268adb810efd8281a/

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dt/0002-dt-default-source-define.patch [new file with mode: 0644]