opnsense-ports/multimedia/gmencoder/files/patch-src_mypopen.c
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

13 lines
314 B
C

--- src/mypopen.c.orig 2008-03-06 21:12:35.000000000 +0100
+++ src/mypopen.c 2008-03-06 21:15:44.000000000 +0100
@@ -108,7 +108,9 @@
int mypclose(FILE *ptr)
{
- register f, r, (*hstat)(), (*istat)(), (*qstat)();
+ int f;
+ pid_t r;
+ void (*hstat)(), (*istat)(), (*qstat)();
int status;
f = fileno(ptr);