summaryrefslogtreecommitdiffstats
path: root/databases/glom
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-31 03:58:05 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-31 03:58:05 +0800
commit9f4312d414f48e386f726118bc85ff0b94463c4f (patch)
tree6e9ee3874142698553bc1ed3a330d474c3a2ae54 /databases/glom
parenta56b1567cab361fb1874785378752a094dc6c8d1 (diff)
downloadmarcuscom-ports-9f4312d414f48e386f726118bc85ff0b94463c4f.tar
marcuscom-ports-9f4312d414f48e386f726118bc85ff0b94463c4f.tar.gz
marcuscom-ports-9f4312d414f48e386f726118bc85ff0b94463c4f.tar.bz2
marcuscom-ports-9f4312d414f48e386f726118bc85ff0b94463c4f.tar.lz
marcuscom-ports-9f4312d414f48e386f726118bc85ff0b94463c4f.tar.xz
marcuscom-ports-9f4312d414f48e386f726118bc85ff0b94463c4f.tar.zst
marcuscom-ports-9f4312d414f48e386f726118bc85ff0b94463c4f.zip
Sync w/ FreeBSD ports.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9277 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/glom')
-rw-r--r--databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc b/databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc
new file mode 100644
index 000000000..a83ec8738
--- /dev/null
+++ b/databases/glom/files/patch-glom-libglom-python_embed-py_glom_record.cc
@@ -0,0 +1,20 @@
+--- glom/libglom/python_embed/py_glom_record.cc.orig Sun Jul 15 13:34:18 2007
++++ glom/libglom/python_embed/py_glom_record.cc Sun Jul 15 13:34:44 2007
+@@ -122,7 +122,7 @@
+
+
+
+-static int
++static Py_ssize_t
+ Record_tp_as_mapping_length(PyGlomRecord *self)
+ {
+ return self->m_pMap_field_values->size();
+@@ -146,7 +146,7 @@
+ }
+ else
+ {
+- g_warning("Record_tp_as_mapping_getitem(): item not found in m_pMap_field_values. size=%d, item=%s", self->m_pMap_field_values->size(), pchKey);
++ g_warning("Record_tp_as_mapping_getitem(): item not found in m_pMap_field_values. size=%d, item=%s", (int)self->m_pMap_field_values->size(), pchKey);
+ }
+ }
+ else