diff options
Diffstat (limited to 'system/read-edid/read-edid.SlackBuild')
-rw-r--r-- | system/read-edid/read-edid.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/system/read-edid/read-edid.SlackBuild b/system/read-edid/read-edid.SlackBuild index 02c132ac54..51112e9c2c 100644 --- a/system/read-edid/read-edid.SlackBuild +++ b/system/read-edid/read-edid.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210824 bkw: BUILD=2, fix build on -current + # 20190108 bkw: # - update README: mention the /sys/class/drm stuff and edid-decode. # - fix README and slack-desc formatting. @@ -18,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=read-edid VERSION=${VERSION:-3.0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -30,9 +32,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -68,6 +67,9 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +# make all but one declaration of 'int quiet' an extern +patch -p1 < $CWD/gcc10fix.diff + mkdir -p build cd build cmake \ |