Accepting request 589805 from home:elvigia:branches:network:utilities
- libmetalink-autotools.patch: update, export only metalink_ symbols using -export-symbols-regex, there is an upstream configure option --enable-gcc-visibility but it is currently incomplete and cannot be used as is OBS-URL: https://build.opensuse.org/request/show/589805 OBS-URL: https://build.opensuse.org/package/show/network:utilities/libmetalink?expand=0&rev=13
This commit is contained in:
parent
da34b84a74
commit
62e52480ae
BIN
libmetalink-0.1.3.tar.xz
(Stored with Git LFS)
BIN
libmetalink-0.1.3.tar.xz
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
|
Index: configure.ac
|
||||||
|
===================================================================
|
||||||
--- configure.ac.orig
|
--- configure.ac.orig
|
||||||
+++ configure.ac
|
+++ configure.ac
|
||||||
@@ -22,9 +22,6 @@
|
@@ -22,9 +22,6 @@
|
||||||
@ -10,7 +12,7 @@
|
|||||||
dnl See versioning rule:
|
dnl See versioning rule:
|
||||||
dnl http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
dnl http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
|
||||||
AC_SUBST(LT_CURRENT, 4)
|
AC_SUBST(LT_CURRENT, 4)
|
||||||
@@ -63,7 +61,10 @@ AC_ARG_ENABLE([gcc-visibility],
|
@@ -66,7 +63,10 @@ AC_ARG_ENABLE([gcc-visibility],
|
||||||
[gcc_visibility=$withval], [gcc_visibility=no])
|
[gcc_visibility=$withval], [gcc_visibility=no])
|
||||||
|
|
||||||
# Checks for programs
|
# Checks for programs
|
||||||
@ -22,6 +24,8 @@
|
|||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
# Package version
|
# Package version
|
||||||
|
Index: lib/libexpat_metalink_parser.c
|
||||||
|
===================================================================
|
||||||
--- lib/libexpat_metalink_parser.c.orig
|
--- lib/libexpat_metalink_parser.c.orig
|
||||||
+++ lib/libexpat_metalink_parser.c
|
+++ lib/libexpat_metalink_parser.c
|
||||||
@@ -130,7 +130,7 @@ METALINK_PUBLIC
|
@@ -130,7 +130,7 @@ METALINK_PUBLIC
|
||||||
@ -33,6 +37,8 @@
|
|||||||
if(docfp == NULL)
|
if(docfp == NULL)
|
||||||
return METALINK_ERR_CANNOT_OPEN_FILE;
|
return METALINK_ERR_CANNOT_OPEN_FILE;
|
||||||
r = metalink_parse_fp(docfp, res);
|
r = metalink_parse_fp(docfp, res);
|
||||||
|
Index: lib/Makefile.am
|
||||||
|
===================================================================
|
||||||
--- lib/Makefile.am.orig
|
--- lib/Makefile.am.orig
|
||||||
+++ lib/Makefile.am
|
+++ lib/Makefile.am
|
||||||
@@ -1,7 +1,7 @@
|
@@ -1,7 +1,7 @@
|
||||||
@ -45,12 +51,17 @@
|
|||||||
@DEFS@
|
@DEFS@
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
@@ -60,4 +60,4 @@ endif
|
@@ -57,6 +57,6 @@ OBJECTS += libexpat_metalink_parser.c
|
||||||
|
endif
|
||||||
|
|
||||||
libmetalink_la_SOURCES = $(HFILES) $(OBJECTS)
|
libmetalink_la_SOURCES = $(HFILES) $(OBJECTS)
|
||||||
libmetalink_la_LDFLAGS = -no-undefined \
|
-libmetalink_la_LDFLAGS = -no-undefined \
|
||||||
|
+libmetalink_la_LDFLAGS = -no-undefined -export-symbols-regex '^metalink_'\
|
||||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||||
- @XML_LIBS@ @EXPAT_LIBS@
|
- @XML_LIBS@ @EXPAT_LIBS@
|
||||||
+ @EXPAT_LIBS@
|
+ @EXPAT_LIBS@
|
||||||
|
Index: test/Makefile.am
|
||||||
|
===================================================================
|
||||||
--- test/Makefile.am.orig
|
--- test/Makefile.am.orig
|
||||||
+++ test/Makefile.am
|
+++ test/Makefile.am
|
||||||
@@ -11,7 +11,7 @@ metalinktest_SOURCES = \
|
@@ -11,7 +11,7 @@ metalinktest_SOURCES = \
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 21 19:36:12 UTC 2018 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- libmetalink-autotools.patch: update, export only
|
||||||
|
metalink_ symbols using -export-symbols-regex, there
|
||||||
|
is an upstream configure option --enable-gcc-visibility
|
||||||
|
but it is currently incomplete and cannot be used as is
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 1 15:14:18 UTC 2015 - p.drouand@gmail.com
|
Tue Dec 1 15:14:18 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package spec
|
# spec file for package libmetalink
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -103,4 +103,4 @@ make %{?_smp_mflags} test
|
|||||||
%{_libdir}/pkgconfig/libmetalink.pc
|
%{_libdir}/pkgconfig/libmetalink.pc
|
||||||
%{_mandir}/man3/metalink*.3*
|
%{_mandir}/man3/metalink*.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user