Saturday, June 05, 2021

Re: [patch] UPDATE: converters/libiconv: pledge iconv binary

On Sat, 5 Jun 2021 12:51:21 +0200
Hiltjo Posthuma <hiltjo@codemadness.org>:

>
> >
> > diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
> > index 2ab58ea4519..5c8043270de 100644
> > --- a/converters/libiconv/Makefile
> > +++ b/converters/libiconv/Makefile
> > @@ -5,7 +5,7 @@ COMMENT= character set conversion library
> > DISTNAME= libiconv-1.16
> > CATEGORIES= converters devel
> > MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
> > -REVISION= 0
> > +REVISION= 1
> >
> > SHARED_LIBS= charset 1.1 \
> > iconv 7.0
> > @@ -17,6 +17,7 @@ MAINTAINER= Brad Smith <brad@comstyle.com>
> > # LGPLv2 and GPLv3
> > PERMIT_PACKAGE= Yes
> >
> > +# uses pledge()
> > WANTLIB= c
> >
> > SEPARATE_BUILD= Yes
> > diff --git a/converters/libiconv/patches/patch-src_iconv_c b/converters/libiconv/patches/patch-src_iconv_c
> > new file mode 100644
> > index 00000000000..9b673fbe5db
> > --- /dev/null
> > +++ b/converters/libiconv/patches/patch-src_iconv_c
> > @@ -0,0 +1,29 @@
> > +--- src/iconv.c.orig Fri Apr 26 20:50:13 2019
> > ++++ src/iconv.c Tue Jan 26 20:07:34 2021
> > +@@ -19,6 +19,8 @@
> > + # define ICONV_CONST
> > +

No comments:

Post a Comment