[oe-commits] [meta-openembedded] 08/28: ifplugd: Include stdint.h for uintXX_t

git at git.openembedded.org git at git.openembedded.org
Wed Nov 6 14:34:33 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 835d9df6cd65db384c0105136e479fde376ff827
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Nov 5 19:30:51 2019 -0800

    ifplugd: Include stdint.h for uintXX_t
    
    stdint.h is standard header which should provide these types
    Fixes
    
    ../../ifplugd-0.28/src/ethtool-local.h:27:9: error: unknown type name 'uint8_t'
    typedef uint8_t u8;
            ^
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../ifplugd/ifplugd/Fix-build-with-musl.patch                | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch b/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
index 4bd4060..35665bd 100644
--- a/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
+++ b/meta-oe/recipes-connectivity/ifplugd/ifplugd/Fix-build-with-musl.patch
@@ -9,13 +9,14 @@ Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
  src/ethtool-local.h | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
 
-diff --git a/src/ethtool-local.h b/src/ethtool-local.h
-index 200476b..0edc7a9 100644
 --- a/src/ethtool-local.h
 +++ b/src/ethtool-local.h
-@@ -22,9 +22,9 @@
+@@ -20,11 +20,11 @@
+  * along with ifplugd; if not, write to the Free Software Foundation,
+  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
   */
- 
+-
++#include <stdint.h>
  typedef unsigned long long u64;
 -typedef __uint32_t u32;        
 -typedef __uint16_t u16;        
@@ -26,6 +27,3 @@ index 200476b..0edc7a9 100644
  
  #include "ethtool-kernel.h"
  
--- 
-2.20.1
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list