gpsd: fix Python 2.5 build failure
authorSimon Dawson <spdawson@gmail.com>
Mon, 30 Jul 2012 07:08:21 +0000 (08:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 30 Jul 2012 17:12:44 +0000 (19:12 +0200)
commit4233993b0669ceace5f6e4670c563577035d791f
tree91e293b4fd536a86851659abea91e08dd8d4bfb1
parent1b28718006cadcd840fa7ab29027c541f2ded1eb
gpsd: fix Python 2.5 build failure

The platform.linux_distribution method was introduced in Python 2.6. Some
of the Buildroot autobuilders still use Python 2.5, which is causing build
failures such as the following.

  http://autobuild.buildroot.net/results/045f1f69bac170d8e75cb4952a2e5b4e85a677b8/build-end.log

This patch removes the linux distribution check from the gpsd SConstruct file.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gpsd/gpsd-04-sconstruct-python-2.5-compat-distro-check.patch [new file with mode: 0644]