Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
Date: 2008-02-19
Initial Package Version: 0.9.6
Upstream Status: not submitted, arguably a flex issue.
Origin: self
Description: Allows it to compile with flex-2.5.34.

 flex-2.5.34 seems to be more pedantic, and chokes when it encounters %p
http://sourceforge.net/tracker/index.php?func=detail&aid=1860773&group_id=97492&atid=618177
The info manual apparently used to state that the lex table size declarations
(%p, %n, %a, %e, %k, %o) are silently ignored.

diff -Naur libpcap-0.9.6.orig/scanner.l libpcap-0.9.6/scanner.l
--- libpcap-0.9.6.orig/scanner.l	2007-06-11 10:52:05.000000000 +0100
+++ libpcap-0.9.6/scanner.l	2008-02-13 01:25:12.000000000 +0000
@@ -81,12 +81,14 @@
 B		([0-9A-Fa-f][0-9A-Fa-f]?)
 W		([0-9A-Fa-f][0-9A-Fa-f]?[0-9A-Fa-f]?[0-9A-Fa-f]?)
 
+/*
 %a 18400
 %o 21500
 %e 7600
 %k 4550
 %p 27600
 %n 2000
+*/
 
 V680		{W}:{W}:{W}:{W}:{W}:{W}:{W}:{W}
 
