diff options
Diffstat (limited to 'net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff')
-rw-r--r-- | net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff b/net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff new file mode 100644 index 000000000000..3674075fc64f --- /dev/null +++ b/net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff @@ -0,0 +1,12 @@ +diff -Naur ypserv-1.3.12.orig/ypxfrd.c ypserv-1.3.12/ypxfrd.c +--- ypserv-1.3.12.orig/ypxfrd.c Tue Jun 1 21:30:28 1999 ++++ ypserv-1.3.12/ypxfrd.c Thu Aug 29 23:28:36 2002 +@@ -78,7 +78,7 @@ + extern void ypxfrd_freebsd_prog_1(struct svc_req *, SVCXPRT *); + + int forked = 0; +-int children = 0; ++volatile int children = 0; + int dns_flag = 0; + int debug_flag = 0; + int xfr_check_port = 1; |