/[gentoo-x86]/media-plugins/vdr-games/files/vdr-games-0.6.1-gentoo.diff
Gentoo

Contents of /media-plugins/vdr-games/files/vdr-games-0.6.1-gentoo.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Mon Oct 30 15:09:29 2006 UTC (13 years, 3 months ago) by zzam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-diff
FILE REMOVED
Cleanup of old ebuilds.
(Portage version: 2.1.2_rc1-r1)
 (Signed Manifest commit)

1 diff -ru games-0.6.1-orig/Makefile games-0.6.1/Makefile
2 --- games-0.6.1-orig/Makefile 2005-11-20 16:53:33.000000000 +0100
3 +++ games-0.6.1/Makefile 2005-11-20 16:53:41.000000000 +0100
4 @@ -13,7 +13,7 @@
5 VDROBJS = plugin.o
6 SDLOBJS = main.o
7 DEFINES = -DVERSION=\"$(VERSION)\"
8 -CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
9 +#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
10 LFLAGS = -pthread
11 VDRDIR = ../../..
12 LIBDIR = ../../lib
13 diff -ru games-0.6.1-orig/minesweeper/Makefile games-0.6.1/minesweeper/Makefile
14 --- games-0.6.1-orig/minesweeper/Makefile 2005-11-20 16:53:33.000000000 +0100
15 +++ games-0.6.1/minesweeper/Makefile 2005-11-20 16:54:19.000000000 +0100
16 @@ -1,6 +1,6 @@
17 GAME = minesweeper
18 OBJS = minesweeper.o
19 -CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
20 +#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
21
22 all: $(OBJS)
23 @ar -r $(GAME).a $(OBJS)
24 diff -ru games-0.6.1-orig/minesweeper/minesweeper.cpp games-0.6.1/minesweeper/minesweeper.cpp
25 --- games-0.6.1-orig/minesweeper/minesweeper.cpp 2005-11-20 16:53:33.000000000 +0100
26 +++ games-0.6.1/minesweeper/minesweeper.cpp 2005-11-20 16:53:41.000000000 +0100
27 @@ -81,7 +81,7 @@
28
29 for (int j=0; j<SIZE; j++) {
30 for (int i=0; i<SIZE; i++) {
31 - Dpy::pixel_set(a+i, b+j, icon[field[x][y]][j][i]);
32 + Dpy::pixel_set(a+i, b+j, icon[(int)field[x][y]][j][i]);
33 }
34 }
35 }
36 diff -ru games-0.6.1-orig/plugin.cpp games-0.6.1/plugin.cpp
37 --- games-0.6.1-orig/plugin.cpp 2005-11-20 16:53:33.000000000 +0100
38 +++ games-0.6.1/plugin.cpp 2005-11-20 16:53:41.000000000 +0100
39 @@ -1,5 +1,5 @@
40 -#include <plugin.h>
41 -#include <osd.h>
42 +#include <vdr/plugin.h>
43 +#include <vdr/osd.h>
44
45 extern int launcher_menu(char ***m);
46 extern int launcher_start(int g, int x, int y, int s, int c);
47 diff -ru games-0.6.1-orig/screen.cpp games-0.6.1/screen.cpp
48 --- games-0.6.1-orig/screen.cpp 2005-11-20 16:53:33.000000000 +0100
49 +++ games-0.6.1/screen.cpp 2005-11-20 16:53:41.000000000 +0100
50 @@ -5,7 +5,7 @@
51 #ifdef SDL
52 #include <SDL.h>
53 #else
54 - #include <osd.h>
55 + #include <vdr/osd.h>
56 #endif
57
58 #include "defines.h"
59 diff -ru games-0.6.1-orig/snake/Makefile games-0.6.1/snake/Makefile
60 --- games-0.6.1-orig/snake/Makefile 2005-11-20 16:53:33.000000000 +0100
61 +++ games-0.6.1/snake/Makefile 2005-11-20 16:54:12.000000000 +0100
62 @@ -1,6 +1,6 @@
63 GAME = snake
64 OBJS = snake.o
65 -CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
66 +#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
67
68 all: $(OBJS)
69 @ar -r $(GAME).a $(OBJS)
70 diff -ru games-0.6.1-orig/tetris/Makefile games-0.6.1/tetris/Makefile
71 --- games-0.6.1-orig/tetris/Makefile 2005-11-20 16:53:33.000000000 +0100
72 +++ games-0.6.1/tetris/Makefile 2005-11-20 16:54:06.000000000 +0100
73 @@ -1,6 +1,6 @@
74 GAME = tetris
75 OBJS = tetris.o
76 -CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
77 +#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
78
79 all: $(OBJS)
80 @ar -r $(GAME).a $(OBJS)
81 diff -ru games-0.6.1-orig/tictactoe/Makefile games-0.6.1/tictactoe/Makefile
82 --- games-0.6.1-orig/tictactoe/Makefile 2005-11-20 16:53:33.000000000 +0100
83 +++ games-0.6.1/tictactoe/Makefile 2005-11-20 16:54:15.000000000 +0100
84 @@ -1,6 +1,6 @@
85 GAME = tictactoe
86 OBJS = tictactoe.o
87 -CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
88 +#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
89
90 all: $(OBJS)
91 @ar -r $(GAME).a $(OBJS)
92 diff -ru games-0.6.1-orig/tron/Makefile games-0.6.1/tron/Makefile
93 --- games-0.6.1-orig/tron/Makefile 2005-11-20 16:53:33.000000000 +0100
94 +++ games-0.6.1/tron/Makefile 2005-11-20 16:53:55.000000000 +0100
95 @@ -1,6 +1,6 @@
96 GAME = tron
97 OBJS = tron.o
98 -CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
99 +#CFLAGS = -g -pipe -O2 -Wall -Woverloaded-virtual
100
101 all: $(OBJS)
102 @ar -r $(GAME).a $(OBJS)
103 diff -ru games-0.6.1-orig/plugin.cpp games-0.6.1/plugin.cpp
104 --- games-0.6.1-orig/plugin.cpp 2006-03-01 07:48:52.289842000 +0100
105 +++ games-0.6.1/plugin.cpp 2006-03-01 07:53:03.941569250 +0100
106 @@ -108,8 +108,9 @@
107
108 eOSState
109 GameStart::ProcessKey(eKeys k) {
110 - if (r) (int)k &= 0x7fff;
111 - if (launcher_key((int)k)) return (osEnd);
112 + int _k = k;
113 + if (r) _k &= 0x7fff;
114 + if (launcher_key(_k)) return (osEnd);
115 return (osContinue);
116 }
117

  ViewVC Help
Powered by ViewVC 1.1.20