Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:AL:TW
dia
dia-configure-c99.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dia-configure-c99.patch of Package dia
C99 removes support for implicit ints, so declare the return type of main explicitly. Future compilers are likely to require explicit type declarations. Upstream has switched to Meson, and it does not seem to use this particular check anymore. diff --git a/configure b/configure index 14cdc757c3ee0f15..504ae93d8e3a4f48 100755 --- a/configure +++ b/configure @@ -17571,7 +17571,7 @@ $as_echo_n "checking for png_structp in png.h... " >&6; } png_structp pp; png_infop info; png_colorp cmap; - main() { void*foo = png_create_read_struct; } + int main(void) { void*foo = png_create_read_struct; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : png_ok=yes diff --git a/configure.in b/configure.in index c5edeeddf766d5fb..f90ed4ef953af139 100644 --- a/configure.in +++ b/configure.in @@ -197,7 +197,7 @@ if test "$png_ok" = yes; then png_structp pp; png_infop info; png_colorp cmap; - main() { void*foo = png_create_read_struct; }], + int main(void) { void*foo = png_create_read_struct; }], png_ok=yes, png_ok=no) LDFLAGS="${old_LDFLAGS}"
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