[packages] mdnsresponder: update to 379.37
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/packages@38771 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
29
net/mdnsresponder/patches/002-newer-bison.patch
Normal file
29
net/mdnsresponder/patches/002-newer-bison.patch
Normal file
@ -0,0 +1,29 @@
|
||||
--- a/mDNSShared/dnsextd_parser.y
|
||||
+++ b/mDNSShared/dnsextd_parser.y
|
||||
@@ -15,6 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
+%parse-param { void *context }
|
||||
+
|
||||
%{
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -23,7 +25,7 @@
|
||||
#include "DebugServices.h"
|
||||
#include "dnsextd.h"
|
||||
|
||||
-void yyerror( const char* error );
|
||||
+void yyerror( void *context, const char* error );
|
||||
int yylex(void);
|
||||
|
||||
|
||||
@@ -378,7 +380,7 @@ int yywrap(void);
|
||||
|
||||
extern int yylineno;
|
||||
|
||||
-void yyerror( const char *str )
|
||||
+void yyerror( void *context, const char *str )
|
||||
{
|
||||
fprintf( stderr,"%s:%d: error: %s\n", g_filename, yylineno, str );
|
||||
}
|
Reference in New Issue
Block a user