/[gentoo-x86]/net-misc/stargazer/files/patches/stg-2.408-build-upstream.patch
Gentoo

Contents of /net-misc/stargazer/files/patches/stg-2.408-build-upstream.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 23 20:13:30 2013 UTC (7 years ago) by tomwij
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
New ebuild for stargazer. Contributed by SpiderX. Fixes bug #452916.

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

1 --- projects/rlm_stg/build.org 2013-01-15 15:25:59.000000000 +0200
2 +++ projects/rlm_stg/build 2013-01-15 19:48:13.000000000 +0200
3 @@ -16,21 +16,15 @@
4 DIR_MODE=0755
5 OWNER=root
6
7 -if [ -z $1 ]
8 -then
9 - MAKEOPTS="-j1"
10 - DEBUG="no"
11 +if [ "$1" = "debug" ]
12 +then
13 + DEFS="$DEFS -DDEBUG"
14 + MAKEOPTS="$MAKEOPTS -j1"
15 + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
16 + DEBUG="yes"
17 else
18 - if [ "$1" = "debug" ]
19 - then
20 - DEFS="-DDEBUG"
21 - MAKEOPTS="-j1"
22 - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
23 - DEBUG="yes"
24 - else
25 - MAKEOPTS="-j1"
26 - DEBUG="no"
27 - fi
28 + DEFS="$DEFS -DNDEBUG"
29 + DEBUG="no"
30 fi
31
32 CXXFLAGS="$CXXFLAGS -I/usr/local/include"
33 --- projects/rscriptd/build.org 2013-01-15 18:28:32.000000000 +0200
34 +++ projects/rscriptd/build 2013-01-15 18:38:13.000000000 +0200
35 @@ -16,21 +16,15 @@
36 DIR_MODE=0755
37 OWNER=root
38
39 -if [ -z $1 ]
40 +if [ "$1" = "debug" ]
41 then
42 - MAKEOPTS="-j1"
43 - DEBUG="no"
44 + DEFS="$DEFS -DDEBUG"
45 + MAKEOPTS="$MAKEOPTS -j1"
46 + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
47 + DEBUG="yes"
48 else
49 - if [ "$1" = "debug" ]
50 - then
51 - DEFS="-DDEBUG"
52 - MAKEOPTS="-j1"
53 - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
54 - DEBUG="yes"
55 - else
56 - MAKEOPTS="-j1"
57 - DEBUG="no"
58 - fi
59 + DEFS="$DEFS -DNDEBUG"
60 + DEBUG="no"
61 fi
62
63 CXXFLAGS="$CXXFLAGS -I/usr/local/include"
64 --- projects/sgauth/build.org 2013-01-15 18:29:20.000000000 +0200
65 +++ projects/sgauth/build 2013-01-15 18:36:33.000000000 +0200
66 @@ -16,21 +16,15 @@
67 DIR_MODE=0755
68 OWNER=root
69
70 -if [ -z $1 ]
71 +if [ "$1" = "debug" ]
72 then
73 - MAKEOPTS="-j1"
74 - DEBUG="no"
75 + DEFS="$DEFS -DDEBUG"
76 + MAKEOPTS="$MAKEOPTS -j1"
77 + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
78 + DEBUG="yes"
79 else
80 - if [ "$1" = "debug" ]
81 - then
82 - DEFS="-DDEBUG"
83 - MAKEOPTS="-j1"
84 - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
85 - DEBUG="yes"
86 - else
87 - MAKEOPTS="-j1"
88 - DEBUG="no"
89 - fi
90 + DEFS="$DEFS -DNDEBUG"
91 + DEBUG="no"
92 fi
93
94 CXXFLAGS="$CXXFLAGS -I/usr/local/include"
95 --- projects/sgconf/build.org 2013-01-15 18:29:59.000000000 +0200
96 +++ projects/sgconf/build 2013-01-15 18:35:41.000000000 +0200
97 @@ -16,21 +16,15 @@
98 DIR_MODE=0755
99 OWNER=root
100
101 -if [ -z $1 ]
102 +if [ "$1" = "debug" ]
103 then
104 - MAKEOPTS="-j1"
105 - DEBUG="no"
106 + DEFS="$DEFS -DDEBUG"
107 + MAKEOPTS="$MAKEOPTS -j1"
108 + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
109 + DEBUG="yes"
110 else
111 - if [ "$1" = "debug" ]
112 - then
113 - DEFS="-DDEBUG"
114 - MAKEOPTS="-j1"
115 - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
116 - DEBUG="yes"
117 - else
118 - MAKEOPTS="-j1"
119 - DEBUG="no"
120 - fi
121 + DEFS="$DEFS -DNDEBUG"
122 + DEBUG="no"
123 fi
124
125 CXXFLAGS="$CXXFLAGS -I/usr/local/include"
126 --- projects/sgconf_xml/build.org 2013-01-15 18:30:26.000000000 +0200
127 +++ projects/sgconf_xml/build 2013-01-15 18:34:53.000000000 +0200
128 @@ -16,21 +16,15 @@
129 DIR_MODE=0755
130 OWNER=root
131
132 -if [ -z $1 ]
133 +if [ "$1" = "debug" ]
134 then
135 - MAKEOPTS="-j1"
136 - DEBUG="no"
137 + DEFS="$DEFS -DDEBUG"
138 + MAKEOPTS="$MAKEOPTS -j1"
139 + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
140 + DEBUG="yes"
141 else
142 - if [ "$1" = "debug" ]
143 - then
144 - DEFS="-DDEBUG"
145 - MAKEOPTS="-j1"
146 - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
147 - DEBUG="yes"
148 - else
149 - MAKEOPTS="-j1"
150 - DEBUG="no"
151 - fi
152 + DEFS="$DEFS -DNDEBUG"
153 + DEBUG="no"
154 fi
155
156 CXXFLAGS="$CXXFLAGS -I/usr/local/include"
157 --- projects/sgconv/build.org 2013-01-15 18:31:01.000000000 +0200
158 +++ projects/sgconv/build 2013-01-15 18:32:46.000000000 +0200
159 @@ -16,11 +16,20 @@
160 DIR_MODE=0755
161 OWNER=root
162 VAR_DIR="./inst/var/stargazer"
163 -DEFS="-DDEBUG"
164 -MAKEOPTS="-j1"
165 +
166 +if [ "$1" = "debug" ]
167 +then
168 + DEFS="$DEFS -DDEBUG"
169 + MAKEOPTS="$MAKEOPTS -j1"
170 + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
171 + DEBUG="yes"
172 +else
173 + DEFS="$DEFS -DNDEBUG"
174 + DEBUG="no"
175 +fi
176 +
177 CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -I/usr/local/include"
178 LDFLAGS="$LDFLAGS -L/usr/local/lib"
179 -DEBUG="yes"
180
181 if [ "$sys" = "Linux" ]
182 then
183 --- projects/stargazer/build.org 2013-01-15 19:48:54.000000000 +0200
184 +++ projects/stargazer/build 2013-01-15 19:51:13.000000000 +0200
185 @@ -35,23 +35,15 @@
186 XMLRPC_FEATURES="c++2 abyss-server"
187
188
189 -if [ -z "$1" ]
190 +if [ "$1" = "debug" ]
191 then
192 + DEFS="$DEFS -DDEBUG"
193 + MAKEOPTS="$MAKEOPTS -j1"
194 + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
195 + DEBUG="yes"
196 +else
197 DEFS="$DEFS -DNDEBUG"
198 - MAKEOPTS="-j1"
199 DEBUG="no"
200 -else
201 - if [ "$1" = "debug" ]
202 - then
203 - DEFS="$DEFS -DDEBUG"
204 - MAKEOPTS="-j1"
205 - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
206 - DEBUG="yes"
207 - else
208 - DEFS="$DEFS -DNDEBUG"
209 - MAKEOPTS="-j1"
210 - DEBUG="no"
211 - fi
212 fi
213
214 CXXFLAGS="$CXXFLAGS -I/usr/local/include"

  ViewVC Help
Powered by ViewVC 1.1.20