From cefec30c42917c5e85d3e26a464e4cd9dcd8ab6b Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 3 Mar 2019 12:49:09 -0300 Subject: [PATCH] wlroots: fix cross --- srcpkgs/wlroots/patches/fix-cross.patch | 16 ---------------- srcpkgs/wlroots/template | 2 -- 2 files changed, 18 deletions(-) delete mode 100644 srcpkgs/wlroots/patches/fix-cross.patch diff --git a/srcpkgs/wlroots/patches/fix-cross.patch b/srcpkgs/wlroots/patches/fix-cross.patch deleted file mode 100644 index 06ca341f57f..00000000000 --- a/srcpkgs/wlroots/patches/fix-cross.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git meson.build meson.build -index 56c3f6a..89c393b 100644 ---- meson.build -+++ meson.build -@@ -64,8 +64,8 @@ udev = dependency('libudev') - pixman = dependency('pixman-1') - libcap = dependency('libcap', required: get_option('libcap')) - logind = dependency('lib' + get_option('logind-provider'), required: get_option('logind'), version: '>=237') --math = cc.find_library('m') --rt = cc.find_library('rt') -+math = cc.find_library('m', required: false) -+rt = cc.find_library('rt', required: false) - - wlr_parts = [] - wlr_deps = [] - diff --git a/srcpkgs/wlroots/template b/srcpkgs/wlroots/template index b92a6327657..8b1f54255a0 100644 --- a/srcpkgs/wlroots/template +++ b/srcpkgs/wlroots/template @@ -19,8 +19,6 @@ homepage="https://github.com/swaywm/wlroots" distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz" checksum=a8c480b1ab3e5fff2d2a38661a0f06eb96af43c1cac02dc02e180d7fa5e8a5fa -LDFLAGS="-lm" - post_install() { vlicense LICENSE }