aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/fix-compile.patch
blob: 4ffa97d41b7352c687159534371fdfb12187b4f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
--- a/etpo/lexer.l
+++ b/etpo/lexer.l
@@ -62,6 +62,8 @@ error_code|ec		{ yylval.sval = g_strdup(
 static GList *filenames = NULL, *filename = NULL;
 const char *currentfile = NULL;
 
+int yyerror(void);
+
 int
 yyerror(void)
 {
--- a/etpo/grammar.h
+++ b/etpo/grammar.h
@@ -40,6 +40,8 @@
 extern int yydebug;
 #endif
 
+extern int yylex (void);
+
 /* Token type.  */
 #ifndef YYTOKENTYPE
 # define YYTOKENTYPE
--- a/etpo/grammar.c
+++ b/etpo/grammar.c
@@ -88,6 +88,9 @@
 static const char *table = "unknown";
 extern const char *currentfile;
 
+extern int yylex(void);
+extern int yyerror();
+
 #line 92 "grammar.c" /* yacc.c:339  */
 
 # ifndef YY_NULLPTR
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,7 +26,7 @@ $(service_DATA): $(service_in_files) Mak
 	sed -e "s|\@BINDIR\@|$(bindir)|" $< > $@
 
 @INTLTOOL_XML_RULE@
-appdatadir       = $(datadir)/appdata
+appdatadir       = $(datadir)/metainfo
 appdata_in_files = krb5-auth-dialog.appdata.xml.in
 appdata_DATA     = $(appdata_in_files:.xml.in=.xml)
 
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -434,7 +434,7 @@ dist_convert_DATA = org.gnome.KrbAuthDia
 servicedir = $(datadir)/dbus-1/services
 service_in_files = org.gnome.KrbAuthDialog.service.in
 service_DATA = $(service_in_files:.service.in=.service)
-appdatadir = $(datadir)/appdata
+appdatadir = $(datadir)/metainfo
 appdata_in_files = krb5-auth-dialog.appdata.xml.in
 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
 krb5_auth_dialog_SOURCES = \
--- a/src/krb5-auth-dialog.1.in
+++ b/src/krb5-auth-dialog.1.in
@@ -17,7 +17,7 @@ credentials, prompting the user for what
 
 .TP
 \fB--auto\fR
-If this option is specified, \fkrb5-auth-dialog\f will start only if it
+If this option is specified, \fBkrb5-auth-dialog\fR will start only if it
 finds that the user has Kerberos credentials. This may be used to
 ensure that only users who actually use Kerberos see the program.
 Note that in some settings, users may authenticate to Kerberos at a
bgstack15