diff options
author | lofi <lofi@FreeBSD.org> | 2004-08-01 12:13:38 +0000 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-08-01 12:13:38 +0000 |
commit | fbda4b4aab01e8131d59f3427a4d74776ee00b08 (patch) | |
tree | 3875b13d243b33c87744dedae541579fe84d4261 /sysutils/k3b | |
parent | 88d8efd922418f9bce2876094cb5d32b1d80e094 (diff) | |
download | FreeBSD-ports-fbda4b4aab01e8131d59f3427a4d74776ee00b08.zip FreeBSD-ports-fbda4b4aab01e8131d59f3427a4d74776ee00b08.tar.gz |
Add a patch that fixes a problem with detection of the dvd+rw-format
executable.
Submitted by: maintainer
Diffstat (limited to 'sysutils/k3b')
-rw-r--r-- | sysutils/k3b/Makefile | 1 | ||||
-rw-r--r-- | sysutils/k3b/distinfo | 3 | ||||
-rw-r--r-- | sysutils/k3b/files/patch-src-core-k3bdefaultexternalprograms.cpp | 12 |
3 files changed, 13 insertions, 3 deletions
diff --git a/sysutils/k3b/Makefile b/sysutils/k3b/Makefile index 92aa128..bbb9b25 100644 --- a/sysutils/k3b/Makefile +++ b/sysutils/k3b/Makefile @@ -7,6 +7,7 @@ PORTNAME= k3b PORTVERSION= 0.11.12 +PORTREVISION= 1 CATEGORIES= sysutils multimedia kde MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/sysutils/k3b/distinfo b/sysutils/k3b/distinfo index 0527239..2c8526e 100644 --- a/sysutils/k3b/distinfo +++ b/sysutils/k3b/distinfo @@ -1,2 +1,3 @@ MD5 (k3b-0.11.12.tar.bz2) = 32537417ea39adbc5c4d7bd30c07f8b5 -SIZE (k3b-0.11.12.tar.bz2) = 3187611
\ No newline at end of file +SIZE (k3b-0.11.12.tar.bz2) = 3187611 + diff --git a/sysutils/k3b/files/patch-src-core-k3bdefaultexternalprograms.cpp b/sysutils/k3b/files/patch-src-core-k3bdefaultexternalprograms.cpp index abe5006..373bcae 100644 --- a/sysutils/k3b/files/patch-src-core-k3bdefaultexternalprograms.cpp +++ b/sysutils/k3b/files/patch-src-core-k3bdefaultexternalprograms.cpp @@ -1,5 +1,5 @@ --- src/core/k3bdefaultexternalprograms.cpp.orig Fri May 21 19:03:21 2004 -+++ src/core/k3bdefaultexternalprograms.cpp Sun Jul 11 12:24:22 2004 ++++ src/core/k3bdefaultexternalprograms.cpp Sat Jul 31 09:49:57 2004 @@ -30,6 +30,7 @@ #include <unistd.h> #include <sys/stat.h> @@ -134,7 +134,7 @@ K3bProcess::OutputCollector out( &vp ); vp << path << "-version"; -@@ -838,7 +839,7 @@ +@@ -838,14 +839,14 @@ K3bExternalBin* bin = 0; // probe version @@ -143,6 +143,14 @@ K3bProcess::OutputCollector out( &vp ); vp << path; + if( vp.start( KProcess::Block, KProcess::AllOutput ) ) { + // different locales make searching for the +- char difficult + // so we simply ignore it. +- int pos = out.output().find( QRegExp("DVD.*RW format utility") ); ++ int pos = out.output().find( QRegExp("DVD.*RW.* format utility") ); + if( pos < 0 ) + return false; + @@ -913,7 +914,7 @@ K3bExternalBin* bin = 0; |