Marcus Meissner
1e26a2fb1a
krb5 5.12.2 - Fix build with doxygen 1.8.8 - adding krb5-1.12-doxygen.patch from upstream See https://build.opensuse.org/request/show/246780 OBS-URL: https://build.opensuse.org/request/show/246966 OBS-URL: https://build.opensuse.org/package/show/network/krb5?expand=0&rev=128
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
commit b7a4d695263f1a5b7fe72b1eadce4acdc3f0490b
|
|
From: Ben Kaduk <kaduk@mit.edu>
|
|
Date: Thu Aug 28 17:54:39 2014 -0400
|
|
Subject: Map .hin files to the C language for doxygen
|
|
Upstream: Committed
|
|
References: https://github.com/krb5/krb5/commit/b7a4d695263f1a5b7fe72b1eadce4acdc3f0490b https://github.com/krb5/krb5/pull/198
|
|
|
|
Doxygen 1.8.8 is unhappy with the generated Doxyfile, and does not
|
|
handle krb5.hin in the expected fashion (as a C header). Work
|
|
around this issue by explicitly specifying that files with the
|
|
.hin extension are to be treated as C language files.
|
|
|
|
Fixes the following build failure with doxygen 1.8.8:
|
|
|
|
[ 326s] cp rst_apiref/*.rst rst_composite/appdev/refs/api
|
|
[ 326s] cp: cannot stat 'rst_apiref/*.rst': No such file or directory
|
|
[ 326s] Makefile:692: recipe for target 'composite' failed
|
|
[ 326s] make: *** [composite] Error 1
|
|
|
|
diff --git a/src/doc/Doxyfile.in b/src/doc/Doxyfile.in
|
|
index 2082b6d..c225864 100644
|
|
--- a/src/doc/Doxyfile.in
|
|
+++ b/src/doc/Doxyfile.in
|
|
@@ -4,6 +4,7 @@ JAVADOC_AUTOBRIEF = YES
|
|
OPTIMIZE_OUTPUT_FOR_C = YES
|
|
WARN_IF_UNDOCUMENTED = NO
|
|
SHOW_FILES = NO
|
|
+EXTENSION_MAPPING = hin=C
|
|
INPUT = @SRC@/include/krb5/krb5.hin @DOC@/doxy_examples
|
|
EXAMPLE_PATH = @DOC@/doxy_examples
|
|
GENERATE_HTML = NO
|
|
lines 1-28/28 (END)
|