Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 147328 Details for
Bug 214814
media-gfx/exiv2-0.16: gcc 4.3 compile fixes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
exiv2-0.16-gcc-4.3-02.patch
exiv2-0.16-gcc-4.3-02.patch (text/plain), 1.04 KB, created by
Jan Kundrát (RETIRED)
on 2008-03-26 01:24:10 UTC
(
hide
)
Description:
exiv2-0.16-gcc-4.3-02.patch
Filename:
MIME Type:
Creator:
Jan Kundrát (RETIRED)
Created:
2008-03-26 01:24:10 UTC
Size:
1.04 KB
patch
obsolete
>--- a/xmpsdk/src/XMPCore_Impl.hpp >+++ b/xmpsdk/src/XMPCore_Impl.hpp >@@ -24,6 +24,7 @@ > #include <map> > > #include <cassert> >+#include <cstring> > > #if XMP_MacBuild > #include <Multiprocessing.h> >@@ -89,7 +90,7 @@ > #define kHexDigits "0123456789ABCDEF" > > #define XMP_LitMatch(s,l) (std::strcmp((s),(l)) == 0) >-#define XMP_LitNMatch(s,l,n) (std::strncmp((s),(l),(n)) == 0) >+#define XMP_LitNMatch(s,l,n) (strncmp((s),(l),(n)) == 0) > // *** Use the above macros! > > #define kTab ((char)0x09) >@@ -369,7 +370,7 @@ > IsPathPrefix ( XMP_StringPtr fullPath, XMP_StringPtr prefix ) > { > bool isPrefix = false; >- XMP_StringLen prefixLen = std::strlen(prefix); >+ XMP_StringLen prefixLen = strlen(prefix); > if ( XMP_LitNMatch ( prefix, fullPath, prefixLen ) ) { > char separator = fullPath[prefixLen]; > if ( (separator == 0) || (separator == '/') || >--- a/xmpsdk/src/XMPMeta.cpp >+++ b/xmpsdk/src/XMPMeta.cpp >@@ -20,6 +20,8 @@ > #include "UnicodeInlines.incl_cpp" > #include "UnicodeConversions.hpp" > >+#include <cstring> >+ > #if XMP_DebugBuild > #include <iostream> > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214814
:
147326
| 147328