aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-08-17 09:32:24 +0800
committerwill <will@FreeBSD.org>2001-08-17 09:32:24 +0800
commite897050e810313799306d25b83ad9fbab6dd0e15 (patch)
tree1bb678c5f1d9d3fb0d9b5bccd8908b2213f84c9d /x11
parent56d8f76ca88a1a9f38cc786ed305d49b94a2734b (diff)
downloadfreebsd-ports-gnome-e897050e810313799306d25b83ad9fbab6dd0e15.tar.gz
freebsd-ports-gnome-e897050e810313799306d25b83ad9fbab6dd0e15.tar.zst
freebsd-ports-gnome-e897050e810313799306d25b83ad9fbab6dd0e15.zip
Add patch to fix SSL-related problems in KDE 2.2.
Worked on with: nsayer Previous assistance: George Staikos <staikos@kde.org>
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs2/files/patch-netsupp.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/kdelibs2/files/patch-netsupp.cpp b/x11/kdelibs2/files/patch-netsupp.cpp
new file mode 100644
index 000000000000..d6c285747933
--- /dev/null
+++ b/x11/kdelibs2/files/patch-netsupp.cpp
@@ -0,0 +1,11 @@
+--- kdecore/netsupp.cpp.orig Thu Aug 16 17:00:37 2001
++++ kdecore/netsupp.cpp Thu Aug 16 16:52:30 2001
+@@ -781,7 +781,7 @@
+ if (name != NULL && ((*name == '*' && name[1] == '\0') || *name == '\0'))
+ name = NULL;
+ // Treat service of "*" as NULL, which I guess means no port (0)
+- if (serv != NULL && (*serv == '*' && serv[1] == '\0') || *serv == '\0')
++ if (serv != NULL && ((*serv == '*' && serv[1] == '\0') || *serv == '\0'))
+ serv = NULL;
+
+ if (name == NULL && serv == NULL) // what the hell do you want?