FreeBSD Bugzilla – Attachment 182260 Details for
Bug 219029
graphics/libraw - add patch to use FreeBSD's libc implementations of non-standard string functions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add #ifdefs to avoid redefining functions provided by FreeBSD's libc
patch-dcraw_common.cpp (text/plain), 589 bytes, created by
Mikhail Teterin
on 2017-05-03 02:05:04 UTC
(
hide
)
Description:
Add #ifdefs to avoid redefining functions provided by FreeBSD's libc
Filename:
MIME Type:
Creator:
Mikhail Teterin
Created:
2017-05-03 02:05:04 UTC
Size:
589 bytes
patch
obsolete
>--- internal/dcraw_common.cpp 2017-03-04 13:35:59.000000000 -0500 >+++ internal/dcraw_common.cpp 2017-05-02 21:50:33.054012000 -0400 >@@ -52,4 +52,6 @@ > return FC(row,col); > } >+ >+#if !defined(__FreeBSD__) > static size_t local_strnlen(const char *s, size_t n) > { >@@ -59,4 +61,5 @@ > /* add OS X version check here ?? */ > #define strnlen(a,b) local_strnlen(a,b) >+#endif > > #ifdef LIBRAW_LIBRARY_BUILD >@@ -70,5 +73,5 @@ > #endif > >-#ifndef __GLIBC__ >+#if !defined(__GLIBC__) && !defined(__FreeBSD__) > char *my_memmem (char *haystack, size_t haystacklen, > char *needle, size_t needlelen)
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 219029
: 182260