From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] libjpeg: Update to 2.1.4 Date: Mon, 05 Dec 2022 20:55:22 +0100 Message-ID: <20221205195522.134173-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5758818218888536957==" List-Id: --===============5758818218888536957== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- libjpeg/libjpeg.nm | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/libjpeg/libjpeg.nm b/libjpeg/libjpeg.nm index 1dea7aa92..b4d7b0eb0 100644 --- a/libjpeg/libjpeg.nm +++ b/libjpeg/libjpeg.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D libjpeg -version =3D 1.4.2 +version =3D 2.1.4 release =3D 1 thisapp =3D libjpeg-turbo-%{version} =20 @@ -27,18 +27,28 @@ source_dl =3D http://sourceforge.net/projects/libjpeg-tu= rbo/files/%{version}/ =20 build requires - autoconf - automake + cmake gcc-c++ - libtool nasm end =20 - configure_options +=3D \ - --enable-shared + # NASM object files are missing GNU Property note for Intel CET, + # force it on the resulting library + LDFLAGS +=3D"-Wl,-z,ibt -Wl,-z,shstk" =20 - prepare_cmds - autoreconf -vfi + export LD_LIBRARY_PATH =3D %{DIR_APP} + + build + %{cmake} . \ + -DCMAKE_SKIP_RPATH:BOOL=3DYES \ + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=3DYES \ + -DENABLE_STATIC:BOOL=3DNO + + make %{PARALLELISMFLAGS} + end + + test + make test end end =20 --=20 2.30.2 --===============5758818218888536957==--