diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2015-11-25 13:53:30 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-11-29 15:26:40 +0100 |
commit | 3a7fce0c953c6f90e2da29e349a65a1335610e42 (patch) | |
tree | 639301618bfd359e4f09dfa53cc14196bf08f1ee /package/at/0004-getloadavg.c-fix.patch | |
parent | bcf25bffbe9887c6749d41a40637895fbe74f965 (diff) | |
download | buildroot-3a7fce0c953c6f90e2da29e349a65a1335610e42.tar.gz buildroot-3a7fce0c953c6f90e2da29e349a65a1335610e42.zip |
at: rename patches so they are in a consecutive order
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/at/0004-getloadavg.c-fix.patch')
-rw-r--r-- | package/at/0004-getloadavg.c-fix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/at/0004-getloadavg.c-fix.patch b/package/at/0004-getloadavg.c-fix.patch new file mode 100644 index 0000000000..e0739271ef --- /dev/null +++ b/package/at/0004-getloadavg.c-fix.patch @@ -0,0 +1,30 @@ +[PATCH]: fix getloadavg.c compilation, revert to 3.1.10 version + +getloadavg.c shipped with 3.1.13 doesn't compile because it references +headers not shipped. Fix it by simply reverting to the 3.1.10 version. + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + getloadavg.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +Index: at-3.1.13/getloadavg.c +=================================================================== +--- at-3.1.13.orig/getloadavg.c ++++ at-3.1.13/getloadavg.c +@@ -66,11 +66,12 @@ Boston, MA 02110-1301 USA */ + + /* This should always be first. */ + #ifdef HAVE_CONFIG_H +-#include <config.h> ++#include "config.h" + #endif + +-#include "lisp.h" +-#include "sysfile.h" /* for encapsulated open, close, read, write */ ++#include <sys/types.h> ++#include <sys/stat.h> ++#include <fcntl.h> + + #ifndef HAVE_GETLOADAVG + |