glibc: re-add RPC/NIS support, patches from Arch.
This commit is contained in:
parent
3a34ac143e
commit
1abe1dbd65
4 changed files with 56 additions and 2 deletions
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development: headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
revision=2
|
||||
Add_dependency run kernel-libc-headers
|
||||
Add_dependency run glibc
|
||||
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
|
||||
index 67e1ca2..5e7cca5 100644
|
||||
--- include/libc-symbols.h
|
||||
+++ include/libc-symbols.h
|
||||
@@ -635,7 +635,7 @@ for linking")
|
||||
# define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
|
||||
# define libc_hidden_def(name) hidden_def (name)
|
||||
# define libc_hidden_weak(name) hidden_weak (name)
|
||||
-# define libc_hidden_nolink(name, version) hidden_nolink (name, libc, version)
|
||||
+# define libc_hidden_nolink(name, version) hidden_def (name)
|
||||
# define libc_hidden_ver(local, name) hidden_ver (local, name)
|
||||
# define libc_hidden_data_def(name) hidden_data_def (name)
|
||||
# define libc_hidden_data_weak(name) hidden_data_weak (name)
|
||||
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
|
||||
index 5134ce9..40c73d1 100644
|
||||
--- sunrpc/Makefile
|
||||
+++ sunrpc/Makefile
|
||||
@@ -53,7 +53,7 @@ headers-in-tirpc = $(addprefix rpc/,auth.h auth_unix.h clnt.h pmap_clnt.h \
|
||||
des_crypt.h)
|
||||
headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \
|
||||
$(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h
|
||||
-headers = rpc/netdb.h
|
||||
+headers = rpc/netdb.h $(headers-in-tirpc) $(headers-not-in-tirpc)
|
||||
install-others = $(inst_sysconfdir)/rpc
|
||||
generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \
|
||||
$(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen
|
|
@ -0,0 +1,28 @@
|
|||
From bdd816a366c4e5bba5de7157d948e0c0737fb4fb Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Schwab <schwab@redhat.com>
|
||||
Date: Tue, 17 May 2011 17:42:30 +0200
|
||||
Subject: [PATCH] Reinstall NIS RPC headers
|
||||
|
||||
---
|
||||
nis/Makefile | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/nis/Makefile b/nis/Makefile
|
||||
index b5c9609..d2934d9 100644
|
||||
--- nis/Makefile
|
||||
+++ nis/Makefile
|
||||
@@ -23,9 +23,9 @@ subdir := nis
|
||||
|
||||
aux := nis_hash
|
||||
|
||||
+headers := $(wildcard rpcsvc/*.[hx])
|
||||
distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \
|
||||
- nisplus-parser.h nis_xdr.h nss \
|
||||
- $(wildcard rpcsvc/*.[hx])
|
||||
+ nisplus-parser.h nis_xdr.h nss
|
||||
|
||||
# These are the databases available for the nis (and perhaps later nisplus)
|
||||
# service. This must be a superset of the services in nss.
|
||||
--
|
||||
1.7.5.4
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'glibc'
|
||||
pkgname=glibc
|
||||
version=2.14
|
||||
revision=1
|
||||
revision=2
|
||||
distfiles="http://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.bz2"
|
||||
build_style=custom-install
|
||||
short_desc="The GNU C library"
|
||||
|
|
Loading…
Reference in a new issue