Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
libwmf.23761
libwmf-0.2.8.4-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libwmf-0.2.8.4-fix.patch of Package libwmf.23761
Index: src/api.c =================================================================== --- src/api.c.orig +++ src/api.c @@ -156,6 +156,12 @@ wmf_error_t wmf_lite_create (wmfAPI** AP } API->write_data = 0; + + API->user_data = 0; + API->store.attrlist = 0; + API->store.count = 0; + API->store.max = 0; + API->MetaHeader.pmh = &(API->PlaceableMetaHeader); API->MetaHeader.wmfheader = &(API->Head); Index: src/extra/gd/gd.c =================================================================== --- src/extra/gd/gd.c.orig +++ src/extra/gd/gd.c @@ -810,6 +810,7 @@ gdImageTileApply (gdImagePtr im, int x, } else { + p = gdImageGetPixel (im->tile, srcx, srcy); /* Allow for transparency */ if (p != gdImageGetTransparent (im->tile)) { Index: src/extra/gd/gd.h =================================================================== --- src/extra/gd/gd.h.orig +++ src/extra/gd/gd.h @@ -22,6 +22,7 @@ extern "C" { /* stdio is needed for file I/O. */ #include <stdio.h> +#include <string.h> #include <gd_io.h> #include <gd_clip.h>
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