Fix build with bison 1.75.
Reported by: bento
This commit is contained in:
parent
0e54aadc86
commit
9f29b29a30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71306
42
net-im/gtkyahoo/files/patch-rcfile.y
Normal file
42
net-im/gtkyahoo/files/patch-rcfile.y
Normal file
@ -0,0 +1,42 @@
|
||||
--- rcfile.y.orig Sun Dec 1 22:51:31 2002
|
||||
+++ rcfile.y Sun Dec 1 22:53:42 2002
|
||||
@@ -253,11 +253,13 @@
|
||||
| config_options idle_time_option
|
||||
| config_options show_notify_messages_option
|
||||
| config_options display_real_names_option
|
||||
+ ;
|
||||
|
||||
contact_options: /* empty */
|
||||
| contact_options name_option
|
||||
| contact_options event_option
|
||||
| contact_options email_option
|
||||
+ ;
|
||||
|
||||
name_option: NAME QSTRING {
|
||||
DBG_Print("rcfile", "[RC] Got contact name (%s)\n", $2);
|
||||
@@ -278,17 +280,14 @@
|
||||
if ( images.status.away )
|
||||
free(images.status.away);
|
||||
images.status.away = strdup($2); }
|
||||
- ;
|
||||
| IMAGE_STATUS_IDLE QSTRING {
|
||||
if ( images.status.idle )
|
||||
free(images.status.idle);
|
||||
images.status.idle = strdup($2); }
|
||||
- ;
|
||||
| IMAGE_STATUS_HERE QSTRING {
|
||||
if ( images.status.here )
|
||||
free(images.status.here);
|
||||
images.status.here = strdup($2); }
|
||||
- ;
|
||||
| IMAGE_STATUS_OFFLINE QSTRING {
|
||||
if ( images.status.offline )
|
||||
free(images.status.offline);
|
||||
@@ -327,7 +326,6 @@
|
||||
DBG_Print("rcfile", "[RC] Set proxy host to '%s'\n", $2);
|
||||
proxy_host = strdup($2); }
|
||||
}
|
||||
- ;
|
||||
| PROXY_PORT INTEGER {
|
||||
if (config_match) {
|
||||
proxy_port = $2;
|
42
net/gtkyahoo/files/patch-rcfile.y
Normal file
42
net/gtkyahoo/files/patch-rcfile.y
Normal file
@ -0,0 +1,42 @@
|
||||
--- rcfile.y.orig Sun Dec 1 22:51:31 2002
|
||||
+++ rcfile.y Sun Dec 1 22:53:42 2002
|
||||
@@ -253,11 +253,13 @@
|
||||
| config_options idle_time_option
|
||||
| config_options show_notify_messages_option
|
||||
| config_options display_real_names_option
|
||||
+ ;
|
||||
|
||||
contact_options: /* empty */
|
||||
| contact_options name_option
|
||||
| contact_options event_option
|
||||
| contact_options email_option
|
||||
+ ;
|
||||
|
||||
name_option: NAME QSTRING {
|
||||
DBG_Print("rcfile", "[RC] Got contact name (%s)\n", $2);
|
||||
@@ -278,17 +280,14 @@
|
||||
if ( images.status.away )
|
||||
free(images.status.away);
|
||||
images.status.away = strdup($2); }
|
||||
- ;
|
||||
| IMAGE_STATUS_IDLE QSTRING {
|
||||
if ( images.status.idle )
|
||||
free(images.status.idle);
|
||||
images.status.idle = strdup($2); }
|
||||
- ;
|
||||
| IMAGE_STATUS_HERE QSTRING {
|
||||
if ( images.status.here )
|
||||
free(images.status.here);
|
||||
images.status.here = strdup($2); }
|
||||
- ;
|
||||
| IMAGE_STATUS_OFFLINE QSTRING {
|
||||
if ( images.status.offline )
|
||||
free(images.status.offline);
|
||||
@@ -327,7 +326,6 @@
|
||||
DBG_Print("rcfile", "[RC] Set proxy host to '%s'\n", $2);
|
||||
proxy_host = strdup($2); }
|
||||
}
|
||||
- ;
|
||||
| PROXY_PORT INTEGER {
|
||||
if (config_match) {
|
||||
proxy_port = $2;
|
Loading…
Reference in New Issue
Block a user