mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Fix obscure kdesu bug where it doesn't pass the user to su to. This may
not be the correct fix -- discussion on kde-core-devel@kde.org ensuing. Bump PORTREVISION to accomodate this important fix. PR: 32549 Reported by: Kenneth Culver <culverk@wam.umd.edu> Fixed with help of: Ryan Cumming <bodnar42@phalynx.dhs.org>
This commit is contained in:
parent
dfe080913d
commit
242583e165
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52677
@ -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
|
||||
|
25
x11/kdelibs2/files/patch-su.cpp
Normal file
25
x11/kdelibs2/files/patch-su.cpp
Normal file
@ -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] != '*')
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user