Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 884127 Details for
Bug 923647
net-libs/libdom-0.4.2 - bindings/xml/libxml_xmlparser.c:146:20: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-bindings-xml-libxml_xmlparser.c-add-stdlib.h-include.patch
0001-bindings-xml-libxml_xmlparser.c-add-stdlib.h-include.patch (text/plain), 905 bytes, created by
Michael Orlitzky
on 2024-02-03 13:12:02 UTC
(
hide
)
Description:
0001-bindings-xml-libxml_xmlparser.c-add-stdlib.h-include.patch
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2024-02-03 13:12:02 UTC
Size:
905 bytes
patch
obsolete
>From 15898de03539ad2376cca591c39c60134a7d4a12 Mon Sep 17 00:00:00 2001 >From: Michael Orlitzky <michael@orlitzky.com> >Date: Sat, 3 Feb 2024 08:05:34 -0500 >Subject: [PATCH 1/1] bindings/xml/libxml_xmlparser.c: add stdlib.h include > >This file uses malloc() but does not include stdlib.h directly. With >glibc, that apparently works out just fine... but with musl, it leads >to implicit declaration warnings/errors, most likely because musl does >not include stdlib.h transitively via any of the other headers used by >this file. >--- > bindings/xml/libxml_xmlparser.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/bindings/xml/libxml_xmlparser.c b/bindings/xml/libxml_xmlparser.c >index e4a6d80..28aadf1 100644 >--- a/bindings/xml/libxml_xmlparser.c >+++ b/bindings/xml/libxml_xmlparser.c >@@ -6,6 +6,7 @@ > */ > > #include <stdbool.h> >+#include <stdlib.h> > #include <string.h> > #include <assert.h> > >-- >2.43.0 >
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 923647
:
884073
|
884074
| 884127