Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tarakbumba:mageia-repository
libcompizconfig
0002-Fix-configure-check-for-posix-compatible-s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Fix-configure-check-for-posix-compatible-scandir-fun.patch of Package libcompizconfig
From fa99b11b94346d776629457abac48e1ea91d234b Mon Sep 17 00:00:00 2001 From: Ruediger Oertel <ro@suse.de> Date: Thu, 31 Oct 2019 16:56:17 +0100 Subject: [PATCH 2/2] Fix configure check for posix compatible scandir function That always failed due to -Werror=return-type. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index deb3ae7..df6d2f3 100644 --- a/configure.ac +++ b/configure.ac @@ -109,7 +109,7 @@ AC_CACHE_CHECK([whether we have the POSIX compatible scandir() prototype], AC_LANG_CPLUSPLUS AC_TRY_COMPILE([ # include <dirent.h> - int func (const char *d, dirent ***list, void *sort) { + void func (const char *d, dirent ***list, void *sort) { int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort); } ],[ -- 2.26.1
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