forked from pool/expat
Accepting request 383019 from home:elvigia:branches:devel:libraries:c_c++
- After simplification of expat-visibility.patch, it became uneffective as no symbols are getting hidden. add -fvisibility=hidden to CFLAGS again. - expat-alloc-size.patch: fix braino, realloc()-like functions should not take __attribute__(malloc) OBS-URL: https://build.opensuse.org/request/show/383019 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=45
This commit is contained in:
parent
8121760156
commit
89d01b6ea1
@ -2,7 +2,7 @@ Index: expat-2.1.1/lib/expat.h
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- expat-2.1.1.orig/lib/expat.h
|
--- expat-2.1.1.orig/lib/expat.h
|
||||||
+++ expat-2.1.1/lib/expat.h
|
+++ expat-2.1.1/lib/expat.h
|
||||||
@@ -973,9 +973,13 @@ XML_FreeContentModel(XML_Parser parser,
|
@@ -973,9 +973,12 @@ XML_FreeContentModel(XML_Parser parser,
|
||||||
|
|
||||||
/* Exposing the memory handling functions used in Expat */
|
/* Exposing the memory handling functions used in Expat */
|
||||||
XMLPARSEAPI(void *)
|
XMLPARSEAPI(void *)
|
||||||
@ -11,7 +11,6 @@ Index: expat-2.1.1/lib/expat.h
|
|||||||
XML_MemMalloc(XML_Parser parser, size_t size);
|
XML_MemMalloc(XML_Parser parser, size_t size);
|
||||||
|
|
||||||
XMLPARSEAPI(void *)
|
XMLPARSEAPI(void *)
|
||||||
+XML_ATTR_MALLOC
|
|
||||||
+XML_ATTR_ALLOC_SIZE(3)
|
+XML_ATTR_ALLOC_SIZE(3)
|
||||||
XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
|
XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
|
||||||
|
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 1 16:32:27 UTC 2016 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- After simplification of expat-visibility.patch, it became
|
||||||
|
uneffective as no symbols are getting hidden. add
|
||||||
|
-fvisibility=hidden to CFLAGS again.
|
||||||
|
- expat-alloc-size.patch: fix braino, realloc()-like functions
|
||||||
|
should not take __attribute__(malloc)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 23 08:31:29 UTC 2016 - idonmez@suse.com
|
Wed Mar 23 08:31:29 UTC 2016 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -72,6 +72,7 @@ cp %{SOURCE1} .
|
|||||||
rm -f examples/*.dsp
|
rm -f examples/*.dsp
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="%optflags -fvisibility=hidden"
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-pic
|
--with-pic
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
Reference in New Issue
Block a user