Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:infi777:games
lash
lash-gcc14-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lash-gcc14-fix.patch of Package lash
Fix build error with gcc14 due to missing strdup() declaration. The definition of _POSIX_C_SOURCE hides the declaration in string.h, so we need expliclty defining _XOPEN_SOURCE. --- liblash/socket.c | 1 + 1 file changed, 1 insertion(+) --- a/liblash/socket.c +++ b/liblash/socket.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ +#define _XOPEN_SOURCE 500 /* strdup() */ #define _POSIX_C_SOURCE 200112L /* addrinfo */ #include <stdint.h>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor