SHA256
1
0
forked from pool/usbguard
Marcus Meissner 2019-07-22 08:36:41 +00:00 committed by Git OBS Bridge
parent 468b9d436b
commit eb072bd682
2 changed files with 14 additions and 1 deletions

12
usbguard-pthread.patch Normal file
View File

@ -0,0 +1,12 @@
Index: usbguard-0.7.4/Makefile.am
===================================================================
--- usbguard-0.7.4.orig/Makefile.am
+++ usbguard-0.7.4/Makefile.am
@@ -343,6 +343,7 @@ usbguard_daemon_CPPFLAGS=\
@audit_CFLAGS@
usbguard_daemon_LDADD=\
+ -pthread \
$(top_builddir)/libusbguard.la \
@seccomp_LIBS@ \
@libcapng_LIBS@ \

View File

@ -33,6 +33,7 @@ Source2: usbguard.keyring
Source3: usbguard-daemon.conf
Source4: usbguard-rpmlintrc
Patch0: usbguard-applet-qt_desktop_menu_categories.patch
Patch1: usbguard-pthread.patch
BuildRequires: asciidoc
BuildRequires: aspell
BuildRequires: audit-devel
@ -109,12 +110,12 @@ for interacting with the USBGuard daemon component.
%prep
%setup -q -n usbguard-%{version}
%patch0 -p1
%patch1 -p1
%build
mkdir -p ./m4
autoreconf -i -s --no-recursive ./
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -pthread"
%configure \
--disable-silent-rules \
--with-bundled-catch \