summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/logitechmediaserver-bin/files/logitechmediaserver-bin-7.7.2-uuid-gentoo.patch')
-rw-r--r--media-sound/logitechmediaserver-bin/files/logitechmediaserver-bin-7.7.2-uuid-gentoo.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/logitechmediaserver-bin/files/logitechmediaserver-bin-7.7.2-uuid-gentoo.patch b/media-sound/logitechmediaserver-bin/files/logitechmediaserver-bin-7.7.2-uuid-gentoo.patch
new file mode 100644
index 0000000..442c740
--- /dev/null
+++ b/media-sound/logitechmediaserver-bin/files/logitechmediaserver-bin-7.7.2-uuid-gentoo.patch
@@ -0,0 +1,14 @@
+--- slimserver.pl.old 2012-04-01 22:00:00.111597353 +0100
++++ slimserver.pl 2012-04-01 22:00:00.111597353 +0100
+@@ -440,8 +440,9 @@
+
+ # Generate a UUID for this SC instance on first-run
+ if ( !$prefs->get('server_uuid') ) {
+- require UUID::Tiny;
+- $prefs->set( server_uuid => UUID::Tiny::create_UUID_as_string( UUID::Tiny::UUID_V4() ) );
++ require Data::UUID;
++ my $ug = new Data::UUID;
++ $prefs->set( server_uuid => lc $ug->create_str() );
+ }
+
+ main::INFOLOG && $log->info("Server binary search path init...");