Skip to content

Commit

Permalink
build without bundled yascreen
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonev committed Sep 9, 2020
1 parent 137af37 commit fedcb7c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use-header-from-system-path.patch
21 changes: 21 additions & 0 deletions debian/patches/use-header-from-system-path.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Description: Use yascreen.h from system instead of local version
Original package includes copy from yascreen library that is packaged
separately.
.
bpfmon (2.46-1) unstable; urgency=medium
.
Author: Boian Bonev <bbonev@ipacct.com>
Forwarded: not-needed
Last-Update: 2020-09-09

--- bpfmon-2.46.orig/Makefile
+++ bpfmon-2.46/Makefile
@@ -40,7 +40,7 @@ MYLDFLAGS=$(LDFLAGS)

STRIP?=strip

-bpfmon.o: bpfmon.c yascreen.h
+bpfmon.o: bpfmon.c
$(CC) $(MYCFLAGS) -c bpfmon.c -o bpfmon.o

yascreen.o: yascreen.c yascreen.h

0 comments on commit fedcb7c

Please sign in to comment.