SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
devel/ode/patches/patch-ode_demo_demo_jointPR_cpp
Normal file
12
devel/ode/patches/patch-ode_demo_demo_jointPR_cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: ode/demo/demo_jointPR.cpp
|
||||
--- ode/demo/demo_jointPR.cpp.orig
|
||||
+++ ode/demo/demo_jointPR.cpp
|
||||
@@ -329,7 +329,7 @@ int main (int argc, char **argv)
|
||||
{
|
||||
int j = i+1;
|
||||
if ( j >= argc || // Check if we have enough arguments
|
||||
- argv[j][0] == '\0' || // We should have a path here
|
||||
+ argv[j][0] == 'NULL' || // We should have a path here
|
||||
argv[j][0] == '-' ) // We should have a path not a command line
|
||||
Help(argv);
|
||||
else
|
Loading…
Add table
Add a link
Reference in a new issue