Accepting request 285468 from home:k0da:branches:network

- PowerPC can build shared libraries for sure.
  idnkit-powerpc-ltconfig.patch

OBS-URL: https://build.opensuse.org/request/show/285468
OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=163
This commit is contained in:
Marcus Meissner 2015-02-11 12:29:20 +00:00 committed by Git OBS Bridge
parent 4d1f101c72
commit a72d9724b3
3 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 10 22:24:26 UTC 2015 - dvaleev@suse.com
- PowerPC can build shared libraries for sure.
idnkit-powerpc-ltconfig.patch
-------------------------------------------------------------------
Fri Dec 12 02:28:36 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package bind
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -42,6 +42,7 @@ Patch51: pie_compile.diff
Patch52: named-bootconf.diff
Patch53: bind-sdb-ldap.patch
Patch101: runidn.diff
Patch102: idnkit-powerpc-ltconfig.patch
BuildRequires: krb5-devel
BuildRequires: libcap
BuildRequires: libcap-devel
@ -368,6 +369,7 @@ Name Domain (BIND) DNS server is found in the package named bind.
%patch52
%patch53
%patch101 -p1
%patch102 -p1
# modify settings of some files regarding to OS version and vendor
function replaceStrings()
{

View File

@ -0,0 +1,12 @@
Index: bind-9.10.1-P1/contrib/idn/idnkit-1.0-src/ltconfig
===================================================================
--- bind-9.10.1-P1.orig/contrib/idn/idnkit-1.0-src/ltconfig
+++ bind-9.10.1-P1/contrib/idn/idnkit-1.0-src/ltconfig
@@ -1999,7 +1999,6 @@ linux-gnu*)
else
# Only the GNU ld.so supports shared libraries on MkLinux.
case "$host_cpu" in
- powerpc*) dynamic_linker=no ;;
*) dynamic_linker='Linux ld.so' ;;
esac
fi