Author: pawelz                       Date: Fri Aug  8 22:11:39 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- buildfix

---- Files affected:
SOURCES:
   tetrix-buildfix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/tetrix-buildfix.patch
diff -u /dev/null SOURCES/tetrix-buildfix.patch:1.1
--- /dev/null   Sat Aug  9 00:11:40 2008
+++ SOURCES/tetrix-buildfix.patch       Sat Aug  9 00:11:34 2008
@@ -0,0 +1,69 @@
+diff -Naur tetrix-2.2/AdvanceP.c tetrix-2.2.b/AdvanceP.c
+--- tetrix-2.2/AdvanceP.c      1990-01-12 07:30:50.000000000 +0100
++++ tetrix-2.2.b/AdvanceP.c    2008-08-09 01:08:15.000000000 +0200
+@@ -288,7 +288,7 @@
+ 
+       default : 
+               printf("Advance Piece: illegal piece type=%d!!\n",type); 
+-              exit();
++              exit(1);
+       }
+ badout:
+       return(FALSE);
+diff -Naur tetrix-2.2/DrawP.c tetrix-2.2.b/DrawP.c
+--- tetrix-2.2/DrawP.c 1990-01-12 08:59:05.000000000 +0100
++++ tetrix-2.2.b/DrawP.c       2008-08-09 01:08:15.000000000 +0200
+@@ -47,7 +47,7 @@
+ 
+     default:
+       printf("illegal piece type=%d!!\n",type);
+-      exit();
++      exit(1);
+       /*NOTREACHED*/
+     }
+ }
+@@ -108,7 +108,7 @@
+ 
+     default:
+       printf("illegal piece type=%d!!\n",type);
+-      exit();
++      exit(1);
+     }
+     refresh();
+ }
+diff -Naur tetrix-2.2/MoveL.c tetrix-2.2.b/MoveL.c
+--- tetrix-2.2/MoveL.c 1990-01-12 07:24:02.000000000 +0100
++++ tetrix-2.2.b/MoveL.c       2008-08-09 01:08:15.000000000 +0200
+@@ -270,7 +270,7 @@
+ 
+     default: 
+       printf("illegal piece type=%d!!\n",type); 
+-      exit();
++      exit(1);
+     }
+ }
+ 
+diff -Naur tetrix-2.2/MoveR.c tetrix-2.2.b/MoveR.c
+--- tetrix-2.2/MoveR.c 1990-01-12 07:22:21.000000000 +0100
++++ tetrix-2.2.b/MoveR.c       2008-08-09 01:08:15.000000000 +0200
+@@ -270,7 +270,7 @@
+ 
+     default: 
+       printf("illegal piece type=%d!!\n",type);
+-      exit();
++      exit(1);
+     }
+ }
+ 
+diff -Naur tetrix-2.2/Rotate.c tetrix-2.2.b/Rotate.c
+--- tetrix-2.2/Rotate.c        1990-01-12 10:19:46.000000000 +0100
++++ tetrix-2.2.b/Rotate.c      2008-08-09 01:08:15.000000000 +0200
+@@ -220,7 +220,7 @@
+               break;
+       default : 
+               printf("illegal piece type=%d!!\n",type); 
+-              exit();
++              exit(1);
+       }
+       refresh();
+       return(type);
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to