Commit Graph

6 Commits

Author SHA1 Message Date
Khem Raj 10ad20d913 libuio: Fix build with musl
It needs fcntl.h which is indirectly included on glibc
append SRCPV to version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-06 13:00:29 +02:00
Jagadeesh Krishnanjanappa 89e40e736d libuio: fix build issue with gcc-5
1. Remove  PNBLACKLIST[libuio] line, since libuio compiles fine with gcc-5
   with this patch.

2. By default, gcc-5 uses C99 inline semantics, this semantics doesn't
generate externally visible function for inline functions. This results in
below error, when an another translation unit (TU) tries to link with the
inline function,

-- snip --
| lsuio.o: In function `main':
| <...>/libuio/0.2.1-r0/git/tools/lsuio.c:85: undefined reference to `uio_mmap'
| collect2: error: ld returned 1 exit status
| make[2]: *** [lsuio] Error 1
-- CUT --

To solve this error and make libuio to compile with both 4.x and 5.x,

1. We can remove 'uio_mmap' inline function definition in uio_mmap.c, and move
   that definition into uio_helper.h file (which is included by lsuio.c) and
   replace inline with "static inline". Similarly it can be done to
   uio_single_munmap and uio_munmap inline functions

2. Add 'extern' keyword in front of uio_mmap inline function declaration , to
   make uio_mmap as a externally visible function, and so that it can be
   linked with other TUs.

Going with option 1.

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:57:08 +02:00
Martin Jansa 11713b9858 libuio: Blacklist, fails to build with gcc-5
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:27:50 +02:00
Matthieu CRAPET c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Khem Raj 728254ca47 atftp, libuio: Update the SRC_URI to match upstream sf.net change
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05 08:52:11 -04:00
Khem Raj 0be3c83eaa libuio: Add recipe for version 0.2.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:51 -08:00