ports/sysutils/pc-networkmanager/files/patch-git-b812350a
Adriaan de Groot e1223289e7 Unbreak sysutils/pc-networkmanager
This is part of the TrueOS tools, and it was marked BROKEN about
a year ago; a fix appeared upstream only days later, but there's
been no udpate to the port.

The same kind of fix probably applies to sysutils/pcbsd-utils-qt5
but I don't feel like chasing it. PR listed below is for that port,
pinging maintainer(s).

(All this is because we're chasing fallout for the Qt 5.13 update)

PR:		231682
2019-09-01 21:01:04 +00:00

16 lines
569 B
Text

diff --git src/backend/NetDevice.cpp src/backend/NetDevice.cpp
index bb3a047..eb1f320 100644
--- src/backend/NetDevice.cpp
+++ src/backend/NetDevice.cpp
@@ -169,11 +169,6 @@ QString NetDevice::mediaStatusAsString(){
QString status;
switch (IFM_TYPE(ifm.ifm_active)){
- case IFM_FDDI:
- case IFM_TOKEN:
- if (ifm.ifm_status & IFM_ACTIVE) status = "inserted";
- else status = "no ring";
- break;
case IFM_IEEE80211:
if (ifm.ifm_status & IFM_ACTIVE) status = "associated";
else status = "no carrier";