summary refs log tree commit diff
path: root/pkgs/applications/science/astronomy/openspace/vrpn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/astronomy/openspace/vrpn.patch')
-rw-r--r--pkgs/applications/science/astronomy/openspace/vrpn.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/science/astronomy/openspace/vrpn.patch b/pkgs/applications/science/astronomy/openspace/vrpn.patch
new file mode 100644
index 00000000000..9386d0257b7
--- /dev/null
+++ b/pkgs/applications/science/astronomy/openspace/vrpn.patch
@@ -0,0 +1,13 @@
+diff --git a/ext/sgct/src/deps/vrpn/vrpn_Connection.C b/ext/sgct/src/deps/vrpn/vrpn_Connection.C
+index d6ffdc5..f90a2b2 100755
+--- a/ext/sgct/src/deps/vrpn/vrpn_Connection.C
++++ b/ext/sgct/src/deps/vrpn/vrpn_Connection.C
+@@ -2489,7 +2489,7 @@ static int vrpn_start_server(const char *machine, char *server_name, char *args,
+ #if defined(sparc) || defined(FreeBSD) || defined(_AIX) || defined(__ANDROID__)
+             int status; // doesn't exist on sparc_solaris or FreeBSD
+ #else
+-            union wait status;
++            int status;
+ #endif
+ 
+             /* Check to see if they called back yet. */