#48556: sparsehash: build error on 10.11 El Capitan -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: elcapitan Port: sparsehash | -------------------------+-------------------------------- Comment (by pjkim00@…): Wanted to get sparsehash working as textmate2 depends on it. I tried applying the fix mentioned in https://github.com/Homebrew/homebrew/issues/41087 I did this manually by editing /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/sparsehash/hashtable_test.cc near line 900 {{{ #ifdef _MSC_VER other_ht.swap(this->ht_); #else swap(this->ht_, other_ht); #endif }}} to just {{{ other_ht.swap(this->ht_); }}} Then I ran "sudo port install sparsehash" and it builds and installs correctly. Still can't get textmate2 to build however. -- Ticket URL: <https://trac.macports.org/ticket/48556#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X