Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164009380
D8255.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D8255.diff
View Options
Index: head/audio/logitechmediaserver/Makefile
===================================================================
--- head/audio/logitechmediaserver/Makefile
+++ head/audio/logitechmediaserver/Makefile
@@ -2,6 +2,7 @@
PORTNAME= logitechmediaserver
PORTVERSION= 7.9.0.g2016.09.30
+PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= mark@tranquillussoftware.co.uk
Index: head/audio/logitechmediaserver/files/patch-dbix-class-bug.diff
===================================================================
--- head/audio/logitechmediaserver/files/patch-dbix-class-bug.diff
+++ head/audio/logitechmediaserver/files/patch-dbix-class-bug.diff
@@ -1,35 +0,0 @@
---- scanner.pl.orig 2016-09-30 13:54:28 UTC
-+++ scanner.pl
-@@ -279,10 +279,6 @@ sub main {
- # Perform pre-scan steps specific to the database type, i.e. SQLite needs to copy to a new file
- $sqlHelperClass->beforeScan();
-
-- # Take the db out of autocommit mode - this makes for a much faster scan.
-- # Scanner::Local will commit every few operations
-- Slim::Schema->dbh->{'AutoCommit'} = 0;
--
- my $scanType = 'SETUP_STANDARDRESCAN';
-
- if ($wipe) {
-Index: Slim/Schema.pm
-===================================================================
---- Slim/Schema.pm.orig 2016-09-30 13:54:28 UTC
-+++ Slim/Schema.pm
-@@ -270,12 +270,16 @@ sub _connect {
- # For custom exceptions
- $class->storage_type('Slim::Schema::Storage');
-
-+ # Don't use autocommit mode for the scanner.
-+ # Needs to be set here as setting dbh->{'AutoCommit'} = 0 later
-+ # confusing the transaction nesting logic.
-+ my $AutoCommit = (main::SCANNER ? 0 : 1);
- my $sqlHelperClass = Slim::Utils::OSDetect->getOS()->sqlHelperClass();
- my $on_connect_do = $sqlHelperClass->on_connect_do();
-
- $class->connection( $dsn || $source, $username, $password, {
- RaiseError => 1,
-- AutoCommit => 1,
-+ AutoCommit => $AutoCommit,
- PrintError => 0,
- Taint => 1,
- on_connect_do => [
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 28, 9:04 PM (9 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35673357
Default Alt Text
D8255.diff (1 KB)
Attached To
Mode
D8255: audio/logitechmediaserver: Remove patch-dbix-class-bug.diff
Attached
Detach File
Event Timeline
Log In to Comment