Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-json-c
json-c-0.12-mingw.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File json-c-0.12-mingw.patch of Package mingw32-json-c
--- printbuf.c 2011-05-16 16:26:23.150330035 +0200 +++ printbuf.c 2011-05-16 16:31:22.670330183 +0200 @@ -75,7 +75,7 @@ /* CAW: compliant version of vasprintf */ static int vasprintf(char **buf, const char *fmt, va_list ap) { -#ifndef WIN32 +#ifndef _MSC_VER static char _T_emptybuffer = '\0'; #endif /* !defined(WIN32) */ int chars; @@ -83,7 +83,7 @@ if(!buf) { return -1; } -#ifdef WIN32 +#ifdef _MSC_VER chars = _vscprintf(fmt, ap)+1; #else /* !defined(WIN32) */ /* CAW: RAWR! We have to hope to god here that vsnprintf doesn't overwrite @@ -109,7 +109,7 @@ int sprintbuf(struct printbuf *p, const char *msg, ...) { va_list ap; - char *t; + char *t = NULL; int size; char buf[128]; --- random_seed.c.orig +++ random_seed.c @@ -181,7 +181,6 @@ static int get_dev_random_seed() #define HAVE_CRYPTGENRANDOM 1 #include <windows.h> -#pragma comment(lib, "advapi32.lib") static int get_cryptgenrandom_seed() {
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