SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
net/mldonkey/patches/patch-src_utils_net_geoip_ml
Normal file
15
net/mldonkey/patches/patch-src_utils_net_geoip_ml
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: src/utils/net/geoip.ml
|
||||
--- src/utils/net/geoip.ml.orig
|
||||
+++ src/utils/net/geoip.ml
|
||||
@@ -225,8 +225,9 @@ type geoip_database = {
|
||||
}
|
||||
|
||||
let new_map file =
|
||||
- Array1.map_file (Unix.descr_of_in_channel file)
|
||||
- int8_unsigned c_layout false (-1)
|
||||
+ Bigarray.array1_of_genarray @@
|
||||
+ Unix.map_file (Unix.descr_of_in_channel file)
|
||||
+ int8_unsigned c_layout false [|-1|]
|
||||
|
||||
let unpack filename =
|
||||
let ext = String.lowercase (Filename2.extension filename) in
|
Loading…
Add table
Add a link
Reference in a new issue