Projects
Extra
dxirc
Sign Up
Log In
Username
Password
Problem getting expanded diff: service error: service download_url failed:
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
dxirc.spec
Changed
@@ -24,6 +24,7 @@ Group: Productivity/Networking/IRC Url: http://www.dxirc.org/ Source0: http://dxirc.googlecode.com/files/dxirc-%{version}.tar.bz2 +Patch0: dxirc.narrow-conversion.patch BuildRequires: fdupes BuildRequires: fox16-devel BuildRequires: gcc-c++ @@ -42,6 +43,7 @@ %prep %setup -q +%patch0 -p1 %build %configure --with-included-gettext --enable-release
View file
dxirc.narrow-conversion.patch
Added
@@ -0,0 +1,27 @@ +--- a/src/utils.cpp ++++ b/src/utils.cpp +@@ -54,11 +54,11 @@ void enumerateDicts (const char * const + #endif + + //This's from Xfe, thanks +-int streq(const FXchar *a, const FXchar *b) ++int streq(const unsigned char *a, const unsigned char *b) + { + if (a == NULL || b == NULL) + return 0; +- return (strcmp(a, b) == 0); ++ return (strcmp((char *)a, (char *)b) == 0); + } + + utils::utils() +@@ -993,8 +993,8 @@ FXbool utils::isDccCommand(const FXStrin + //This's from Xfe, thanks + FXbool utils::isUtf8(const FXchar* string, FXuint length) + { +- FXchar s4; +- const FXchar BOM = { 0xEF, 0xBB, 0xBF, '\0' }; ++ unsigned char s4; ++ const unsigned char BOM = { 0xEF, 0xBB, 0xBF, 0x00 }; + + // Keep only length left bytes + FXString str=string;
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
.