[Slackbuilds-users] libupnp: missing LICENSE file

Luiz Carlos Ramos lramos.prof at yahoo.com.br
Sun Sep 19 12:18:53 UTC 2021


Hello,

just when updating my machine, I had a failing libupnp build here. It
stopped when trying to copy the LICENSE file, which is not in the tar
file from version 1.21.1.

I managed to supress it from the "cp" command line where it appears, and
it worked.

Follow my patch for this issue.

Hope this can help!

Luiz Ramos
São Paulo - Brazil

-------------- next part --------------
>From fc59d99665c7fe646e14bee5a039a2b7a617ad53 Mon Sep 17 00:00:00 2001
From: Luiz Ramos <lramos.prof at yahoo.com.br>
Date: Sun, 19 Sep 2021 09:05:13 -0300
Subject: [PATCH] libraries/libupnp: fixed build

The build broke as there was a missing LICENSE file. The "cp" command line
was rewritten without that file.

-- Luiz Ramos, 20/Sep/2021
---
 libraries/libupnp/libupnp.SlackBuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/libupnp/libupnp.SlackBuild b/libraries/libupnp/libupnp.SlackBuild
index ceb79d737e6aec34c5b0fba689202640b2389e0d..3a6a93b763bc2307ae5952dd24a36c915e55b4e3 100644
--- a/libraries/libupnp/libupnp.SlackBuild
+++ b/libraries/libupnp/libupnp.SlackBuild
@@ -110,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE THANKS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a THANKS $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 
 mkdir -p $PKG/install
-- 
2.32.0



More information about the SlackBuilds-users mailing list