Overview
Request 4341 (accepted)
Update to 2.3.2.20181119.20afd75fa
- Created by javier over 6 years ago
- In state accepted
-
Package maintainer:
gcomes.pmbs
aMule.changes
Changed
x
1
2
-------------------------------------------------------------------
3
+Mon Dec 10 13:16:57 UTC 2018 - Javier Llorente <javier@opensuse.org>
4
+
5
+- Update to version 2.3.2.20181119.20afd75fa
6
+ * Bugfix: API mismatch with crypto++ 6.0.0; GH #120
7
+- Add patch to fix build: Update to libupnp 1.8; GH #135
8
+- Redo 0001-Fix-desktop-files.patch
9
+
10
+-------------------------------------------------------------------
11
Sun Feb 26 09:23:20 UTC 2017 - martin@pluskal.org
12
13
- Update to version 2.3.2.20161207.047a55c93
14
aMule.spec
Changed
30
1
2
3
4
Name: aMule
5
-Version: 2.3.2.20161207.047a55c93
6
+Version: 2.3.2.20181119.20afd75fa
7
Release: 0
8
Summary: Another eMule file-sharing program
9
License: GPL-2.0+
10
11
Url: http://www.amule.org
12
Source: %{name}-%{version}.tar.xz
13
Patch0: 0001-Fix-desktop-files.patch
14
+# PATCH-FIX-UPSTREAM GH #135
15
+Patch1: fix-build-libupnp18.patch
16
BuildRequires: autoconf
17
BuildRequires: automake >= 1.9
18
BuildRequires: binutils-devel
19
20
%prep
21
%setup -q
22
%patch0 -p1
23
+#TW has libupnp >= 1.8.0
24
+%if 0%{?suse_version} > 1500
25
+%patch1 -p1
26
+%endif
27
28
%build
29
./autogen.sh
30
0001-Fix-desktop-files.patch
Changed
114
1
2
-From c0d544359e2f65e01496bf222a2753dce5855a37 Mon Sep 17 00:00:00 2001
3
-From: Johannes Obermayr <johannesobermayr@gmx.de>
4
-Date: Sun, 14 Sep 2014 03:25:32 +0200
5
-Subject: [PATCH 1/2] Fix desktop files.
6
-
7
----
8
- amule.desktop | 6 +++---
9
- amulegui.desktop | 10 +++++-----
10
- src/utils/aLinkCreator/alc.desktop | 10 +++++-----
11
- src/utils/wxCas/wxcas.desktop | 10 +++++-----
12
- 4 files changed, 18 insertions(+), 18 deletions(-)
13
-
14
diff --git a/amule.desktop b/amule.desktop
15
-index 70be367..e15de2d 100644
16
+index 2928ea5d8..91aca7ac1 100644
17
--- a/amule.desktop
18
+++ b/amule.desktop
19
-@@ -5,6 +5,6 @@ Icon=amule
20
+@@ -5,9 +5,9 @@ Icon=amule
21
Terminal=false
22
Type=Application
23
Categories=Network;P2P;
24
-Comment=A client for the eD2k network
25
-Comment[fr]=Un client pour le réseau eD2k
26
-Comment[tr]=eD2k ağı için istemci
27
+-Comment[zh_CN]=eD2k网络客户端
28
+-Comment[it]=Un client per la rete eD2k
29
+-Comment[it_CH]=Un client per la rete eD2k
30
+GenericName=A client for the eD2k network
31
+GenericName[fr]=Un client pour le réseau eD2k
32
+GenericName[tr]=eD2k ağı için istemci
33
++GenericName[zh_CN]=eD2k网络客户端
34
++GenericName[it]=Un client per la rete eD2k
35
++GenericName[it_CH]=Un client per la rete eD2k
36
diff --git a/amulegui.desktop b/amulegui.desktop
37
-index 8a446fd..be900f6 100644
38
+index 14c5035a5..4248f361c 100644
39
--- a/amulegui.desktop
40
+++ b/amulegui.desktop
41
-@@ -5,8 +5,8 @@ Icon=amulegui
42
+@@ -5,11 +5,11 @@ Icon=amulegui
43
Terminal=false
44
Type=Application
45
Categories=Network;P2P;
46
47
-Comment[fr]=Contrôle à distance d'aMule
48
-Comment[hu]=aMule távoli vezérlő
49
-Comment[tr]=aMule uzaktan kumandası
50
+-Comment[zh_CN]=aMule远程协议
51
+-Comment[it]=Terminale remoto per aMule
52
+-Comment[it_CH]=Terminale remoto per aMule
53
+GenericName=aMule remote control
54
+GenericName[de]=aMule-Fernsteuerung
55
+GenericName[fr]=Contrôle à distance d'aMule
56
+GenericName[hu]=aMule távoli vezérlő
57
+GenericName[tr]=aMule uzaktan kumandası
58
++GenericName[zh_CN]=aMule远程协议
59
++GenericName[it]=Terminale remoto per aMule
60
++GenericName[it_CH]=Terminale remoto per aMule
61
diff --git a/src/utils/aLinkCreator/alc.desktop b/src/utils/aLinkCreator/alc.desktop
62
-index 50bf610..0f6a839 100644
63
+index 0f13ff882..76c73f36c 100644
64
--- a/src/utils/aLinkCreator/alc.desktop
65
+++ b/src/utils/aLinkCreator/alc.desktop
66
-@@ -5,8 +5,8 @@ Icon=alc
67
+@@ -5,11 +5,11 @@ Icon=alc
68
Terminal=false
69
Type=Application
70
Categories=Network;P2P;
71
72
-Comment[fr]=Créateur de liens ed2k d'aMule
73
-Comment[hu]=ed2k hivatkozás készítő
74
-Comment[tr]=aMule için ed2k bağlantı yaratıcısı
75
+-Comment[zh_CN]=aMule ed2k链接创建工具
76
+-Comment[it]=Creatore di link eD2k
77
+-Comment[it_CH]=Creatore di link eD2k
78
+GenericName=aMule ed2k link creator
79
+GenericName[de]=ed2k-Linkersteller
80
+GenericName[fr]=Créateur de liens ed2k d'aMule
81
+GenericName[hu]=ed2k hivatkozás készítő
82
+GenericName[tr]=aMule için ed2k bağlantı yaratıcısı
83
++GenericName[zh_CN]=aMule ed2k链接创建工具
84
++GenericName[it]=Creatore di link eD2k
85
++GenericName[it_CH]=Creatore di link eD2k
86
diff --git a/src/utils/wxCas/wxcas.desktop b/src/utils/wxCas/wxcas.desktop
87
-index b943ee8..0e64b76 100644
88
+index 9d83dfec7..e866c1742 100644
89
--- a/src/utils/wxCas/wxcas.desktop
90
+++ b/src/utils/wxCas/wxcas.desktop
91
-@@ -5,8 +5,8 @@ Icon=wxcas
92
+@@ -5,11 +5,11 @@ Icon=wxcas
93
Terminal=false
94
Type=Application
95
Categories=Network;P2P;
96
97
-Comment[fr]=Statistiques d'aMule en ligne
98
-Comment[hu]=aMule online statisztikák
99
-Comment[tr]=Çevrim içi aMule istatistikleri
100
+-Comment[zh_CN]=aMule在线统计
101
+-Comment[it]=Statistiche online di aMule
102
+-Comment[it_CH]=Statistiche online di aMule
103
+GenericName=aMule online statistics
104
+GenericName[de]=aMule-Onlinestatistik
105
+GenericName[fr]=Statistiques d'aMule en ligne
106
+GenericName[hu]=aMule online statisztikák
107
+GenericName[tr]=Çevrim içi aMule istatistikleri
108
---
109
-2.1.0
110
-
111
++GenericName[zh_CN]=aMule在线统计
112
++GenericName[it]=Statistiche online di aMule
113
++GenericName[it_CH]=Statistiche online di aMule
114
fix-build-libupnp18.patch
Added
365
1
2
+From 78367d7a0fb12e6907cfce46a35c86fc7d65e733 Mon Sep 17 00:00:00 2001
3
+From: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
4
+Date: Tue, 2 Oct 2018 18:15:19 -0300
5
+Subject: [PATCH 1/3] Add a .gitignore to the project
6
+
7
+---
8
+ .gitignore | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
9
+ 1 file changed, 51 insertions(+)
10
+ create mode 100644 .gitignore
11
+
12
+diff --git a/.gitignore b/.gitignore
13
+new file mode 100644
14
+index 000000000..80a596b72
15
+--- /dev/null
16
++++ b/.gitignore
17
+@@ -0,0 +1,51 @@
18
++*.a
19
++*.o
20
++*.gmo
21
++*.swp
22
++*~
23
++.*~
24
++Makefile
25
++Makefile.in
26
++Makefile.in.in
27
++Makefile.user
28
++.deps
29
++POTFILES
30
++
31
++
32
++ABOUT-NLS
33
++aclocal.m4
34
++autom4te.cache/
35
++compile
36
++config.guess
37
++config.h
38
++config.h.in
39
++config.log
40
++config.rpath
41
++config.status
42
++config.sub
43
++configure
44
++depcomp
45
++install-sh
46
++intl/
47
++missing
48
++mkinstalldirs
49
++
50
++src/amule
51
++src/amulecmd
52
++src/amuled
53
++src/amulegui
54
++src/ed2k
55
++src/libs/ec/ECGeneratedFiles
56
++src/libs/ec/cpp/EC-timestamp
57
++src/libs/ec/cpp/ECVersion.h
58
++src/libs/ec/cpp/mkFileSum
59
++src/pixmaps/flags_xpm/CountryFlags.h
60
++src/pixmaps/flags_xpm/Makefile.am
61
++src/utils/cas/cas
62
++src/utils/scripts/denoiser.sed
63
++src/utils/wxCas/src/wxcas
64
++src/utils/xas/autostart-xas
65
++src/webserver/src/amuleweb
66
++stamp-h1
67
++test-driver
68
++
69
+
70
+From f6dccde218fed8dabd3c61efce02d29b320858fe Mon Sep 17 00:00:00 2001
71
+From: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
72
+Date: Tue, 2 Oct 2018 18:17:43 -0300
73
+Subject: [PATCH 2/3] Make aMule compatible with libupnp 1.8
74
+
75
+---
76
+ src/UPnPBase.cpp | 110 +++++++++++++++++++++++++++--------------------
77
+ src/UPnPBase.h | 6 +--
78
+ 2 files changed, 66 insertions(+), 50 deletions(-)
79
+
80
+diff --git a/src/UPnPBase.cpp b/src/UPnPBase.cpp
81
+index 01a7c3a05..d4063a136 100644
82
+--- a/src/UPnPBase.cpp
83
++++ b/src/UPnPBase.cpp
84
+@@ -1127,7 +1127,7 @@ bool CUPnPControlPoint::PrivateDeletePortMapping(
85
+
86
+
87
+ // This function is static
88
+-int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*Cookie*/)
89
++int CUPnPControlPoint::Callback(Upnp_EventType_e EventType, const void *Event, void * /*Cookie*/)
90
+ {
91
+ std::ostringstream msg;
92
+ std::ostringstream msg2;
93
+@@ -1149,24 +1149,25 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
94
+ msg2<< "UPNP_DISCOVERY_SEARCH_RESULT: ";
95
+ // UPnP Discovery
96
+ upnpDiscovery:
97
+- struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
98
++ UpnpDiscovery *d_event = (UpnpDiscovery *)Event;
99
+ IXML_Document *doc = NULL;
100
+- int ret;
101
+- if (d_event->ErrCode != UPNP_E_SUCCESS) {
102
+- msg << UpnpGetErrorMessage(d_event->ErrCode) << ".";
103
++ int errCode = UpnpDiscovery_get_ErrCode(d_event);
104
++ if (errCode != UPNP_E_SUCCESS) {
105
++ msg << UpnpGetErrorMessage(errCode) << ".";
106
+ AddDebugLogLineC(logUPnP, msg);
107
+ }
108
+ // Get the XML tree device description in doc
109
+- ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
110
++ const char *location = UpnpDiscovery_get_Location_cstr(d_event);
111
++ int ret = UpnpDownloadXmlDoc(location, &doc);
112
+ if (ret != UPNP_E_SUCCESS) {
113
+ msg << "Error retrieving device description from " <<
114
+- d_event->Location << ": " <<
115
++ location << ": " <<
116
+ UpnpGetErrorMessage(ret) <<
117
+ "(" << ret << ").";
118
+ AddDebugLogLineC(logUPnP, msg);
119
+ } else {
120
+ msg2 << "Retrieving device description from " <<
121
+- d_event->Location << ".";
122
++ location << ".";
123
+ AddDebugLogLineN(logUPnP, msg2);
124
+ }
125
+ if (doc) {
126
+@@ -1194,8 +1195,9 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
127
+ AddDebugLogLineC(logUPnP, msg);
128
+ }
129
+ // Add the root device to our list
130
++ int expires = UpnpDiscovery_get_Expires(d_event);
131
+ upnpCP->AddRootDevice(rootDevice, urlBase,
132
+- d_event->Location, d_event->Expires);
133
++ location, expires);
134
+ }
135
+ // Free the XML doc tree
136
+ IXML::Document::Free(doc);
137
+@@ -1216,28 +1218,35 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
138
+ case UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE: {
139
+ //fprintf(stderr, "Callback: UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE\n");
140
+ // UPnP Device Removed
141
+- struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
142
+- if (dab_event->ErrCode != UPNP_E_SUCCESS) {
143
++ UpnpDiscovery *dab_event = (UpnpDiscovery *)Event;
144
++ int errCode = UpnpDiscovery_get_ErrCode(dab_event);
145
++ if (errCode != UPNP_E_SUCCESS) {
146
+ msg << "error(UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE): " <<
147
+- UpnpGetErrorMessage(dab_event->ErrCode) <<
148
++ UpnpGetErrorMessage(errCode) <<
149
+ ".";
150
+ AddDebugLogLineC(logUPnP, msg);
151
+ }
152
+- std::string devType = dab_event->DeviceType;
153
++ std::string devType = UpnpDiscovery_get_DeviceType_cstr(dab_event);
154
+ // Check for an InternetGatewayDevice and removes it from the list
155
+- std::transform(devType.begin(), devType.end(), devType.begin(), tolower);
156
++ std::transform(devType.begin(), devType.end(),
157
++ devType.begin(), tolower);
158
+ if (stdStringIsEqualCI(devType, UPnP::Device::IGW)) {
159
+- upnpCP->RemoveRootDevice(dab_event->DeviceId);
160
++ const char *deviceID =
161
++ UpnpDiscovery_get_DeviceID_cstr(dab_event);
162
++ upnpCP->RemoveRootDevice(deviceID);
163
+ }
164
+ break;
165
+ }
166
+ case UPNP_EVENT_RECEIVED: {
167
+ //fprintf(stderr, "Callback: UPNP_EVENT_RECEIVED\n");
168
+ // Event reveived
169
+- struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
170
+- const std::string Sid = e_event->Sid;
171
++ UpnpEvent *e_event = (UpnpEvent *)Event;
172
++ int eventKey = UpnpEvent_get_EventKey(e_event);
173
++ IXML_Document *changedVariables =
174
++ UpnpEvent_get_ChangedVariables(e_event);
175
++ const std::string sid = UpnpEvent_get_SID_cstr(e_event);
176
+ // Parses the event
177
+- upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
178
++ upnpCP->OnEventReceived(sid, eventKey, changedVariables);
179
+ break;
180
+ }
181
+ case UPNP_EVENT_SUBSCRIBE_COMPLETE:
182
+@@ -1252,24 +1261,23 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
183
+ //fprintf(stderr, "Callback: UPNP_EVENT_RENEWAL_COMPLETE\n");
184
+ msg << "error(UPNP_EVENT_RENEWAL_COMPLETE): ";
185
+ upnpEventRenewalComplete:
186
+- struct Upnp_Event_Subscribe *es_event =
187
+- (struct Upnp_Event_Subscribe *)Event;
188
+- if (es_event->ErrCode != UPNP_E_SUCCESS) {
189
++ UpnpEventSubscribe *es_event = (UpnpEventSubscribe *)Event;
190
++ int errCode = UpnpEventSubscribe_get_ErrCode(es_event);
191
++ if (errCode != UPNP_E_SUCCESS) {
192
+ msg << "Error in Event Subscribe Callback";
193
+- UPnP::ProcessErrorMessage(
194
+- msg.str(), es_event->ErrCode, NULL, NULL);
195
++ UPnP::ProcessErrorMessage(msg.str(), errCode, NULL, NULL);
196
+ } else {
197
+ #if 0
198
++ const UpnpString *publisherUrl =
199
++ UpnpEventSubscribe_get_PublisherUrl(es_event);
200
++ const char *sid = UpnpEvent_get_SID_cstr(es_event);
201
++ int timeOut = UpnpEvent_get_TimeOut(es_event);
202
+ TvCtrlPointHandleSubscribeUpdate(
203
+- GET_UPNP_STRING(es_event->PublisherUrl),
204
+- es_event->Sid,
205
+- es_event->TimeOut );
206
++ publisherUrl, sid, timeOut);
207
+ #endif
208
+ }
209
+-
210
+ break;
211
+ }
212
+-
213
+ case UPNP_EVENT_AUTORENEWAL_FAILED:
214
+ //fprintf(stderr, "Callback: UPNP_EVENT_AUTORENEWAL_FAILED\n");
215
+ msg << "error(UPNP_EVENT_AUTORENEWAL_FAILED): ";
216
+@@ -1280,29 +1288,31 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
217
+ msg << "error(UPNP_EVENT_SUBSCRIPTION_EXPIRED): ";
218
+ msg2 << "UPNP_EVENT_SUBSCRIPTION_EXPIRED: ";
219
+ upnpEventSubscriptionExpired:
220
+- struct Upnp_Event_Subscribe *es_event =
221
+- (struct Upnp_Event_Subscribe *)Event;
222
++ UpnpEventSubscribe *es_event = (UpnpEventSubscribe *)Event;
223
+ Upnp_SID newSID;
224
+ memset(newSID, 0, sizeof(Upnp_SID));
225
+ int TimeOut = 1801;
226
++ const char *publisherUrl =
227
++ UpnpEventSubscribe_get_PublisherUrl_cstr(es_event);
228
+ int ret = UpnpSubscribe(
229
+ upnpCP->m_UPnPClientHandle,
230
+- GET_UPNP_STRING(es_event->PublisherUrl),
231
++ publisherUrl,
232
+ &TimeOut,
233
+ newSID);
234
+ if (ret != UPNP_E_SUCCESS) {
235
+ msg << "Error Subscribing to EventURL";
236
++ int errCode = UpnpEventSubscribe_get_ErrCode(es_event);
237
+ UPnP::ProcessErrorMessage(
238
+- msg.str(), es_event->ErrCode, NULL, NULL);
239
++ msg.str(), errCode, NULL, NULL);
240
+ } else {
241
+ ServiceMap::iterator it =
242
+- upnpCP->m_ServiceMap.find(GET_UPNP_STRING(es_event->PublisherUrl));
243
++ upnpCP->m_ServiceMap.find(publisherUrl);
244
+ if (it != upnpCP->m_ServiceMap.end()) {
245
+ CUPnPService &service = *(it->second);
246
+ service.SetTimeout(TimeOut);
247
+ service.SetSID(newSID);
248
+ msg2 << "Re-subscribed to EventURL '" <<
249
+- GET_UPNP_STRING(es_event->PublisherUrl) <<
250
++ publisherUrl <<
251
+ "' with SID == '" <<
252
+ newSID << "'.";
253
+ AddDebugLogLineC(logUPnP, msg2);
254
+@@ -1321,17 +1331,19 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
255
+ case UPNP_CONTROL_ACTION_COMPLETE: {
256
+ //fprintf(stderr, "Callback: UPNP_CONTROL_ACTION_COMPLETE\n");
257
+ // This is here if we choose to do this asynchronously
258
+- struct Upnp_Action_Complete *a_event =
259
+- (struct Upnp_Action_Complete *)Event;
260
+- if (a_event->ErrCode != UPNP_E_SUCCESS) {
261
++ UpnpActionComplete *a_event = (UpnpActionComplete *)Event;
262
++ int errCode = UpnpActionComplete_get_ErrCode(a_event);
263
++ IXML_Document *actionResult =
264
++ UpnpActionComplete_get_ActionResult(a_event);
265
++ if (errCode != UPNP_E_SUCCESS) {
266
+ UPnP::ProcessErrorMessage(
267
+ "UpnpSendActionAsync",
268
+- a_event->ErrCode, NULL,
269
+- a_event->ActionResult);
270
++ errCode, NULL,
271
++ actionResult);
272
+ } else {
273
+ // Check the response document
274
+ UPnP::ProcessActionResponse(
275
+- a_event->ActionResult,
276
++ actionResult,
277
+ "<UpnpSendActionAsync>");
278
+ }
279
+ /* No need for any processing here, just print out results.
280
+@@ -1342,21 +1354,25 @@ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*
281
+ case UPNP_CONTROL_GET_VAR_COMPLETE: {
282
+ //fprintf(stderr, "Callback: UPNP_CONTROL_GET_VAR_COMPLETE\n");
283
+ msg << "error(UPNP_CONTROL_GET_VAR_COMPLETE): ";
284
+- struct Upnp_State_Var_Complete *sv_event =
285
+- (struct Upnp_State_Var_Complete *)Event;
286
+- if (sv_event->ErrCode != UPNP_E_SUCCESS) {
287
++ UpnpStateVarComplete *sv_event = (UpnpStateVarComplete *)Event;
288
++ int errCode = UpnpStateVarComplete_get_ErrCode(sv_event);
289
++ if (errCode != UPNP_E_SUCCESS) {
290
+ msg << "m_UpnpGetServiceVarStatusAsync";
291
+ UPnP::ProcessErrorMessage(
292
+- msg.str(), sv_event->ErrCode, NULL, NULL);
293
++ msg.str(), errCode, NULL, NULL);
294
+ } else {
295
+ #if 0
296
+ // Warning: The use of UpnpGetServiceVarStatus and
297
+ // UpnpGetServiceVarStatusAsync is deprecated by the
298
+ // UPnP forum.
299
++ const char *ctrlUrl =
300
++ UpnpStateVarComplete_get_CtrlUrl(sv_event);
301
++ const char *stateVarName =
302
++ UpnpStateVarComplete_get_StateVarName(sv_event);
303
++ const DOMString currentVal =
304
++ UpnpStateVarComplete_get_CurrentVal(sv_event);
305
+ TvCtrlPointHandleGetVar(
306
+- sv_event->CtrlUrl,
307
+- sv_event->StateVarName,
308
+- sv_event->CurrentVal );
309
++ ctrlUrl, stateVarName, currentVal);
310
+ #endif
311
+ }
312
+ break;
313
+diff --git a/src/UPnPBase.h b/src/UPnPBase.h
314
+index 9eafbd143..92753b86a 100644
315
+--- a/src/UPnPBase.h
316
++++ b/src/UPnPBase.h
317
+@@ -489,9 +489,9 @@ class CUPnPControlPoint
318
+
319
+ // Callback function
320
+ static int Callback(
321
+- Upnp_EventType EventType,
322
+- void* Event,
323
+- void* Cookie);
324
++ Upnp_EventType_e EventType,
325
++ const void *Event,
326
++ void *Cookie);
327
+
328
+ private:
329
+ void OnEventReceived(
330
+
331
+From 9ee7158249a957891c0e115faa88ced05f77bf38 Mon Sep 17 00:00:00 2001
332
+From: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
333
+Date: Wed, 3 Oct 2018 14:24:28 -0300
334
+Subject: [PATCH 3/3] Make libupnp.m4 work with lib64 directories too
335
+
336
+---
337
+ m4/libupnp.m4 | 13 +++++++++----
338
+ 1 file changed, 9 insertions(+), 4 deletions(-)
339
+
340
+diff --git a/m4/libupnp.m4 b/m4/libupnp.m4
341
+index f340a4da9..a9e08dbc9 100644
342
+--- a/m4/libupnp.m4
343
++++ b/m4/libupnp.m4
344
+@@ -45,11 +45,16 @@ m4_define([MIN_LIBUPNP_VERSION], [m4_ifval([$1], [$1], [1.6.6])])dnl
345
+
346
+ dnl Test for --with-libupnp-prefix
347
+ AC_ARG_WITH(
348
+- [libupnp-prefix],
349
+- [AS_HELP_STRING(
350
++ [libupnp-prefix],[
351
++ AS_HELP_STRING(
352
+ [--with-libupnp-prefix=PREFIX],
353
+- [UPnP library location])],
354
+- [export PKG_CONFIG_PATH=$withval/lib/pkgconfig])
355
++ [UPnP library location])],[
356
++ AS_IF([test -d "$withval/lib64/pkgconfig"],[
357
++ export PKG_CONFIG_PATH=$withval/lib64/pkgconfig
358
++ ],[
359
++ export PKG_CONFIG_PATH=$withval/lib/pkgconfig
360
++ ])
361
++ ])
362
+
363
+ dnl Check for libupnp >= MIN_LIBUPNP_VERSION
364
+ AS_IF([test $cross_compiling = no], [
365
aMule-2.3.2.20161207.047a55c93.tar.xz
Deleted
aMule-2.3.2.20181119.20afd75fa.tar.xz
Added
Refresh
No build results available
Refresh
No rpmlint results available
Login required, please
login
or
signup
in order to comment
Request History
javier created request over 6 years ago
Update to 2.3.2.20181119.20afd75fa
javier accepted request over 6 years ago
OK