Projects
Games
pcsxr
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
pcsxr.spec
Changed
@@ -31,6 +31,7 @@ Patch2: pcsxr-fix-ambiguous-expressions.patch # PATCH-FIX-UPSTREAM pcsxr-fix-array-overflow.patch gber@opensuse.org -- Fixes an array overflow Patch3: pcsxr-fix-array-overflow.patch +Patch4: pcsxr.uncompress2.patch BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(glib-2.0) >= 2.20 BuildRequires: pkgconfig(sdl) >= 1.2.12 @@ -63,6 +64,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 chmod 644 ChangeLog
View file
pcsxr.uncompress2.patch
Added
@@ -0,0 +1,20 @@ +--- a/libpcsxcore/cdriso.c ++++ b/libpcsxcore/cdriso.c +@@ -913,7 +913,7 @@ static int cdread_sub_mixed(FILE *f, uns + return ret; + } + +-static int uncompress2(void *out, unsigned long *out_size, void *in, unsigned long in_size) ++static int _uncompress2(void *out, unsigned long *out_size, void *in, unsigned long in_size) + { + static z_stream z; + int ret = 0; +@@ -992,7 +992,7 @@ static int cdread_compressed(FILE *f, un + if (is_compressed) { + cdbuffer_size_expect = sizeof(compr_img->buff_raw[0]) << compr_img->block_shift; + cdbuffer_size = cdbuffer_size_expect; +- ret = uncompress2(compr_img->buff_raw[0], &cdbuffer_size, compr_img->buff_compressed, size); ++ ret = _uncompress2(compr_img->buff_raw[0], &cdbuffer_size, compr_img->buff_compressed, size); + if (ret != 0) { + SysPrintf("uncompress failed with %d for block %d, sector %d\n", + ret, block, sector);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.