freebsd-ports/x11/kdelibs4/files/patch-solid__solid__managerbase.cpp
Max Brazhnikov f564508406 KDE/FreeBSD team presents long awaited KDE SC 4.8.3!
kdeaccessibility4 and kdeutils4 are now meta ports. deskutils/kdepim4 updated
to match KDE SC version, old kdepim preserved in deskutils/kdepim44.

Follow UPDATING instruction!

New ports:
- accessibility/kaccessible
- accessibility/kmag
- accessibility/kmousetool
- accessibility/kmouth
- archivers/ark
- comms/kremotecontrol
- deskutils/kcharselect
- deskutils/kdepim44
- deskutils/kdepim44-runtime
- deskutils/superkaramba
- devel/kdebindings4-perl-perlkde
- devel/kdebindings4-perl-perlqt
- math/analitza
- math/kcalc
- misc/kde4-l10n-fa
- security/kgpg-kde4
- security/kwallet
- sysutils/kdf
- sysutils/kfloppy
- sysutils/sweeper
- vietnamese/kde4-l10n
- x11-clocks/ktimer
- x11/kactivities
- x11/libkonq

Removed ports:
- devel/kdebindings4-kross-interpreters
- devel/kdebindings4-python
- devel/kdebindings4-ruby
- devel/kdebindings4-smoke
2012-05-25 02:15:20 +00:00

15 lines
563 B
C++

--- ./solid/solid/managerbase.cpp.orig 2012-04-17 23:58:05.745260976 +0200
+++ ./solid/solid/managerbase.cpp 2012-04-18 00:00:48.605183174 +0200
@@ -90,7 +90,11 @@
# endif
# if defined (HUPNP_FOUND)
- m_backends << new Solid::Backends::UPnP::UPnPDeviceManager(0);
+ bool solidUPnPEnabled
+ = QString::fromLocal8Bit(qgetenv("SOLID_UPNP")).toInt()==1;
+ if (solidUPnPEnabled) {
+ m_backends << new Solid::Backends::UPnP::UPnPDeviceManager(0);
+ }
# endif
}
}