diff mbox series

libsepol/tests: drop ncurses dependency

Message ID 20200501092330.1129016-1-nicolas.iooss@m4x.org (mailing list archive)
State Accepted
Headers show
Series libsepol/tests: drop ncurses dependency | expand

Commit Message

Nicolas Iooss May 1, 2020, 9:23 a.m. UTC
ncurses library is not used anywhere.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 .travis.yml             | 1 -
 libsepol/tests/Makefile | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

Comments

James Carter May 1, 2020, 1:58 p.m. UTC | #1
On Fri, May 1, 2020 at 5:25 AM Nicolas Iooss <nicolas.iooss@m4x.org> wrote:
>
> ncurses library is not used anywhere.
>
> Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>

Acked-by: James Carter <jwcart2@gmail.com>


> ---
>  .travis.yml             | 1 -
>  libsepol/tests/Makefile | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 918958acfc80..4361d26cbb83 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -53,7 +53,6 @@ addons:
>      - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
>      - libcunit1-dev
>      - libdbus-glib-1-dev
> -    - libncurses5-dev
>      - libpcre3-dev
>      - patch
>      - python3-dev
> diff --git a/libsepol/tests/Makefile b/libsepol/tests/Makefile
> index e7e305e8150b..fc9bd1a303be 100644
> --- a/libsepol/tests/Makefile
> +++ b/libsepol/tests/Makefile
> @@ -32,7 +32,7 @@ all: $(EXE) $(policies)
>  policies: $(policies)
>
>  $(EXE): $(objs) $(parserobjs) $(LIBSEPOL)
> -       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit -lcurses $(LIBSEPOL) -o $@
> +       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit $(LIBSEPOL) -o $@
>
>  %.conf.std: $(m4support) %.conf
>         $(M4) $(M4PARAMS) $^ > $@
> --
> 2.26.2
>
Petr Lautrbach May 4, 2020, 8:48 a.m. UTC | #2
On Fri, May 01, 2020 at 09:58:12AM -0400, James Carter wrote:
> On Fri, May 1, 2020 at 5:25 AM Nicolas Iooss <nicolas.iooss@m4x.org> wrote:
> >
> > ncurses library is not used anywhere.
> >
> > Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
> 
> Acked-by: James Carter <jwcart2@gmail.com>

Applied.

> 
> > ---
> >  .travis.yml             | 1 -
> >  libsepol/tests/Makefile | 2 +-
> >  2 files changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/.travis.yml b/.travis.yml
> > index 918958acfc80..4361d26cbb83 100644
> > --- a/.travis.yml
> > +++ b/.travis.yml
> > @@ -53,7 +53,6 @@ addons:
> >      - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
> >      - libcunit1-dev
> >      - libdbus-glib-1-dev
> > -    - libncurses5-dev
> >      - libpcre3-dev
> >      - patch
> >      - python3-dev
> > diff --git a/libsepol/tests/Makefile b/libsepol/tests/Makefile
> > index e7e305e8150b..fc9bd1a303be 100644
> > --- a/libsepol/tests/Makefile
> > +++ b/libsepol/tests/Makefile
> > @@ -32,7 +32,7 @@ all: $(EXE) $(policies)
> >  policies: $(policies)
> >
> >  $(EXE): $(objs) $(parserobjs) $(LIBSEPOL)
> > -       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit -lcurses $(LIBSEPOL) -o $@
> > +       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit $(LIBSEPOL) -o $@
> >
> >  %.conf.std: $(m4support) %.conf
> >         $(M4) $(M4PARAMS) $^ > $@
> > --
> > 2.26.2
> >
>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 918958acfc80..4361d26cbb83 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,7 +53,6 @@  addons:
     - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
     - libcunit1-dev
     - libdbus-glib-1-dev
-    - libncurses5-dev
     - libpcre3-dev
     - patch
     - python3-dev
diff --git a/libsepol/tests/Makefile b/libsepol/tests/Makefile
index e7e305e8150b..fc9bd1a303be 100644
--- a/libsepol/tests/Makefile
+++ b/libsepol/tests/Makefile
@@ -32,7 +32,7 @@  all: $(EXE) $(policies)
 policies: $(policies)
 
 $(EXE): $(objs) $(parserobjs) $(LIBSEPOL)
-	$(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit -lcurses $(LIBSEPOL) -o $@
+	$(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit $(LIBSEPOL) -o $@
 
 %.conf.std: $(m4support) %.conf
 	$(M4) $(M4PARAMS) $^ > $@