libudev-zero: backport latest changes to fix blocking on devices scan
[feed/packages.git] / libs / libudev-zero / patches / 0011-Revert-Makefile-add-stub-symbol-versioning.patch
1 From b8a0b953e6305dffeea57886fa379c5aca1b8397 Mon Sep 17 00:00:00 2001
2 From: illiliti <illiliti@protonmail.com>
3 Date: Tue, 16 Nov 2021 16:17:40 +0300
4 Subject: [PATCH 11/15] Revert "Makefile: add stub symbol versioning"
5
6 This reverts commit 000ff7bf2fa463ea99afaea8503c2ed9f8a1852c.
7 ---
8 Makefile | 3 +--
9 libudev.sym | 1 -
10 2 files changed, 1 insertion(+), 3 deletions(-)
11 delete mode 100644 libudev.sym
12
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -8,8 +8,7 @@ PKGCONFIGDIR = ${LIBDIR}/pkgconfig
16 XCFLAGS = ${CPPFLAGS} ${CFLAGS} -std=c99 -fPIC -pthread -D_XOPEN_SOURCE=700 \
17 -Wall -Wextra -Wpedantic -Wmissing-prototypes -Wstrict-prototypes \
18 -Wno-unused-parameter
19 -XLDFLAGS = ${LDFLAGS} -shared -Wl,-soname,libudev.so.1 \
20 - -Wl,-version-script,libudev.sym
21 +XLDFLAGS = ${LDFLAGS} -shared -Wl,-soname,libudev.so.1
22 XARFLAGS = -rc
23
24 OBJ = \
25 --- a/libudev.sym
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -LIBUDEV_183 {};