diff options
author | lofi <lofi@FreeBSD.org> | 2004-08-01 20:13:38 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-08-01 20:13:38 +0800 |
commit | fbda4b4aab01e8131d59f3427a4d74776ee00b08 (patch) | |
tree | 3875b13d243b33c87744dedae541579fe84d4261 /sysutils | |
parent | 88d8efd922418f9bce2876094cb5d32b1d80e094 (diff) | |
download | freebsd-ports-gnome-fbda4b4aab01e8131d59f3427a4d74776ee00b08.tar.gz freebsd-ports-gnome-fbda4b4aab01e8131d59f3427a4d74776ee00b08.tar.zst freebsd-ports-gnome-fbda4b4aab01e8131d59f3427a4d74776ee00b08.zip |
Add a patch that fixes a problem with detection of the dvd+rw-format
executable.
Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/k3b-kde4/Makefile | 1 | ||||
-rw-r--r-- | sysutils/k3b-kde4/distinfo | 3 | ||||
-rw-r--r-- | sysutils/k3b-kde4/files/patch-src-core-k3bdefaultexternalprograms.cpp | 12 | ||||
-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 |
6 files changed, 26 insertions, 6 deletions
diff --git a/sysutils/k3b-kde4/Makefile b/sysutils/k3b-kde4/Makefile index 92aa1281573f..bbb9b25698ab 100644 --- a/sysutils/k3b-kde4/Makefile +++ b/sysutils/k3b-kde4/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-kde4/distinfo b/sysutils/k3b-kde4/distinfo index 0527239a1985..2c8526e0fc36 100644 --- a/sysutils/k3b-kde4/distinfo +++ b/sysutils/k3b-kde4/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-kde4/files/patch-src-core-k3bdefaultexternalprograms.cpp b/sysutils/k3b-kde4/files/patch-src-core-k3bdefaultexternalprograms.cpp index abe5006e3703..373bcaefa658 100644 --- a/sysutils/k3b-kde4/files/patch-src-core-k3bdefaultexternalprograms.cpp +++ b/sysutils/k3b-kde4/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; diff --git a/sysutils/k3b/Makefile b/sysutils/k3b/Makefile index 92aa1281573f..bbb9b25698ab 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 0527239a1985..2c8526e0fc36 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 abe5006e3703..373bcaefa658 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; |