Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added missing UUID patch
  • Loading branch information
hickinbottoms committed Mar 29, 2010
1 parent 10a6641 commit 4e75f4c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patch_dest/squeezeboxserver-7.4.2-uuid-gentoo.patch
@@ -0,0 +1,14 @@
--- slimserver.pl.old 2010-03-29 08:00:44.231656524 +0100
+++ slimserver.pl 2010-03-29 08:16:20.000000000 +0100
@@ -391,8 +391,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("Squeezebox Server binary search path init...");
14 changes: 14 additions & 0 deletions stage/files/squeezeboxserver-7.4.2-uuid-gentoo.patch
@@ -0,0 +1,14 @@
--- slimserver.pl.old 2010-03-29 08:00:44.231656524 +0100
+++ slimserver.pl 2010-03-29 08:16:20.000000000 +0100
@@ -391,8 +391,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("Squeezebox Server binary search path init...");

0 comments on commit 4e75f4c

Please sign in to comment.