freebsd-ports/science/abinit/files/patch-bindings_parser_ab_dtset_c.c
Thierry Thomas fefa5eaa8b - Upgrade to 5.7.3
Release notes at
	<http://www.abinit.org/Infos_v5.7/release_notes/release_notes.html>

- enable bindings to get the headers
	This requires makemake and GSL.

Approved by:	Maho (maintainer)
2009-04-10 15:22:53 +00:00

11 lines
485 B
C

--- bindings/parser/ab_dtset_c.c.orig 2009-02-22 07:08:32.000000000 +0100
+++ bindings/parser/ab_dtset_c.c 2009-03-26 22:21:33.000000000 +0100
@@ -7,6 +7,8 @@
/* g95 : #define FC_MOD_NAME(A) ab_dtset_MP_ ## A */
#define FC_MOD_CALL(A,...) FC_MOD_NAME(A)(__VA_ARGS__)
+typedef unsigned int uint;
+
/* Fortran interface. */
void FC_MOD_NAME(ab_dtset_new)(int *dt, const char *filename, int *len);
void FC_MOD_NAME(ab_dtset_new_from_string)(int *dt, const char *string, int *len);