FreeBSD Bugzilla – Attachment 217325 Details for
Bug 248740
net/minidlna: Fix build with -fno-common (clang 11 and gcc 10)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with -fno-common (clang 11 and gcc 10)
net__minidlna-fix-common-1.diff (text/plain), 1.81 KB, created by
Dimitry Andric
on 2020-08-18 21:11:54 UTC
(
hide
)
Description:
Fix build with -fno-common (clang 11 and gcc 10)
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-08-18 21:11:54 UTC
Size:
1.81 KB
patch
obsolete
>Index: net/minidlna/files/patch-image__utils.c >=================================================================== >--- net/minidlna/files/patch-image__utils.c (nonexistent) >+++ net/minidlna/files/patch-image__utils.c (working copy) >@@ -0,0 +1,11 @@ >+--- image_utils.c.orig 2019-05-08 21:19:46 UTC >++++ image_utils.c >+@@ -190,7 +190,7 @@ jpeg_memory_src(j_decompress_ptr cinfo, const unsigned >+ src->pub.bytes_in_buffer = bufsize; >+ } >+ >+-jmp_buf setjmp_buffer; >++static jmp_buf setjmp_buffer; >+ /* Don't exit on error like libjpeg likes to do */ >+ static void >+ libjpeg_error_handler(j_common_ptr cinfo) > >Property changes on: net/minidlna/files/patch-image__utils.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net/minidlna/files/patch-metadata.c >=================================================================== >--- net/minidlna/files/patch-metadata.c (nonexistent) >+++ net/minidlna/files/patch-metadata.c (working copy) >@@ -0,0 +1,11 @@ >+--- metadata.c.orig 2019-05-08 21:19:46 UTC >++++ metadata.c >+@@ -502,7 +502,7 @@ GetAudioMetadata(const char *path, const char *name) >+ } >+ >+ /* For libjpeg error handling */ >+-jmp_buf setjmp_buffer; >++static jmp_buf setjmp_buffer; >+ static void >+ libjpeg_error_handler(j_common_ptr cinfo) >+ { > >Property changes on: net/minidlna/files/patch-metadata.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 248740
: 217325