Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 438590 Details for
Bug 586840
dev-games/simgear-2016.2.1[-dns]: undefined reference to `simgear::DNS::Client::~Client()'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to simgear/scene/tsync/terrasync.cxx
simgear-2016.2.1-no-dns.patch (text/plain), 1.16 KB, created by
Chris Mayo
on 2016-06-23 18:57:48 UTC
(
hide
)
Description:
patch to simgear/scene/tsync/terrasync.cxx
Filename:
MIME Type:
Creator:
Chris Mayo
Created:
2016-06-23 18:57:48 UTC
Size:
1.16 KB
patch
obsolete
>--- simgear-2016.2.1.orig/simgear/scene/tsync/terrasync.cxx >+++ simgear-2016.2.1/simgear/scene/tsync/terrasync.cxx >@@ -61,7 +61,9 @@ > #include <simgear/io/HTTPClient.hxx> > #include <simgear/io/SVNRepository.hxx> > #include <simgear/io/HTTPRepository.hxx> >-#include <simgear/io/DNSClient.hxx> >+#ifdef ENABLE_DNS >+# include <simgear/io/DNSClient.hxx> >+#endif > #include <simgear/structure/exception.hxx> > #include <simgear/math/sg_random.h> > >@@ -509,7 +511,10 @@ > initCompletedTilesPersistentCache(); > > if (_httpServer == "automatic" ) { >- >+#ifndef ENABLE_DNS >+ SG_LOG(SG_TERRASYNC, SG_ALERT, "ERROR: automatic terrasync http-server requested, but no DNS resolver."); >+ _httpServer = ""; >+#else > //TODO: make DN and service settable from properties > DNS::NAPTRRequest * naptrRequest = new DNS::NAPTRRequest("terrasync.flightgear.org"); > naptrRequest->qservice = "ws20"; >@@ -565,6 +570,7 @@ > > SG_LOG(SG_TERRASYNC,SG_INFO, "picking entry # " << idx << ", server is " << _httpServer ); > } >+#endif > } > if( _httpServer.empty() ) { // don't resolve SVN server is HTTP server is set > if ( _svn_server.empty()) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 586840
: 438590