summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-20 07:21:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-20 07:21:06 +0000
commit2ba9a1319f58c25dfe0d28321e8be53e667f94ac (patch)
tree6d1a6a28589321f72fa6d7f4d313da919de8b248 /net-p2p
parent34f30c80d0f2549965255dae1043e028b027869a (diff)
downloadbaldeagleos-repo-2ba9a1319f58c25dfe0d28321e8be53e667f94ac.tar.gz
baldeagleos-repo-2ba9a1319f58c25dfe0d28321e8be53e667f94ac.tar.xz
baldeagleos-repo-2ba9a1319f58c25dfe0d28321e8be53e667f94ac.zip
Adding metadata
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/amule/amule-2.3.3-r8.ebuild (renamed from net-p2p/amule/amule-2.3.3-r7.ebuild)3
-rw-r--r--net-p2p/amule/amule-9999.ebuild2
-rw-r--r--net-p2p/amule/files/amule-2.3.3-libupnp-1.18.patch31
3 files changed, 34 insertions, 2 deletions
diff --git a/net-p2p/amule/amule-2.3.3-r7.ebuild b/net-p2p/amule/amule-2.3.3-r8.ebuild
index cf67b6843b53..dccc25897f26 100644
--- a/net-p2p/amule/amule-2.3.3-r7.ebuild
+++ b/net-p2p/amule/amule-2.3.3-r8.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
media-libs/libpng:0=
)
stats? ( media-libs/gd:=[jpeg,png] )
- upnp? ( net-libs/libupnp:0 )
+ upnp? ( net-libs/libupnp:0= )
"
DEPEND="${RDEPEND}
gui? ( dev-util/desktop-file-utils )
@@ -59,6 +59,7 @@ PATCHES=(
"${FILESDIR}/${PN}-2.3.3-use-xdg-open-as-preview-default.patch"
"${FILESDIR}/${P}-boost-1.87.patch"
"${FILESDIR}/${P}-boost-1.89.patch" # bug 963550
+ "${FILESDIR}/${P}-libupnp-1.18.patch" # bug 969816
)
src_prepare() {
diff --git a/net-p2p/amule/amule-9999.ebuild b/net-p2p/amule/amule-9999.ebuild
index 52e376791839..95c5542545b7 100644
--- a/net-p2p/amule/amule-9999.ebuild
+++ b/net-p2p/amule/amule-9999.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
media-libs/libpng:0=
)
stats? ( media-libs/gd:=[jpeg,png] )
- upnp? ( net-libs/libupnp:0 )
+ upnp? ( net-libs/libupnp:0= )
"
DEPEND="${RDEPEND}
gui? ( dev-util/desktop-file-utils )
diff --git a/net-p2p/amule/files/amule-2.3.3-libupnp-1.18.patch b/net-p2p/amule/files/amule-2.3.3-libupnp-1.18.patch
new file mode 100644
index 000000000000..424dec8f2c64
--- /dev/null
+++ b/net-p2p/amule/files/amule-2.3.3-libupnp-1.18.patch
@@ -0,0 +1,31 @@
+Minimal fix for libupnp-1.18
+https://github.com/amule-project/amule/pull/448
+
+--- a/src/UPnPBase.cpp
++++ b/src/UPnPBase.cpp
+@@ -1129,7 +1147,9 @@ bool CUPnPControlPoint::PrivateDeletePortMapping(
+
+
+ // This function is static
+-#if UPNP_VERSION >= 10800
++#if UPNP_VERSION >= 11800
++int CUPnPControlPoint::Callback(Upnp_EventType_e EventType, void *Event, void * /*Cookie*/)
++#elif UPNP_VERSION >= 10800
+ int CUPnPControlPoint::Callback(Upnp_EventType_e EventType, const void *Event, void * /*Cookie*/)
+ #else
+ int CUPnPControlPoint::Callback(Upnp_EventType EventType, void *Event, void * /*Cookie*/)
+--- a/src/UPnPBase.h
++++ b/src/UPnPBase.h
+@@ -491,7 +491,11 @@ public:
+
+ // Callback function
+ static int Callback(
+-#if UPNP_VERSION >= 10800
++#if UPNP_VERSION >= 11800
++ Upnp_EventType_e EventType,
++ void *Event,
++ void *Cookie);
++#elif UPNP_VERSION >= 10800
+ Upnp_EventType_e EventType,
+ const void *Event,
+ void *Cookie);