add Added Files:
[hdw-repos/packages.git] / demian / xscreensaver / glx_qd-fix.patch
1 # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
2
3 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Please add additional copyright information _after_ the line containing
5 # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
6 # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
7
8 # ROCK Linux: rock-src/package/x11/xscreensaver/glx_qd-fix.patch
9 # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
10
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; either version 2 of the License, or
14 # (at your option) any later version. A copy of the GNU General Public
15 # License can be found at Documentation/COPYING.
16
17 # Many people helped and are helping developing ROCK Linux. Please
18 # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
19 # file for details.
20
21 # --- ROCK-COPYRIGHT-NOTE-END ---
22
23 --- ./hacks/glx/cage.c.orig     Sun Jan  3 20:25:20 1999
24 +++ ./hacks/glx/cage.c  Thu Oct 21 08:44:35 1999
25 @@ -94,6 +94,8 @@
26  
27  #ifdef USE_GL
28  
29 +#define APIENTRY
30 +#define CALLBACK
31  
32  #include <GL/glu.h>
33  #include "e_textures.h"
34 --- ./hacks/glx/moebius.c.orig  Sun Jan  3 20:26:57 1999
35 +++ ./hacks/glx/moebius.c       Thu Oct 21 08:59:42 1999
36 @@ -94,6 +94,8 @@
37  
38  #ifdef USE_GL
39  
40 +#define APIENTRY
41 +#define CALLBACK
42  
43  #include <GL/glu.h>
44  #include "e_textures.h"
45 --- ./hacks/glx/pipes.c.orig    Thu Oct 21 09:00:14 1999
46 +++ ./hacks/glx/pipes.c Thu Oct 21 09:00:25 1999
47 @@ -69,6 +69,9 @@
48  
49  #ifdef USE_GL
50  
51 +#define APIENTRY
52 +#define CALLBACK
53 +
54  #include <GL/glu.h>
55  #include "buildlwo.h"
56  
57 --- ./hacks/glx/buildlwo.c.orig Thu Oct 21 09:00:50 1999
58 +++ ./hacks/glx/buildlwo.c      Thu Oct 21 09:01:01 1999
59 @@ -23,6 +23,9 @@
60  
61  #ifdef USE_GL
62  
63 +#define APIENTRY
64 +#define CALLBACK
65 +
66  #ifdef STANDALONE
67  #include <GL/glx.h>
68  #endif
69 --- ./hacks/glx/sproingies.c.orig       Thu Oct 21 09:01:27 1999
70 +++ ./hacks/glx/sproingies.c    Thu Oct 21 09:01:43 1999
71 @@ -33,6 +33,9 @@
72  
73  #ifdef USE_GL
74  
75 +#define APIENTRY
76 +#define CALLBACK
77 +
78  #include <GL/gl.h>
79  #include <GL/glu.h>
80  #include "buildlwo.h"
81 --- ./hacks/glx/sproingiewrap.c.orig    Thu Oct 21 09:01:57 1999
82 +++ ./hacks/glx/sproingiewrap.c Thu Oct 21 09:02:17 1999
83 @@ -84,6 +84,9 @@
84  
85  #define MINSIZE 32
86  
87 +#define APIENTRY
88 +#define CALLBACK
89 +
90  #include <GL/glu.h>
91  #include <time.h>
92  
93 --- ./hacks/glx/stairs.c.orig   Thu Oct 21 09:02:42 1999
94 +++ ./hacks/glx/stairs.c        Thu Oct 21 09:02:55 1999
95 @@ -76,6 +76,9 @@
96  
97  #ifdef USE_GL
98  
99 +#define APIENTRY
100 +#define CALLBACK
101 +
102  #include <GL/glu.h>
103  #include "e_textures.h"
104  
105 --- ./hacks/glx/superquadrics.c.orig    Thu Oct 21 09:03:11 1999
106 +++ ./hacks/glx/superquadrics.c Thu Oct 21 09:03:26 1999
107 @@ -130,6 +130,9 @@
108  
109  #endif
110  
111 +#define APIENTRY
112 +#define CALLBACK
113 +
114  #include <GL/glu.h>
115  
116  #define MaxRes          50
117 --- ./hacks/glx/atlantis.c.orig Thu Oct 21 09:03:56 1999
118 +++ ./hacks/glx/atlantis.c      Thu Oct 21 09:04:11 1999
119 @@ -116,6 +116,9 @@
120  
121  #ifdef USE_GL
122  
123 +#define APIENTRY
124 +#define CALLBACK
125 +
126  #include "atlantis.h"
127  #include <GL/glu.h>
128  
129 --- ./hacks/glx/bubble3d.h.orig Thu Oct 21 09:05:49 1999
130 +++ ./hacks/glx/bubble3d.h      Thu Oct 21 09:06:02 1999
131 @@ -12,6 +12,9 @@
132  # include "xlock.h"            /* from the xlockmore distribution */
133  #endif /* !STANDALONE */
134  
135 +#define APIENTRY
136 +#define CALLBACK
137 +
138  #include <GL/gl.h>
139  #include <GL/glu.h>
140  
141 --- ./hacks/glx/glplanet.c.orig Thu Oct 21 09:06:32 1999
142 +++ ./hacks/glx/glplanet.c      Thu Oct 21 09:06:48 1999
143 @@ -93,6 +93,8 @@
144  # endif /* VMS */
145  #endif
146  
147 +#define APIENTRY
148 +#define CALLBACK
149  
150  #include <GL/glu.h>
151  
152 --- ./hacks/glx/pulsar.c.orig   Thu Oct 21 09:07:10 1999
153 +++ ./hacks/glx/pulsar.c        Thu Oct 21 09:07:26 1999
154 @@ -87,6 +87,8 @@
155  # endif /* VMS */
156  #endif
157  
158 +#define APIENTRY
159 +#define CALLBACK
160  
161  #include <GL/gl.h>
162  #include <GL/glu.h>
163 --- ./hacks/glx/sierpinski3d.c.orig     Sat Nov 13 22:24:17 1999
164 +++ ./hacks/glx/sierpinski3d.c  Fri Nov 26 07:38:10 1999
165 @@ -81,6 +81,9 @@
166  
167  static gasketstruct *gasket = NULL;
168  
169 +#define APIENTRY
170 +#define CALLBACK
171 +
172  #include <GL/glu.h>
173  
174  /* static GLuint limit; */