Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/motif/2.3.4: 01_all_solaris.patch 02_all_sanitise-paths.patch 03_all_solaris-11.patch 04_all_parallel-make.patch 05_all_install-dirs.patch 06_all_fc-config.patch 07_all_automake-1.13.patch
Date: Sat, 01 Jun 2013 17:10:17
Message-Id: 20130601171009.63BC72171D@flycatcher.gentoo.org
1 ulm 13/06/01 17:10:09
2
3 Added: 01_all_solaris.patch 02_all_sanitise-paths.patch
4 03_all_solaris-11.patch 04_all_parallel-make.patch
5 05_all_install-dirs.patch 06_all_fc-config.patch
6 07_all_automake-1.13.patch
7 Log:
8 Initial patchset for motif-2.3.4.
9
10 Revision Changes Path
11 1.1 src/patchsets/motif/2.3.4/01_all_solaris.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/01_all_solaris.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/01_all_solaris.patch?rev=1.1&content-type=text/plain
15
16 Index: 01_all_solaris.patch
17 ===================================================================
18 http://bugs.motifzone.net/showattachment.cgi?attach_id=259
19 http://bugs.motifzone.net/long_list.cgi?buglist=1479
20
21 Extend the patch to include guard for sun to solve the exact same
22 compilation issue on Solaris.
23
24 --- motif-2.3.4-orig/clients/uil/UilDefI.h
25 +++ motif-2.3.4/clients/uil/UilDefI.h
26 @@ -270,7 +270,7 @@
27 #include "UilIODef.h"
28 #include "UilDiagDef.h"
29 #include "UilSarDef.h"
30 -#if defined(linux) || defined(__APPLE__)
31 +#if defined(linux) || defined(__APPLE__) || defined(sun)
32 #define YYSTYPE yystype
33 #endif
34 #include "UilLexPars.h"
35
36
37
38 1.1 src/patchsets/motif/2.3.4/02_all_sanitise-paths.patch
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/02_all_sanitise-paths.patch?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/02_all_sanitise-paths.patch?rev=1.1&content-type=text/plain
42
43 Index: 02_all_sanitise-paths.patch
44 ===================================================================
45 * don't do automagic guessing of paths
46
47 --- motif-2.3.4-orig/configure.ac
48 +++ motif-2.3.4/configure.ac
49 @@ -183,21 +183,8 @@
50
51 case "$host_os" in
52 freebsd*) CFLAGS="$CFLAGS -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI";
53 - LDFLAGS="$LDFLAGS -L/usr/local/lib";;
54 + ;;
55 cygwin*) CFLAGS="$CFLAGS -DXNO_MTSAFE_DIRENTDAPI";;
56 - solaris* | sunos*) X_LIBS="$X_LIBS -L/usr/X/lib" &&
57 - if test x$enable_motif22_compatibility = x
58 - then
59 - enable_motif22_compatibility="no"
60 - fi;
61 - if test x$enable_utf8 = x
62 - then
63 - enable_utf8="no"
64 - fi;
65 - if test x$enable_xft = x
66 - then
67 - enable_xft="no"
68 - fi;;
69 esac
70
71 if test x$enable_motif22_compatibility = x
72
73
74
75 1.1 src/patchsets/motif/2.3.4/03_all_solaris-11.patch
76
77 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/03_all_solaris-11.patch?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/03_all_solaris-11.patch?rev=1.1&content-type=text/plain
79
80 Index: 03_all_solaris-11.patch
81 ===================================================================
82 https://bugs.gentoo.org/465426
83
84 --- motif-2.3.4-orig/lib/Xm/Xmos_r.h
85 +++ motif-2.3.4/lib/Xm/Xmos_r.h
86 @@ -602,7 +602,7 @@
87 # endif
88 } _Xreaddirparams;
89
90 -# if defined(AIXV3) || defined(AIXV4) || defined(_POSIX_THREAD_SAFE_FUNCTIONS)
91 +# if defined(AIXV3) || defined(AIXV4) || defined(HAVE_READDIR_R_3) || defined(_POSIX_THREAD_SAFE_FUNCTIONS)
92 /* AIX defines the draft POSIX symbol, but uses the final API. */
93 /* POSIX final API, returns (int)0 on success. */
94 # if defined(__osf__)
95
96
97
98 1.1 src/patchsets/motif/2.3.4/04_all_parallel-make.patch
99
100 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/04_all_parallel-make.patch?rev=1.1&view=markup
101 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/04_all_parallel-make.patch?rev=1.1&content-type=text/plain
102
103 Index: 04_all_parallel-make.patch
104 ===================================================================
105 http://bugs.motifzone.net/show_bug.cgi?id=1592
106
107 --- motif-2.3.4-orig/lib/Xm/Makefile.am
108 +++ motif-2.3.4/lib/Xm/Makefile.am
109 @@ -283,7 +283,9 @@
110 $(top_builddir)/config/util/makestrs:
111 ( cd $(top_builddir)/config/util && $(MAKE) $(AM_MAKEFLAGS) makestrs )
112
113 -$(STRING_FILES): Makefile $(XMSTRING_LIST) XmStrDefs.ht XmStrDefsI.ht XmStrDefs.ct $(top_builddir)/config/util/makestrs
114 +XmStrDefs.h XmStrDefs22.h XmStrDefs23.h XmStrDefsI.h: XmStrDefs.c
115 +
116 +XmStrDefs.c: Makefile $(XMSTRING_LIST) XmStrDefs.ht XmStrDefsI.ht XmStrDefs.ct $(top_builddir)/config/util/makestrs
117 test -f $(XMSTRING_LIST) || $(LN_S) $(srcdir)/$(XMSTRING_LIST) $(XMSTRING_LIST)
118 test -f XmStrDefs.ht || $(LN_S) $(srcdir)/XmStrDefs.ht XmStrDefs.ht
119 test -f XmStrDefs22.ht || $(LN_S) $(srcdir)/XmStrDefs22.ht XmStrDefs22.ht
120
121
122
123 1.1 src/patchsets/motif/2.3.4/05_all_install-dirs.patch
124
125 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/05_all_install-dirs.patch?rev=1.1&view=markup
126 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/05_all_install-dirs.patch?rev=1.1&content-type=text/plain
127
128 Index: 05_all_install-dirs.patch
129 ===================================================================
130 --- motif-2.3.4-orig/configure.ac
131 +++ motif-2.3.4/configure.ac
132 @@ -179,13 +179,13 @@
133 LIBDIR="${libdir}/X11"
134 AC_SUBST(LIBDIR)
135
136 -MWMRCDIR="${libdir}/X11"
137 +MWMRCDIR="${sysconfdir}/X11/mwm"
138 AC_SUBST(MWMRCDIR)
139
140 INCDIR="${includedir}/X11"
141 AC_SUBST(INCDIR)
142
143 -XMBINDDIR_FALLBACK="${libdir}/X11/bindings"
144 +XMBINDDIR_FALLBACK="${datadir}/X11/bindings"
145 AC_SUBST(XMBINDDIR_FALLBACK)
146
147 RM="rm -f"
148
149
150
151 1.1 src/patchsets/motif/2.3.4/06_all_fc-config.patch
152
153 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/06_all_fc-config.patch?rev=1.1&view=markup
154 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/06_all_fc-config.patch?rev=1.1&content-type=text/plain
155
156 Index: 06_all_fc-config.patch
157 ===================================================================
158 AC_FIND_XFT looks for the fontconfig-config program which does not
159 exist any more. Fall back to "pkg-config fontconfig".
160 https://bugs.gentoo.org/462232
161 http://bugs.motifzone.net/show_bug.cgi?id=1593
162
163 --- motif-2.3.4-orig/ac_find_xft.m4
164 +++ motif-2.3.4/ac_find_xft.m4
165 @@ -189,7 +189,7 @@
166 yes)
167 case "$fc_config" in
168 no)
169 - FONTCONFIG_CFLAGS=""
170 + FONTCONFIG_CFLAGS="`pkg-config fontconfig --cflags`"
171 ;;
172 *)
173 FONTCONFIG_CFLAGS="`$fc_config --cflags`"
174 @@ -208,7 +208,7 @@
175 yes)
176 case "$fc_config" in
177 no)
178 - fontconfig_lib=""
179 + FONTCONFIG_LIBS="`pkg-config fontconfig --libs`"
180 ;;
181 *)
182 FONTCONFIG_LIBS="`$fc_config --libs`"
183
184
185
186 1.1 src/patchsets/motif/2.3.4/07_all_automake-1.13.patch
187
188 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/07_all_automake-1.13.patch?rev=1.1&view=markup
189 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/motif/2.3.4/07_all_automake-1.13.patch?rev=1.1&content-type=text/plain
190
191 Index: 07_all_automake-1.13.patch
192 ===================================================================
193 http://bugs.motifzone.net/show_bug.cgi?id=1595
194
195 --- motif-2.3.4-orig/configure.ac
196 +++ motif-2.3.4/configure.ac
197 @@ -31,12 +31,11 @@
198 dnl
199 dnl AC_DISABLE_STATIC
200
201 -AM_CONFIG_HEADER(include/config.h lib/Xm/Xm.h)
202 +AC_CONFIG_HEADERS(include/config.h lib/Xm/Xm.h)
203
204 dnl Checks for programs.
205 AC_PROG_CC
206 AC_PROG_CPP
207 -AM_PROG_CC_STDC
208 AM_PROG_LIBTOOL
209
210 AC_EXEEXT