Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.5:Update
nvdock
nvdock-fix-gcc10-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nvdock-fix-gcc10-build.patch of Package nvdock
diff -ur nvdock-1.02.orig/src/nvdock.c nvdock-1.02/src/nvdock.c --- nvdock-1.02.orig/src/nvdock.c 2020-06-07 23:45:25.322091577 +0200 +++ nvdock-1.02/src/nvdock.c 2020-06-07 23:54:36.049756123 +0200 @@ -33,6 +33,9 @@ #include "nvdock.h" +argstruct *arg; +BobStatusIcon *bsi; + void bob_main_quit(void) { gtk_main_quit(); diff -ur nvdock-1.02.orig/src/nvdock.h nvdock-1.02/src/nvdock.h --- nvdock-1.02.orig/src/nvdock.h 2020-06-07 23:45:25.322091577 +0200 +++ nvdock-1.02/src/nvdock.h 2020-06-07 23:57:10.671907728 +0200 @@ -83,8 +83,8 @@ } argstruct; -argstruct *arg; -BobStatusIcon *bsi; +extern argstruct *arg; +extern BobStatusIcon *bsi; void argc_argv_parse(int argc, char **argv); diff -ur nvdock-1.02.orig/src/util.c nvdock-1.02/src/util.c --- nvdock-1.02.orig/src/util.c 2020-06-07 23:45:25.322091577 +0200 +++ nvdock-1.02/src/util.c 2020-06-08 00:02:32.440385202 +0200 @@ -112,7 +112,7 @@ unsigned char len = strlen(string); int a = 0, iter = 0; - char new[len]; + char new[len+1]; unsigned char newlen; while(a < len) {
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