Accepting request 52268 from devel:libraries:c_c++
Accepted submit request 52268 from user elvigia OBS-URL: https://build.opensuse.org/request/show/52268 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adns?expand=0&rev=11
This commit is contained in:
parent
3ee6ce3a8a
commit
03595f362d
49
adns-visibility.patch
Normal file
49
adns-visibility.patch
Normal file
@ -0,0 +1,49 @@
|
||||
--- configure.in.orig
|
||||
+++ configure.in
|
||||
@@ -252,7 +252,7 @@ SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
|
||||
SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
|
||||
|
||||
SHLIBCC='$(CC) $(CFLAGS) -fpic'
|
||||
-MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
|
||||
+MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME),-version-script=$(srcdir)/../adns.sym -o'
|
||||
MKSHLIB_2=''
|
||||
MKSHLIB_3='-lc'
|
||||
|
||||
--- /dev/null
|
||||
+++ adns.sym
|
||||
@@ -0,0 +1,35 @@
|
||||
+{
|
||||
+ global:
|
||||
+adns_afterselect;
|
||||
+adns_beforepoll;
|
||||
+adns_beforeselect;
|
||||
+adns_cancel;
|
||||
+adns_check;
|
||||
+adns_checkconsistency;
|
||||
+adns_errabbrev;
|
||||
+adns_errtypeabbrev;
|
||||
+adns_finish;
|
||||
+adns_firsttimeout;
|
||||
+adns_forallqueries_begin;
|
||||
+adns_forallqueries_next;
|
||||
+adns_getaddrinfo;
|
||||
+adns_globalsystemfailure;
|
||||
+adns_init;
|
||||
+adns_init_logfn;
|
||||
+adns_init_strcfg;
|
||||
+adns_processany;
|
||||
+adns_processexceptional;
|
||||
+adns_processreadable;
|
||||
+adns_processtimeouts;
|
||||
+adns_processwriteable;
|
||||
+adns_rr_info;
|
||||
+adns_strerror;
|
||||
+adns_submit;
|
||||
+adns_submit_reverse;
|
||||
+adns_submit_reverse_any;
|
||||
+adns_synchronous;
|
||||
+adns_wait;
|
||||
+adns_wait_poll;
|
||||
+
|
||||
+local: *;
|
||||
+};
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 5 20:35:16 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
- export only public symbols
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 16 23:00:59 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
|
@ -31,6 +31,7 @@ Source1: README.SUSE
|
||||
Patch0: %{name}-%{version}-destdir.patch
|
||||
Patch1: %{name}-%{version}-configure.patch
|
||||
Patch2: %{name}-%{version}-ipv6.patch
|
||||
Patch3: adns-visibility.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -81,6 +82,7 @@ Authors:
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
cp %{S:1} .
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user