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.

29 lines
1.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libtirpc/no-gss.patch
  5. # Copyright (C) 2009 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. if gss is disabled, then svc_auth_gss_ops won't be available
  17. --- ./src/svc.c.orig
  18. +++ ./src/svc.c
  19. @@ -77,7 +77,7 @@
  20. extern rwlock_t svc_lock;
  21. extern rwlock_t svc_fd_lock;
  22. -extern struct svc_auth_ops svc_auth_gss_ops;
  23. +extern struct svc_auth_ops svc_auth_gss_ops __attribute__((weak));
  24. static struct svc_callout *svc_find (rpcprog_t, rpcvers_t,
  25. struct svc_callout **, char *);