aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/kdelibs2/Makefile1
-rw-r--r--x11/kdelibs2/files/patch-su.cpp25
-rw-r--r--x11/kdelibs3/Makefile1
-rw-r--r--x11/kdelibs4/Makefile1
4 files changed, 28 insertions, 0 deletions
diff --git a/x11/kdelibs2/Makefile b/x11/kdelibs2/Makefile
index 535555273fed..93ee6b9b10f2 100644
--- a/x11/kdelibs2/Makefile
+++ b/x11/kdelibs2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kdelibs
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES?= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
diff --git a/x11/kdelibs2/files/patch-su.cpp b/x11/kdelibs2/files/patch-su.cpp
new file mode 100644
index 000000000000..bc5440cb692d
--- /dev/null
+++ b/x11/kdelibs2/files/patch-su.cpp
@@ -0,0 +1,25 @@
+--- kdesu/su.cpp Sun Jan 6 20:22:55 2002
++++ kdesu/su.cpp.new Sun Jan 6 20:22:48 2002
+@@ -74,6 +74,7 @@
+ setTerminal(true);
+
+ QCStringList args;
++ args+="-";
+ if ((m_Scheduler != SchedNormal) || (m_Priority > 50))
+ args += "root";
+ else
+@@ -185,12 +186,12 @@
+ break;
+
+ case 1:
+- if (line.stripWhiteSpace().isEmpty())
++ QCString s=line.stripWhiteSpace();
++ if (s.isEmpty())
+ {
+ state++;
+ break;
+ }
+- QCString s=line.stripWhiteSpace();
+ for (i=0; i<s.length(); i++)
+ {
+ if (s[i] != '*')
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 535555273fed..93ee6b9b10f2 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kdelibs
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES?= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 535555273fed..93ee6b9b10f2 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kdelibs
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES?= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src