Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Ports
mathgl
getopt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File getopt.patch of Package mathgl
Index: mathgl-2.3.3/utils/make_bin.cpp =================================================================== --- mathgl-2.3.3.orig/utils/make_bin.cpp +++ mathgl-2.3.3/utils/make_bin.cpp @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) { mglFont fnt; std::string path, base, fname; - char ch; + int ch; while(1) { Index: mathgl-2.3.3/utils/mglconv.cpp =================================================================== --- mathgl-2.3.3.orig/utils/mglconv.cpp +++ mathgl-2.3.3/utils/mglconv.cpp @@ -28,7 +28,8 @@ int main(int argc, char *argv[]) mgl_suppress_warn(true); mglGraph gr; mglParse p(true); - char ch, buf[2048], iname[256]="", oname[256]=""; + char buf[2048], iname[256]="", oname[256]=""; + int ch; std::vector<std::wstring> var; std::wstring str; bool none=false; Index: mathgl-2.3.3/utils/mglview.cpp =================================================================== --- mathgl-2.3.3.orig/utils/mglview.cpp +++ mathgl-2.3.3/utils/mglview.cpp @@ -39,7 +39,8 @@ int show(mglGraph *gr) //----------------------------------------------------------------------------- int main(int argc, char **argv) { - char ch, iname[256]=""; + char iname[256]=""; + int ch; mgl_suppress_warn(true); while(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