forked from pool/usbguard
This commit is contained in:
parent
468b9d436b
commit
eb072bd682
12
usbguard-pthread.patch
Normal file
12
usbguard-pthread.patch
Normal 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@ \
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user