Rebuild with minupnpc 1.9
This commit is contained in:
parent
e741be245c
commit
e1c8ae485f
12
0ad-miniupnpc.patch
Normal file
12
0ad-miniupnpc.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up 0ad-0.0.15-alpha/source/network/NetServer.cpp.orig 0ad-0.0.15-alpha/source/network/NetServer.cpp
|
||||
--- 0ad-0.0.15-alpha/source/network/NetServer.cpp.orig 2014-04-18 12:08:43.415641350 -0300
|
||||
+++ 0ad-0.0.15-alpha/source/network/NetServer.cpp 2014-04-18 12:09:27.221643028 -0300
|
||||
@@ -274,7 +274,7 @@ void* CNetServerWorker::SetupUPnP(void*)
|
||||
// Check that the port was actually forwarded.
|
||||
ret = UPNP_GetSpecificPortMappingEntry(urls.controlURL,
|
||||
data.first.servicetype,
|
||||
- psPort, protocall,
|
||||
+ psPort, protocall, externalIPAddress,
|
||||
intClient, intPort, NULL/*desc*/,
|
||||
NULL/*enabled*/, duration);
|
||||
|
9
0ad.spec
9
0ad.spec
@ -25,7 +25,7 @@
|
||||
|
||||
Name: 0ad
|
||||
Version: 0.0.15
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
# BSD License:
|
||||
# build/premake/*
|
||||
# libraries/valgrind/* (not built/used)
|
||||
@ -110,6 +110,9 @@ Patch0: %{name}-rpath.patch
|
||||
# It also prevents assumption there that it is building in x86
|
||||
Patch1: %{name}-debug.patch
|
||||
|
||||
# Build with miniupnpc-1.9
|
||||
Patch2: %{name}-miniupnpc.patch
|
||||
|
||||
%description
|
||||
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform
|
||||
real-time strategy (RTS) game of ancient warfare. In short, it is a
|
||||
@ -130,6 +133,7 @@ hobbyist game developers, since 2001.
|
||||
# disable debug build, and "int 0x3" to trap to debugger (x86 only)
|
||||
%patch1 -p1
|
||||
%endif
|
||||
%patch2 -p1
|
||||
|
||||
%if %{with_system_nvtt}
|
||||
rm -fr libraries/nvtt
|
||||
@ -230,6 +234,9 @@ export STRIP=/bin/true
|
||||
%{_mandir}/man6/*.6*
|
||||
|
||||
%changelog
|
||||
* Fri Apr 18 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.0.15-3
|
||||
- Rebuild with minupnpc 1.9
|
||||
|
||||
* Tue Jan 21 2014 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.0.15-2
|
||||
- Rebuild for latest gloox
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user