Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
iscan-free
fixes-for-GCC44-glibc_2.10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fixes-for-GCC44-glibc_2.10.patch of Package iscan-free
--- lib/imgstream.cc.orig 2007-09-13 06:39:38.000000000 +0200 +++ lib/imgstream.cc 2009-07-29 12:40:28.000000000 +0200 @@ -183,8 +183,8 @@ imgstream::dlclose (dl_handle lib) return lt_dlclose (lib); } -static int reversionsort (const void*, const void*); -int selector (const dirent *); +static int reversionsort (const struct dirent **, const struct dirent **); +int selector (const struct dirent *); // forward declarations //! @@ -299,7 +299,7 @@ const char *imgstream::_libname = NULL; //! Selects relevant library filenames. int -selector (const dirent *dir) +selector (const struct dirent *dir) { return (0 == strncmp (dir->d_name, imgstream::_libname, strlen (imgstream::_libname))); @@ -308,7 +308,7 @@ selector (const dirent *dir) //! The C library's versionsort() function in reverse. static int -reversionsort (const void *a, const void *b) +reversionsort (const struct dirent **a, const struct dirent **b) { return versionsort (b, a); } --- frontend/file-selector.cc.orig 2007-09-13 06:39:36.000000000 +0200 +++ frontend/file-selector.cc 2009-07-29 12:49:36.000000000 +0200 @@ -1023,7 +1023,7 @@ file_selector::permission( const char *f // check write access to the directory (note that we need execute // privileges as well) - char *slash = strrchr( file, '/'); + char *slash = strrchr( (char *)file, '/'); *slash = '\0'; // temporarily truncate to dirname const char *dir = (file == slash ? "/" // whoops!, file in root directory
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