summaryrefslogtreecommitdiff
path: root/audio/nas
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-01-04 10:34:10 +0000
committerjperkin <jperkin@pkgsrc.org>2017-01-04 10:34:10 +0000
commitbc48712a52309c60e1e5a7aa2a7578f067daa918 (patch)
tree7b088115453b990788f2fe576f1ddd76a4f14d04 /audio/nas
parenteb4e6d247a9f4c5ba0dc3243ff2f507ee495bb6a (diff)
downloadpkgsrc-bc48712a52309c60e1e5a7aa2a7578f067daa918.tar.gz
Ensure the local yywrap is used. Fixes build with newer flex.
Diffstat (limited to 'audio/nas')
-rw-r--r--audio/nas/distinfo3
-rw-r--r--audio/nas/patches/patch-server_dia_lex.l14
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/nas/distinfo b/audio/nas/distinfo
index 3719a0a1aff..970afbadff9 100644
--- a/audio/nas/distinfo
+++ b/audio/nas/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.34 2015/11/03 01:12:43 agc Exp $
+$NetBSD: distinfo,v 1.35 2017/01/04 10:34:10 jperkin Exp $
SHA1 (nas-1.9.4.src.tar.gz) = a251c5b771f9d7fa98f65e5830a039b28f8a6995
RMD160 (nas-1.9.4.src.tar.gz) = 9622263075b1d24fb27dd06c9edecc91ac3157ae
@@ -12,3 +12,4 @@ SHA1 (patch-ae) = 2e88c42f849ec2e3eb942f79d05065ec8ddd1a9e
SHA1 (patch-af) = 9e387f88504d6ef18ad4210af24702de61efbf1a
SHA1 (patch-ag) = c43bab8c87efa5c770dd084d67ffa9897350810f
SHA1 (patch-server_dia_auservertype.h) = 8ee2d064797837a1fcfd6c1389e09879f015cc9b
+SHA1 (patch-server_dia_lex.l) = dbfbf4adcad53034d633d59959d08a7464774b85
diff --git a/audio/nas/patches/patch-server_dia_lex.l b/audio/nas/patches/patch-server_dia_lex.l
new file mode 100644
index 00000000000..63612764607
--- /dev/null
+++ b/audio/nas/patches/patch-server_dia_lex.l
@@ -0,0 +1,14 @@
+$NetBSD: patch-server_dia_lex.l,v 1.1 2017/01/04 10:34:10 jperkin Exp $
+
+Ensure the local yywrap is used.
+
+--- server/dia/lex.l.orig 2013-04-27 00:41:06.000000000 +0000
++++ server/dia/lex.l
+@@ -5,6 +5,7 @@
+ #include "auservertype.h"
+ #include "gram.h"
+ #include "nasconf.h"
++#undef yywrap
+
+ int Lineno = 1; /* current line number of the scanner */
+