- refresh patch, - adapt patch from Jonathan Perkin (jperkin) from: http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/net/mDNSResponder/patches/patch-mDNSShared_dnsextd__parser.y
Fix for bison-3 syntax. Signed-off-by: Dirk Neukirchen <[email protected]> --- net/mdnsresponder/patches/002-uclibc.patch | 7 ++-- .../patches/010-mDNSShared_dnsextd__parser.patch | 38 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 net/mdnsresponder/patches/010-mDNSShared_dnsextd__parser.patch diff --git a/net/mdnsresponder/patches/002-uclibc.patch b/net/mdnsresponder/patches/002-uclibc.patch index bfb0289..c2ef462 100644 --- a/net/mdnsresponder/patches/002-uclibc.patch +++ b/net/mdnsresponder/patches/002-uclibc.patch @@ -1,7 +1,6 @@ -diff -u --recursive mDNSResponder-214.3.2-vanilla/mDNSPosix/Makefile mDNSResponder-214.3.2/mDNSPosix/Makefile ---- mDNSResponder-214.3.2-vanilla/mDNSPosix/Makefile 2010-10-15 08:38:44.798283212 -0500 -+++ mDNSResponder-214.3.2/mDNSPosix/Makefile 2010-10-15 08:48:27.334503432 -0500 -@@ -361,12 +361,16 @@ +--- a/mDNSPosix/Makefile ++++ b/mDNSPosix/Makefile +@@ -362,12 +362,16 @@ STRIP = strip endif else diff --git a/net/mdnsresponder/patches/010-mDNSShared_dnsextd__parser.patch b/net/mdnsresponder/patches/010-mDNSShared_dnsextd__parser.patch new file mode 100644 index 0000000..42c7304 --- /dev/null +++ b/net/mdnsresponder/patches/010-mDNSShared_dnsextd__parser.patch @@ -0,0 +1,38 @@ +--- a/mDNSShared/dnsextd_parser.y ++++ b/mDNSShared/dnsextd_parser.y +@@ -56,7 +56,7 @@ Revision 1.1 2006/07/06 00:09:05 chesh + #include "DebugServices.h" + #include "dnsextd.h" + +-void yyerror( const char* error ); ++void yyerror( void *context, const char* error ); + int yylex(void); + + +@@ -114,8 +114,6 @@ static ZoneSpec * g_zones; + static ZoneSpec g_zoneSpec; + static const char * g_filename; + +-#define YYPARSE_PARAM context +- + void + SetupOptions + ( +@@ -125,6 +123,8 @@ SetupOptions + + %} + ++%parse-param { void *context } ++ + %union + { + int number; +@@ -411,7 +411,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 ); + } -- 1.8.1.2 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
