components/krb5/patches/012-libgss_filter.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Sun, 23 Oct 2016 23:54:15 -0700
changeset 7198 337a99283a60
parent 6978 14cbeb78966a
permissions -rw-r--r--
23245360 Move vino to Userland and update to 3.18.0 22144547 problem in GNOME/REMOTE-DESKTOP PSARC/2016/483 Vino v.3.18

#
# This patch handles building libgss_stubs.o for libgss filter library,
# which contains the following wrappers:
#     __gss_mech_to_oid -> gssint_mech_to_oid
#     __gss_oid_to_mech -> gssint_oid_to_mech
#     __gss_get_mechanisms -> gssint_get_mechanisms
#     __gss_get_kmodName -> gssint_get_kmodName
#     __gss_get_mechanism -> gssint_get_mechanism
#     __gss_get_modOptions -> gssint_get_modOptions
#     __gss_userok -> gss_authorize_localname
#
# This patch is for backward compatibility with applications linked against
# Solaris Kerberos libraries and is not intended for upstream contribution.
# Patch source: in-house
#
--- a/src/lib/gssapi/mechglue/Makefile.in
+++ b/src/lib/gssapi/mechglue/Makefile.in
@@ -72,7 +72,8 @@ SRCS = \
 	$(srcdir)/g_verify.c \
 	$(srcdir)/g_wrap_aead.c \
 	$(srcdir)/g_wrap_iov.c \
-	$(srcdir)/gssd_pname_to_uid.c
+	$(srcdir)/gssd_pname_to_uid.c \
+	$(srcdir)/libgss_stubs.c
 
 OBJS = \
 	$(OUTPRE)g_accept_sec_context.$(OBJEXT) \
@@ -137,7 +138,8 @@ OBJS = \
 	$(OUTPRE)g_verify.$(OBJEXT) \
 	$(OUTPRE)g_wrap_aead.$(OBJEXT) \
 	$(OUTPRE)g_wrap_iov.$(OBJEXT) \
-	$(OUTPRE)gssd_pname_to_uid.$(OBJEXT)
+	$(OUTPRE)gssd_pname_to_uid.$(OBJEXT) \
+	$(OUTPRE)libgss_stubs.$(OBJEXT)
 
 STLIBOBJS = \
 	g_accept_sec_context.o \
@@ -209,7 +211,7 @@ EXPORTED_HEADERS = mechglue.h
 
 $(OBJS): $(EXPORTED_HEADERS)
 
-all-unix:: all-libobjs
+all-unix:: all-libobjs libgss_stubs.o
 
 ##DOS##LIBOBJS = $(OBJS)