File: fix-ftbfs-with---as-needed.patch

package info (click to toggle)
aewm%2B%2B-goodies 1.0-10.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 496 kB
  • sloc: cpp: 3,366; ansic: 963; makefile: 164; sh: 13
file content (22 lines) | stat: -rw-r--r-- 666 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
From: Stefan Potyra <sistpoty@ubuntu.com>
Date: Fri, 24 Jan 2025 01:12:47 +0100
X-Dgit-Generated: 1.0-10.2 c9b221ad39bb018100a95942ba97b55eefa322fb
Subject: Fix FTBFS with --as-needed

Closes: #607538

---

diff --git a/ae_fspanel-1.0/Makefile b/ae_fspanel-1.0/Makefile
index 3eca5f4..7493cea 100644
--- a/ae_fspanel-1.0/Makefile
+++ b/ae_fspanel-1.0/Makefile
@@ -1,7 +1,7 @@
 CC = gcc
 prefix=/usr
 C_FLAGS = -DNOSTDLIB -DHAVE_XPM -Wall -I/usr/X11R6/include -m386 -malign-loops=2 -malign-jumps=2 -malign-functions=2
-L_FLAGS = -O1 -Xlinker -s -L/usr/X11R6/lib -lX11 -lXpm
+L_FLAGS = -O1 -Xlinker -s -L/usr/X11R6/lib
 LDLIBS=-lX11 -lXpm
 PROGNAME = aewm++_fspanel