Description: Use system install libpcap instead of embedded lib
 The upstream tarball included an embedded copy of libpcap and builds it as
 part of the normal build with a Makefile wrapper. To keep licensing
 simpler, build against the existing libpcap package provided by the
 system.
Author: Loren M. Lang <lorenl@north-winds.org>
Forwarded: no
Last-Update: 2024-02-24

--- pwru-1.0.5.orig/internal/libpcap/compile.go
+++ pwru-1.0.5/internal/libpcap/compile.go
@@ -10,8 +10,7 @@ import (
 )
 
 /*
-#cgo CFLAGS: -I${SRCDIR}/../../libpcap
-#cgo LDFLAGS: -L${SRCDIR}/../../libpcap -lpcap -static
+#cgo pkg-config: libpcap
 #include <stdlib.h>
 #include <pcap.h>
 */
