opnsense-ports/lang/vala/files/patch-vapi_glib-2.0.vapi
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
496 B
Vala

--- vapi/glib-2.0.vapi.orig 2009-11-23 01:21:30.000000000 +0500
+++ vapi/glib-2.0.vapi 2009-12-03 14:12:42.840631369 +0500
@@ -2452,6 +2452,8 @@
public static FileStream? open (string path, string mode);
[CCode (cname = "fdopen")]
public static FileStream? fdopen (int fildes, string mode);
+ [CCode (cname = "freopen", instance_pos = -1)]
+ public void reopen (string path, string mode);
[CCode (cname = "fprintf")]
[PrintfFormat ()]
public void printf (string format, ...);