pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/mDNSResponder



Module Name:    pkgsrc
Committed By:   hauke
Date:           Mon Nov 25 09:25:42 UTC 2024

Modified Files:
        pkgsrc/net/mDNSResponder: distinfo
Added Files:
        pkgsrc/net/mDNSResponder/patches: patch-mDNSShared_dnsextd__parser.y

Log Message:
Bring back patch for bison3 compatibility.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/net/mDNSResponder/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/net/mDNSResponder/patches/patch-mDNSShared_dnsextd__parser.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mDNSResponder/distinfo
diff -u pkgsrc/net/mDNSResponder/distinfo:1.40 pkgsrc/net/mDNSResponder/distinfo:1.41
--- pkgsrc/net/mDNSResponder/distinfo:1.40      Wed Nov 20 17:56:20 2024
+++ pkgsrc/net/mDNSResponder/distinfo   Mon Nov 25 09:25:42 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2024/11/20 17:56:20 hauke Exp $
+$NetBSD: distinfo,v 1.41 2024/11/25 09:25:42 hauke Exp $
 
 BLAKE2s (mDNSResponder-2559.1.1.tar.gz) = e72fbea9df78d0cf811e1af6d08483973487210594e165b7b075f0b32f595d97
 SHA512 (mDNSResponder-2559.1.1.tar.gz) = 1112d78e3a46115ffdae4849d847a6cfe1052d6e4a6af3afa6058eb900ac7f7c8fee20874b479ff3d40af2da95a371241f2c821a193f148f844bf9efc06fcc79
@@ -7,5 +7,6 @@ SHA1 (patch-mDNSPosix_Makefile) = 3e9102
 SHA1 (patch-mDNSPosix_mDNSPosix.c) = bfefa8d1252d0ba9afdf6506dd6686492dd1f10b
 SHA1 (patch-mDNSPosix_mDNSUNP.c) = a900ad9991aaee21fbe9094a65900b1d172c2abc
 SHA1 (patch-mDNSShared_CommonServices.h) = b67ab3e9821cb30406ff5cfb1a394c5b18bb0009
+SHA1 (patch-mDNSShared_dnsextd__parser.y) = dde7eca76c2b5158c2ac96764f91ce773464094a
 SHA1 (patch-mDNSShared_dnssd__clientstub.c) = 1c9a7d39101feebdac80f4982f1003da343c60e7
 SHA1 (patch-mDNSShared_uds__daemon.c) = c647c27f82cc80a5576d1c934d978260489311e7

Added files:

Index: pkgsrc/net/mDNSResponder/patches/patch-mDNSShared_dnsextd__parser.y
diff -u /dev/null pkgsrc/net/mDNSResponder/patches/patch-mDNSShared_dnsextd__parser.y:1.3
--- /dev/null   Mon Nov 25 09:25:42 2024
+++ pkgsrc/net/mDNSResponder/patches/patch-mDNSShared_dnsextd__parser.y Mon Nov 25 09:25:42 2024
@@ -0,0 +1,42 @@
+$NetBSD: patch-mDNSShared_dnsextd__parser.y,v 1.3 2024/11/25 09:25:42 hauke Exp $
+
+Support bison3 syntax.
+
+--- mDNSShared/dnsextd_parser.y.orig   2010-03-17 20:26:12.000000000 +0000
++++ mDNSShared/dnsextd_parser.y
+@@ -23,7 +23,7 @@
+ #include "DebugServices.h"
+ #include "dnsextd.h"
+ 
+-void yyerror( const char* error );
++void yyerror( void *context, const char* error );
+ int  yylex(void);
+ 
+ 
+@@ -81,8 +81,6 @@ static ZoneSpec                      *       g_zones;
+ static ZoneSpec                               g_zoneSpec;
+ static const char             *       g_filename;
+ 
+-#define YYPARSE_PARAM  context
+-
+ void
+ SetupOptions
+       (
+@@ -92,6 +90,8 @@ SetupOptions
+ 
+ %}
+ 
++%parse-param { void *context }
++
+ %union
+ {
+       int                     number;
+@@ -378,7 +378,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 );
+ }



Home | Main Index | Thread Index | Old Index