OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
3.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../glibc/glibc-2.14-reexport-rpc-interface.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From 74c9f73df627d015e171089ad44e0e752cbf1fe5 Mon Sep 17 00:00:00 2001
  17. From: Andreas Schwab <schwab@redhat.com>
  18. Date: Thu, 12 May 2011 17:30:08 +0200
  19. Subject: [PATCH 1/2] Reexport RPC interface
  20. ---
  21. NEWS | 10 ----------
  22. include/libc-symbols.h | 2 +-
  23. sunrpc/Makefile | 2 +-
  24. 3 files changed, 2 insertions(+), 12 deletions(-)
  25. diff --git a/NEWS b/NEWS
  26. index bb517c2..6504f81 100644
  27. --- a/NEWS
  28. +++ b/NEWS
  29. @@ -27,16 +27,6 @@ Version 2.14
  30. 12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792,
  31. 12795, 12811, 12813, 12814, 12841
  32. -* The RPC implementation in libc is obsoleted. Old programs keep working
  33. - but new programs cannot be linked with the routines in libc anymore.
  34. - Programs in need of RPC functionality must be linked against TI-RPC.
  35. - The TI-RPC implementation is IPv6 enabled and there are other benefits.
  36. -
  37. - Visible changes of this change include (obviously) the inability to link
  38. - programs using RPC functions without referencing the TI-RPC library and the
  39. - removal of the RPC headers from the glibc headers.
  40. - Implemented by Ulrich Drepper.
  41. -
  42. * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
  43. syncfs, setns, sendmmsg
  44. diff --git a/include/libc-symbols.h b/include/libc-symbols.h
  45. index 67e1ca2..5e7cca5 100644
  46. --- a/include/libc-symbols.h
  47. +++ b/include/libc-symbols.h
  48. @@ -635,7 +635,7 @@ for linking")
  49. # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
  50. # define libc_hidden_def(name) hidden_def (name)
  51. # define libc_hidden_weak(name) hidden_weak (name)
  52. -# define libc_hidden_nolink(name, version) hidden_nolink (name, libc, version)
  53. +# define libc_hidden_nolink(name, version) hidden_def (name)
  54. # define libc_hidden_ver(local, name) hidden_ver (local, name)
  55. # define libc_hidden_data_def(name) hidden_data_def (name)
  56. # define libc_hidden_data_weak(name) hidden_data_weak (name)
  57. diff --git a/sunrpc/Makefile b/sunrpc/Makefile
  58. index 7245deb..5a47da8 100644
  59. --- a/sunrpc/Makefile
  60. +++ b/sunrpc/Makefile
  61. @@ -53,7 +53,7 @@ headers-in-tirpc = $(addprefix rpc/,auth.h auth_unix.h clnt.h pmap_clnt.h \
  62. des_crypt.h)
  63. headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \
  64. $(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h
  65. -headers = rpc/netdb.h
  66. +headers = rpc/netdb.h $(headers-in-tirpc) $(headers-not-in-tirpc)
  67. install-others = $(inst_sysconfdir)/rpc
  68. generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \
  69. $(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen
  70. --
  71. 1.7.2.3