about summary refs log tree commit diff
path: root/pkgs/development/libraries/libchop/size_t.patch
diff options
context:
space:
mode:
authorrnhmjoj <micheleguerinirocco@me.com>2017-03-03 04:56:57 +0100
committerrnhmjoj <micheleguerinirocco@me.com>2017-03-03 04:56:57 +0100
commitfc12998c3aea2a156ae96f79dac69c74ef394ec4 (patch)
tree2fcfb8c3cd4030fae189ecab77d8cf4fb178dfc4 /pkgs/development/libraries/libchop/size_t.patch
parentab6d358ebf897a5fe32323072efd266e91fb0784 (diff)
libchop: fix package
Diffstat (limited to 'pkgs/development/libraries/libchop/size_t.patch')
-rw-r--r--pkgs/development/libraries/libchop/size_t.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libchop/size_t.patch b/pkgs/development/libraries/libchop/size_t.patch
new file mode 100644
index 0000000000000..82b6cb995ef36
--- /dev/null
+++ b/pkgs/development/libraries/libchop/size_t.patch
@@ -0,0 +1,11 @@
+--- a/src/chop.c
++++ b/src/chop.c
+@@ -539,7 +539,7 @@ extern const chop_class_t chop_gdbm_bloc
+   chop_qdbm_block_iterator_class;
+ 
+ const struct chop_class_entry *
+-chop_lookup_class_entry (const char *str, unsigned int len);
++chop_lookup_class_entry (const char *str, size_t len);
+ 
+ /* Include the gperf-generated perfect hash table.  */
+ #include "class-lookup.c"