diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2019-09-01 21:01:04 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2019-09-01 21:01:04 +0000 |
commit | e1223289e71a62e13917bdbcb05077332be43cb1 (patch) | |
tree | bbb881af25b928755788c576a7812422f436d5fd /sysutils/pc-networkmanager/files/patch-git-b812350a | |
parent | sysutils/uptimed: update to 0.4.2, change maintainer, pet portlint (diff) |
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
Notes
Notes:
svn path=/head/; revision=510742
Diffstat (limited to 'sysutils/pc-networkmanager/files/patch-git-b812350a')
-rw-r--r-- | sysutils/pc-networkmanager/files/patch-git-b812350a | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/pc-networkmanager/files/patch-git-b812350a b/sysutils/pc-networkmanager/files/patch-git-b812350a new file mode 100644 index 000000000000..8a5a5b53507c --- /dev/null +++ b/sysutils/pc-networkmanager/files/patch-git-b812350a @@ -0,0 +1,16 @@ +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"; |