1 |
truedfx 07/11/18 15:22:53 |
2 |
|
3 |
Added: windowmaker-0.92.0-as-needed.patch |
4 |
Log: |
5 |
Fix building with --as-needed (#199520); add missing quotes |
6 |
(Portage version: 2.1.3.19) |
7 |
(Signed Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 x11-wm/windowmaker/files/0.92.0/windowmaker-0.92.0-as-needed.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/files/0.92.0/windowmaker-0.92.0-as-needed.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/files/0.92.0/windowmaker-0.92.0-as-needed.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: windowmaker-0.92.0-as-needed.patch |
16 |
=================================================================== |
17 |
|
18 |
Fix building with --as-needed (bug #199520), make sure libWINGs gets |
19 |
installed, and add a missing #include <math.h>. |
20 |
|
21 |
--- WindowMaker-0.92.0/configure.ac |
22 |
+++ WindowMaker-0.92.0/configure.ac |
23 |
@@ -78,7 +78,8 @@ |
24 |
[ --with-incs-from pass compiler flags to look for header files], |
25 |
[inc_search_path="$withval $inc_search_path"]) |
26 |
|
27 |
- |
28 |
+AC_CHECK_LIBM |
29 |
+AC_SUBST([LIBM]) |
30 |
|
31 |
dnl Checks for library functions. |
32 |
dnl ============================ |
33 |
--- WindowMaker-0.92.0/src/placement.c |
34 |
+++ WindowMaker-0.92.0/src/placement.c |
35 |
@@ -27,6 +27,7 @@ |
36 |
#include <stdio.h> |
37 |
#include <string.h> |
38 |
#include <limits.h> |
39 |
+#include <math.h> |
40 |
|
41 |
#include "WindowMaker.h" |
42 |
#include "wcore.h" |
43 |
--- WindowMaker-0.92.0/WINGs/Extras/Makefile.am |
44 |
+++ WindowMaker-0.92.0/WINGs/Extras/Makefile.am |
45 |
@@ -31,5 +31,6 @@ |
46 |
$(top_builddir)/WINGs/libWUtil.la \ |
47 |
@XFTLIBS@ @INTLIBS@ |
48 |
|
49 |
+libExtraWINGs_la_LIBADD = $(LDADD) |
50 |
test_LDADD = wtableview.o wtabledelegates.o $(LDADD) |
51 |
|
52 |
--- WindowMaker-0.92.0/WINGs/Makefile.am |
53 |
+++ WindowMaker-0.92.0/WINGs/Makefile.am |
54 |
@@ -6,6 +6,10 @@ |
55 |
|
56 |
|
57 |
|
58 |
+libWINGs_la_DEPENDENCIES = libWUtil.la |
59 |
+libWINGs_la_LIBADD = libWUtil.la \ |
60 |
+ $(top_builddir)/wrlib/libwraster.la \ |
61 |
+ @LIBM@ @XLIBS@ @XFTLIBS@ |
62 |
libWINGs_la_LDFLAGS = -version-info 2:1:0 |
63 |
libWUtil_la_LDFLAGS = -version-info 1:2:0 |
64 |
|
65 |
--- WindowMaker-0.92.0/wmlib/Makefile.am |
66 |
+++ WindowMaker-0.92.0/wmlib/Makefile.am |
67 |
@@ -8,6 +8,7 @@ |
68 |
|
69 |
INCLUDES = $(DFLAGS) @XCFLAGS@ |
70 |
|
71 |
+libWMaker_la_LIBADD = @XLIBS@ |
72 |
libWMaker_la_SOURCES = \ |
73 |
menu.c \ |
74 |
app.c \ |
75 |
|
76 |
|
77 |
|
78 |
-- |
79 |
gentoo-commits@g.o mailing list |