From be07ff19cbeae0c18a8a1604f07a682e1cfbfc26 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 22 Jul 2012 20:24:18 +0200 Subject: elftosb: remove version number of patch filenames Signed-off-by: Thomas Petazzoni --- package/elftosb/elftosb-fixes-includes.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/elftosb/elftosb-fixes-includes.patch (limited to 'package/elftosb/elftosb-fixes-includes.patch') diff --git a/package/elftosb/elftosb-fixes-includes.patch b/package/elftosb/elftosb-fixes-includes.patch new file mode 100644 index 000000000..eaf8ebad9 --- /dev/null +++ b/package/elftosb/elftosb-fixes-includes.patch @@ -0,0 +1,19 @@ +This patch uses system include files instead of a hard coded system path to fixe +potential compilation failure on systems that do not populate system header +files in /usr/include/.. + +Signed-off-by: Eric Jarrige +--- +Index: host-elftosb-10.12.01/common/stdafx.h +=================================================================== +--- host-elftosb-10.12.01.orig/common/stdafx.h 2012-01-30 12:43:35.000000000 +0100 ++++ host-elftosb-10.12.01/common/stdafx.h 2012-01-30 12:43:54.000000000 +0100 +@@ -27,7 +27,7 @@ + // For Linux systems only, types.h only defines the signed + // integer types. This is not professional code. + // Update: They are defined in the header files in the more recent version of redhat enterprise gcc. +-#include "/usr/include/sys/types.h" ++#include + #include + //typedef unsigned long uint32_t; + //typedef unsigned short uint16_t; -- cgit v1.2.3