diff options
author | miwi <miwi@FreeBSD.org> | 2006-12-16 17:28:22 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-12-16 17:28:22 +0800 |
commit | 7d6f9692dcab3ae581207fa54abc00d459fc5e1c (patch) | |
tree | 81af52faab89f98ecf9c537ce0bb1e4ab17fe92a /devel | |
parent | 653692732ae018951c52ca3aba7813713096b960 (diff) | |
download | freebsd-ports-graphics-7d6f9692dcab3ae581207fa54abc00d459fc5e1c.tar.gz freebsd-ports-graphics-7d6f9692dcab3ae581207fa54abc00d459fc5e1c.tar.zst freebsd-ports-graphics-7d6f9692dcab3ae581207fa54abc00d459fc5e1c.zip |
- Fix build with gcc4.X
PR: ports/106792
Submitted by: Erik Greenwald <erik@smluc.org> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/picprog/files/patch-picport.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/devel/picprog/files/patch-picport.h b/devel/picprog/files/patch-picport.h index 16ed4fe0f3c..0f92247f67d 100644 --- a/devel/picprog/files/patch-picport.h +++ b/devel/picprog/files/patch-picport.h @@ -1,13 +1,22 @@ ---- picport.h.orig Thu Apr 29 00:09:38 2004 -+++ picport.h Fri Jul 8 21:46:07 2005 -@@ -59,6 +59,10 @@ +--- picport.h.orig Wed Jul 14 01:24:34 2004 ++++ picport.h Fri Dec 15 16:43:35 2006 +@@ -45,7 +45,7 @@ + int W[16]; - public: + int modembits; +- void picport::set_clock_data (int rts, int dtr); ++ void set_clock_data (int rts, int dtr); + + void p_out (int b); + int p_in (); +@@ -58,6 +58,10 @@ + static int use_nanosleep; + public: ++ + static int t_on; + static int t_off; + static int t_edge; -+ + static void delay (long ns); - enum commands { |