From: Russ Allbery Date: Sat, 10 Nov 2007 03:33:55 +0000 (+0000) Subject: * Expose prototypes for the ktc_* functions. (Closes: #449432) X-Git-Tag: debian/1.4.5.dfsg1-1~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6081c9b71a021ee60a56a96d7fcbe8c3eb5f7586;p=packages%2Fo%2Fopenafs.git * Expose prototypes for the ktc_* functions. (Closes: #449432) --- diff --git a/debian/changelog b/debian/changelog index f150f9135..978c8dba6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,9 @@ openafs (1.4.5.dfsg1-1) unstable; urgency=low * Fix signing the generated the changes file on a kernel module build. The module build file reorganization required an additional change to genchanges. Thanks, Anders Kaseorg. (Closes: #448449) + * Expose prototypes for the ktc_* functions. (Closes: #449432) - -- Russ Allbery Fri, 09 Nov 2007 19:09:32 -0800 + -- Russ Allbery Fri, 09 Nov 2007 19:36:41 -0800 openafs (1.4.5~pre2.dfsg1-1) unstable; urgency=low diff --git a/debian/patches/ktc-prototypes b/debian/patches/ktc-prototypes new file mode 100644 index 000000000..5e59a4534 --- /dev/null +++ b/debian/patches/ktc-prototypes @@ -0,0 +1,24 @@ +Expose prototypes for the ktc_* functions on platforms other than Windows. +Fixed upstream in a different way, but only on the 1.5 branch. + +Debian Bug#449432 + +--- openafs.orig/src/auth/auth.p.h ++++ openafs/src/auth/auth.p.h +@@ -24,7 +24,6 @@ + char ticket[MAXKTCTICKETLEN]; + }; + +-#ifdef AFS_NT40_ENV + extern int ktc_SetToken(struct ktc_principal *server, struct ktc_token *token, + struct ktc_principal *client, afs_int32 flags); + +@@ -38,6 +37,8 @@ + + extern int ktc_ForgetAllTokens(void); + ++#ifdef AFS_NT40_ENV ++ + /* Flags for the flag word sent along with a token */ + #define PIOCTL_LOGON 0x1 /* invoked from integrated logon */ + diff --git a/debian/patches/series b/debian/patches/series index 7ca93e529..1a44cd8de 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -8,3 +8,4 @@ compiler-flags no-admin-reference ucontext-everywhere find-core-files +ktc-prototypes