updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / tmview / 205_misc_bugs.diff
blobc2f9d8dcd4447ccd59b26cba0807627eb7998f54
1 --- tmview-01.03.orig/svga/defssvga.h
2 +++ tmview-01.03/svga/defssvga.h
3 @@ -14,6 +14,7 @@
4 */
6 #define _GNU_SOURCE
7 +#define HAVE_PROTOTYPES
9 #include <sys/types.h>
10 #include <sys/time.h>
11 --- tmview-01.03.orig/src/tmview.c
12 +++ tmview-01.03/src/tmview.c
13 @@ -70,7 +70,7 @@
14 numberargmode=NAFRAC;
15 if(ch=='*' || ch=='#')
16 numberargmode=NAONLYE;
17 - if(ch >=0 && ch <= '9')
18 + if(ch >='0' && ch <= '9')
19 numberargmode=NAINTE;
20 if(ch=='+' || ch=='-')
21 numberargmode=NAINT;
22 --- tmview-01.03.orig/fb/defsfb.h
23 +++ tmview-01.03/fb/defsfb.h
24 @@ -14,6 +14,7 @@
27 #define _GNU_SOURCE
28 +#define HAVE_PROTOTYPES
30 #include <sys/types.h>
31 #include <sys/time.h>
32 --- tmview-01.03.orig/lX/writelx.c
33 +++ tmview-01.03/lX/writelx.c
34 @@ -1381,7 +1381,7 @@
35 pfprot("(configure notify for %ld flag %d: geometry: %dx%d+%d+%d)\n",
36 conev->window,conev->send_event,geow,geoh,geox+geodx,geoy+geody);
37 #endif
38 - pfprot("(oldsize %d %d)",vgaxdim,truevgaydim);
39 + /* pfprot("(oldsize %d %d)",vgaxdim,truevgaydim); */
40 newxdim = MAX(VGAXDIMMIN,conev->width);
41 newydim = MAX(VGAYDIMMIN,conev->height);
42 if(newxdim==vgaxdim && newydim==truevgaydim) break;
43 --- tmview-01.03.orig/lX/defslx.h
44 +++ tmview-01.03/lX/defslx.h
45 @@ -14,6 +14,7 @@
48 #define _GNU_SOURCE
49 +#define HAVE_PROTOTYPES
51 #include <sys/types.h>
52 #include <sys/time.h>