diff options
Diffstat (limited to 'source/a/upower/upower.SlackBuild')
-rwxr-xr-x | source/a/upower/upower.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/a/upower/upower.SlackBuild b/source/a/upower/upower.SlackBuild index 6276e9c7..5be5589d 100755 --- a/source/a/upower/upower.SlackBuild +++ b/source/a/upower/upower.SlackBuild @@ -99,8 +99,11 @@ zcat $CWD/patches/Fix-HID-rules-header-as-per-discussions.patch.gz | patch -p1 - zcat $CWD/patches/Update-UPower-HID-rules-supported-devices-list.patch.gz | patch -p1 --verbose || exit 1 zcat $CWD/patches/rules-Add-support-for-Logitech-G700s-G700-Gaming-Mou.patch.gz | patch -p1 --verbose || exit 1 -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +# Don't fail on deprecated delarations: +zcat $CWD/patches/upower.glib_2_58_1.diff.gz | patch -p1 --verbose || exit 1 + +CFLAGS="$SLKCFLAGS -Wno-error=deprecated-declarations" \ +CXXFLAGS="$SLKCFLAGS -Wno-error=deprecated-declarations" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ |