summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch')
-rw-r--r--sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch b/sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch
new file mode 100644
index 000000000000..8194bedffd29
--- /dev/null
+++ b/sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch
@@ -0,0 +1,18 @@
+diff -urN Linux-PAM-0.75/modules/pam_console/config.y Linux-PAM-0.75.bison/modules/pam_console/config.y
+--- Linux-PAM-0.75/modules/pam_console/config.y 2001-10-02 22:29:10.000000000 +0200
++++ Linux-PAM-0.75.bison/modules/pam_console/config.y 2002-11-21 23:40:36.000000000 +0200
+@@ -117,11 +117,11 @@
+ | stringlist string {$$ = g_slist_append($1, $2);}
+ ;
+
+-optstring: string {$$=$1}
+- | /* empty */ {$$=NULL}
++optstring: string {$$=$1;}
++ | /* empty */ {$$=NULL;}
+ ;
+
+-string: STRING {$$=$1}
++string: STRING {$$=$1;} ;
+
+ %%
+