summary refs log tree commit diff
path: root/pkgs/development/perl-modules
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-10-16 11:17:12 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-10-16 11:17:12 +0200
commit12441bdf9f09a4d355f927f9b2957a90d5c98822 (patch)
tree9a57120c6f99ed0e7abc62e5ced7db816df79a6b /pkgs/development/perl-modules
parent41abe12bb38266e421e61a1332953a6a0409ea5f (diff)
parent22bbaf09fedc7ca9addc59c9b1738fc0b83fe2fd (diff)
downloadnixpkgs-12441bdf9f09a4d355f927f9b2957a90d5c98822.tar
nixpkgs-12441bdf9f09a4d355f927f9b2957a90d5c98822.tar.gz
nixpkgs-12441bdf9f09a4d355f927f9b2957a90d5c98822.tar.bz2
nixpkgs-12441bdf9f09a4d355f927f9b2957a90d5c98822.tar.lz
nixpkgs-12441bdf9f09a4d355f927f9b2957a90d5c98822.tar.xz
nixpkgs-12441bdf9f09a4d355f927f9b2957a90d5c98822.tar.zst
nixpkgs-12441bdf9f09a4d355f927f9b2957a90d5c98822.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r--pkgs/development/perl-modules/Device-OUI-1.04-hash.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/Device-OUI-1.04-hash.patch b/pkgs/development/perl-modules/Device-OUI-1.04-hash.patch
new file mode 100644
index 00000000000..6133ab67475
--- /dev/null
+++ b/pkgs/development/perl-modules/Device-OUI-1.04-hash.patch
@@ -0,0 +1,11 @@
+--- Device-OUI-1.04/lib/Device/OUI.pm.orig	2009-03-07 02:23:17.000000000 +0000
++++ Device-OUI-1.04/lib/Device/OUI.pm	2016-08-09 08:19:00.642799675 +0100
+@@ -54,7 +54,7 @@
+         for my $x ( keys %hash ) {
+             if ( not defined $hash{ $x } ) { $hash{ $x } = '' }
+         }
+-        return $handle->{ $oui } = join( "\0", %hash );
++        return $handle->{ $oui } = join( "\0", map {$_,$hash{$_}} sort keys %hash );
+     } elsif ( my $x = $handle->{ $oui } ) {
+         return { split( "\0", $x ) };
+     }