From: Aria Date: Sat, 16 Feb 2013 22:57:21 +0000 (-0700) Subject: add yy_aconf patch X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=32a292c8cdb429a71a609dd852d0e22c553ff217;p=packages%2Fircd-hybrid.git add yy_aconf patch --- diff --git a/ircd-hybrid-yy_aconf.patch b/ircd-hybrid-yy_aconf.patch new file mode 100644 index 0000000..844904d --- /dev/null +++ b/ircd-hybrid-yy_aconf.patch @@ -0,0 +1,14 @@ +Only in ircd-hybrid-7.0.3/include: s_conf.h~ +diff -ur ircd-hybrid-7.0.3-o/src/ircd_parser.y ircd-hybrid-7.0.3/src/ircd_parser.y +--- ircd-hybrid-7.0.3-o/src/ircd_parser.y 2003-10-25 20:08:23.000000000 -0600 ++++ ircd-hybrid-7.0.3/src/ircd_parser.y 2013-02-16 15:54:52.000000000 -0700 +@@ -58,7 +58,7 @@ + int yyparse(); + + static struct ConfItem *yy_achead = NULL; +-static struct ConfItem *yy_aconf = NULL; ++struct ConfItem *yy_aconf = NULL; + static struct ConfItem *yy_aprev = NULL; + static int yy_acount = 0; + static struct ConfItem *yy_hconf; +Only in ircd-hybrid-7.0.3/src: ircd_parser.y~ diff --git a/ircd-hybrid.spec b/ircd-hybrid.spec index 6e04840..e4bc4c7 100644 --- a/ircd-hybrid.spec +++ b/ircd-hybrid.spec @@ -25,6 +25,7 @@ Patch0: %{name}-config.patch Patch1: %{name}-change_uid.patch Patch2: %{name}-opt.patch Patch3: %{name}-open-3-args.patch +Patch4: %{name}-yy_aconf.patch URL: http://www.ircd-hybrid.org/ BuildRequires: autoconf BuildRequires: automake @@ -68,6 +69,7 @@ IPv6. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build mv -f autoconf/{configure.in,acconfig.h} .