File: Remove-useless-dependency-against-Xext-library.patch

package info (click to toggle)
suckless-tools 47-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 768 kB
  • sloc: ansic: 3,434; makefile: 448; sh: 80
file content (25 lines) | stat: -rw-r--r-- 663 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Ilias Tsitsimpis <i.tsitsimpis@gmail.com>
Date: Tue, 16 Feb 2016 16:10:31 +0200
Subject: slock: Remove useless dependency against Xext library

Slock is linked against libXext.so.6 but uses none of the library's
symbols.

Forwarded: no
---
 slock/config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slock/config.mk b/slock/config.mk
index 102eef5..34b8c0b 100644
--- a/slock/config.mk
+++ b/slock/config.mk
@@ -12,7 +12,7 @@ X11LIB = /usr/X11R6/lib
 
 # includes and libs
 INCS =
-LIBS = -lc -lpam -lX11 -lXext -lXrandr
+LIBS = -lc -lpam -lX11 -lXrandr
 
 # flags
 CPPFLAGS += -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_PAM