ocaml-ocamlnet/ocamlnet-4.0.3-gnutls.patch
2015-06-17 15:02:35 +01:00

15 lines
616 B
Diff

--- ocamlnet-4.0.3.old/src/nettls-gnutls/nettls_gnutls_bindings_stubs.c 2015-06-17 14:44:42.016525239 +0100
+++ ocamlnet-4.0.3/src/nettls-gnutls/nettls_gnutls_bindings_stubs.c 2015-06-17 14:55:34.252866764 +0100
@@ -2847,9 +2847,11 @@
#ifdef HAVE_ENUM_GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA
case GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: return Val_long(93721039);
#endif
+#if 0
#ifdef HAVE_ENUM_GNUTLS_SUPPLEMENTAL_UNKNOWN
case GNUTLS_SUPPLEMENTAL_UNKNOWN: return Val_long(785140586);
#endif
+#endif
default: break;
};
failwith("wrap_gnutls_supplemental_data_format_type_t: unexpected value");