Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
M17N
canna
canna-gcc14-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File canna-gcc14-fix.patch of Package canna
--- canuum/Imakefile | 2 +- server/misc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/canuum/Imakefile +++ b/canuum/Imakefile @@ -20,7 +20,7 @@ SYS_LIBRARIES = $(TERMCAP_LIB) TARGET = canuum XCOMM --prefix is not used but add just in case -CONFIGURE_CMD = IN_MAKE=yes ./configure --prefix=$(cannaPrefix) CanuumConfigureArgs +CONFIGURE_CMD = IN_MAKE=yes CFLAGS="-O2 -Wall -fno-strict-aliasing -Wno-implicit" ./configure --prefix=$(cannaPrefix) CanuumConfigureArgs PURE_CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) /* $(THREADS_CFLAGS) $(MODULE_CFLAGS) */ AllTarget(ProgramTargetName($(TARGET))) --- a/server/misc.c +++ b/server/misc.c @@ -268,7 +268,7 @@ EarlyInit () exit(2); } if (setgid(pw->pw_gid) < 0 - || setgroups(NULL, 0) < 0 + || setgroups(0, NULL) < 0 || setuid(pw->pw_uid) < 0) { PrintMsg("failed to drop privileges: %m"); exit(2); @@ -655,7 +655,7 @@ const char *hostname; #ifndef HAVE_STRUCT_HOSTENT_H_ADDR_LIST haddrp = &hent->h_addr; #else - for (haddrp = hent->h_addr_list; *haddrp; haddrp++) + for (haddrp = (const char * const *)hent->h_addr_list; *haddrp; haddrp++) #endif { AddrList *newnode = calloc(1, sizeof(AddrList));
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