mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

545 lines
15 KiB

  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/blindcoder/ksimus/gcc34.patch.ksimus-boolean
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Courtesy of debian.
  20. Make ksimus compile with gcc34
  21. --- ksimus-boolean-0.3.6.orig/admin/acinclude.m4.in
  22. +++ ksimus-boolean-0.3.6/admin/acinclude.m4.in
  23. @@ -2965,7 +2965,7 @@
  24. kdelibsuff=$enableval)
  25. if test "$kdelibsuff" = "none"; then
  26. if test -d /lib64 ; then
  27. - kdelibsuff=64
  28. + kdelibsuff=
  29. else
  30. kdelibsuff=
  31. fi
  32. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/delay.h
  33. +++ ksimus-boolean-0.3.6/ksimus-boolean/delay.h
  34. @@ -142,6 +142,6 @@
  35. -}; //namespace KSimLibBoolean
  36. +} //namespace KSimLibBoolean
  37. #endif
  38. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/convertbool2booltristate.cpp
  39. +++ ksimus-boolean-0.3.6/ksimus-boolean/convertbool2booltristate.cpp
  40. @@ -174,5 +174,5 @@
  41. //###############################################################
  42. -}; //namespace KSimLibBoolean
  43. +} //namespace KSimLibBoolean
  44. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/dflipflop.cpp
  45. +++ ksimus-boolean-0.3.6/ksimus-boolean/dflipflop.cpp
  46. @@ -189,4 +189,4 @@
  47. //###############################################################
  48. -}; //namespace
  49. +} //namespace
  50. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/implicitconverterbooltristate2bool.cpp
  51. +++ ksimus-boolean-0.3.6/ksimus-boolean/implicitconverterbooltristate2bool.cpp
  52. @@ -79,5 +79,5 @@
  53. //###############################################################
  54. -}; //namespace KSimLibBoolean
  55. +} //namespace KSimLibBoolean
  56. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/convertbooltristate2bool.cpp
  57. +++ ksimus-boolean-0.3.6/ksimus-boolean/convertbooltristate2bool.cpp
  58. @@ -159,5 +159,5 @@
  59. //###############################################################
  60. -}; //namespace KSimLibBoolean
  61. +} //namespace KSimLibBoolean
  62. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristate1out.h
  63. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristate1out.h
  64. @@ -369,6 +369,6 @@
  65. //###############################################################
  66. -}; //namespace KSimLibBoolean
  67. +} //namespace KSimLibBoolean
  68. #endif
  69. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleanconstant.cpp
  70. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleanconstant.cpp
  71. @@ -191,5 +191,5 @@
  72. //###############################################################
  73. -}; //namespace KSimLibBoolean
  74. +} //namespace KSimLibBoolean
  75. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/multiplexer.h
  76. +++ ksimus-boolean-0.3.6/ksimus-boolean/multiplexer.h
  77. @@ -208,6 +208,6 @@
  78. //###############################################################
  79. -}; //namespace KSimLibBoolean
  80. +} //namespace KSimLibBoolean
  81. #endif
  82. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/boolean7segment.h
  83. +++ ksimus-boolean-0.3.6/ksimus-boolean/boolean7segment.h
  84. @@ -128,6 +128,6 @@
  85. //###############################################################
  86. -}; //namespace KSimLibBoolean
  87. +} //namespace KSimLibBoolean
  88. #endif
  89. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/monoflop.h
  90. +++ ksimus-boolean-0.3.6/ksimus-boolean/monoflop.h
  91. @@ -145,6 +145,6 @@
  92. -}; //namespace KSimLibBoolean
  93. +} //namespace KSimLibBoolean
  94. #endif
  95. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/flipflopbase.cpp
  96. +++ ksimus-boolean-0.3.6/ksimus-boolean/flipflopbase.cpp
  97. @@ -181,4 +181,4 @@
  98. -}; //namespace KSimLibBoolean
  99. +} //namespace KSimLibBoolean
  100. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleanconstant.h
  101. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleanconstant.h
  102. @@ -70,6 +70,6 @@
  103. //###############################################################
  104. //###############################################################
  105. -}; //namespace KSimLibBoolean
  106. +} //namespace KSimLibBoolean
  107. #endif
  108. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/inverter.h
  109. +++ ksimus-boolean-0.3.6/ksimus-boolean/inverter.h
  110. @@ -81,6 +81,6 @@
  111. };
  112. -}; //namespace KSimLibBoolean
  113. +} //namespace KSimLibBoolean
  114. #endif
  115. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/jkflipflop.cpp
  116. +++ ksimus-boolean-0.3.6/ksimus-boolean/jkflipflop.cpp
  117. @@ -373,5 +373,5 @@
  118. //###############################################################
  119. -}; //namespace
  120. +} //namespace
  121. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleanxor.cpp
  122. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleanxor.cpp
  123. @@ -74,7 +74,7 @@
  124. BooleanXorView::BooleanXorView(BooleanXor * comp, eViewType viewType)
  125. : BooleanXIn1OutView(comp, viewType)
  126. -{};
  127. +{}
  128. void BooleanXorView::draw(QPainter * p)
  129. {
  130. @@ -123,5 +123,5 @@
  131. }
  132. -}; //namespace KSimLibBoolean
  133. +} //namespace KSimLibBoolean
  134. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/implicitconverterbooltristate2bool.h
  135. +++ ksimus-boolean-0.3.6/ksimus-boolean/implicitconverterbooltristate2bool.h
  136. @@ -53,6 +53,6 @@
  137. //###############################################################
  138. -}; //namespace KSimLibBoolean
  139. +} //namespace KSimLibBoolean
  140. #endif
  141. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleancounter.cpp
  142. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleancounter.cpp
  143. @@ -618,5 +618,5 @@
  144. //###############################################################
  145. -}; //namespace KSimLibBoolean
  146. +} //namespace KSimLibBoolean
  147. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/boolean2in1out.h
  148. +++ ksimus-boolean-0.3.6/ksimus-boolean/boolean2in1out.h
  149. @@ -83,6 +83,6 @@
  150. //###############################################################
  151. -}; //namespace KSimLibBoolean
  152. +} //namespace KSimLibBoolean
  153. #endif
  154. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/flipflopbase.h
  155. +++ ksimus-boolean-0.3.6/ksimus-boolean/flipflopbase.h
  156. @@ -135,5 +135,5 @@
  157. //###############################################################
  158. -}; //namespace KSimLibBoolean
  159. +} //namespace KSimLibBoolean
  160. #endif
  161. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/demultiplexer.h
  162. +++ ksimus-boolean-0.3.6/ksimus-boolean/demultiplexer.h
  163. @@ -198,6 +198,6 @@
  164. //###############################################################
  165. -}; //namespace KSimLibBoolean
  166. +} //namespace KSimLibBoolean
  167. #endif
  168. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/boolean.cpp
  169. +++ ksimus-boolean-0.3.6/ksimus-boolean/boolean.cpp
  170. @@ -205,7 +205,7 @@
  171. KInstance * instance = 0;
  172. const PackageInfo * packageInfo = 0;
  173. -}; //namespace KSimLibBoolean
  174. +} //namespace KSimLibBoolean
  175. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleanor.h
  176. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleanor.h
  177. @@ -63,6 +63,6 @@
  178. virtual void draw(QPainter * p);
  179. };
  180. -}; //namespace KSimLibBoolean
  181. +} //namespace KSimLibBoolean
  182. #endif
  183. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/monoflop.cpp
  184. +++ ksimus-boolean-0.3.6/ksimus-boolean/monoflop.cpp
  185. @@ -332,4 +332,4 @@
  186. //##########################################################################################
  187. -}; //namespace
  188. +} //namespace
  189. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/extconnbooltristate.cpp
  190. +++ ksimus-boolean-0.3.6/ksimus-boolean/extconnbooltristate.cpp
  191. @@ -113,7 +113,7 @@
  192. KSimBoolTristate ExtConnBoolTristateBase::getResetState() const
  193. {
  194. return m_resetState;
  195. -};
  196. +}
  197. ComponentPropertyBaseWidget * ExtConnBoolTristateBase::createGeneralProperty(QWidget *parent)
  198. @@ -275,5 +275,5 @@
  199. //###############################################################
  200. -}; //namespace KSimLibBoolean
  201. +} //namespace KSimLibBoolean
  202. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/convertbooltristate2bool.h
  203. +++ ksimus-boolean-0.3.6/ksimus-boolean/convertbooltristate2bool.h
  204. @@ -81,6 +81,6 @@
  205. //###############################################################
  206. -}; //namespace KSimLibBoolean
  207. +} //namespace KSimLibBoolean
  208. #endif
  209. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/delay.cpp
  210. +++ ksimus-boolean-0.3.6/ksimus-boolean/delay.cpp
  211. @@ -323,4 +323,4 @@
  212. //##########################################################################################
  213. -}; //namespace
  214. +} //namespace
  215. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleanxor.h
  216. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleanxor.h
  217. @@ -62,6 +62,6 @@
  218. //###############################################################
  219. -}; //namespace KSimLibBoolean
  220. +} //namespace KSimLibBoolean
  221. #endif
  222. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleanor.cpp
  223. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleanor.cpp
  224. @@ -128,4 +128,4 @@
  225. setState(result);
  226. }
  227. -}; //namespace KSimLibBoolean
  228. +} //namespace KSimLibBoolean
  229. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristateand.cpp
  230. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristateand.cpp
  231. @@ -109,5 +109,5 @@
  232. //###############################################################
  233. -}; //namespace KSimLibBoolean
  234. +} //namespace KSimLibBoolean
  235. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristate1out.cpp
  236. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristate1out.cpp
  237. @@ -88,12 +88,12 @@
  238. KSimBoolTristate BoolTristate1Out::getResetState() const
  239. {
  240. return m_resetState;
  241. -};
  242. +}
  243. KSimBoolTristate BoolTristate1Out::getResetStateInit() const
  244. {
  245. return m_resetStateInit;
  246. -};
  247. +}
  248. @@ -402,5 +402,5 @@
  249. //###############################################################
  250. -}; //namespace KSimLibBoolean
  251. +} //namespace KSimLibBoolean
  252. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristateor.h
  253. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristateor.h
  254. @@ -75,6 +75,6 @@
  255. //###############################################################
  256. -}; //namespace KSimLibBoolean
  257. +} //namespace KSimLibBoolean
  258. #endif
  259. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/multidlatch.cpp
  260. +++ ksimus-boolean-0.3.6/ksimus-boolean/multidlatch.cpp
  261. @@ -254,7 +254,7 @@
  262. bool MultiDLatch::getResetValue() const
  263. {
  264. return m_resetValue;
  265. -};
  266. +}
  267. void MultiDLatch::setChannelCount(int count)
  268. {
  269. @@ -421,4 +421,4 @@
  270. //###############################################################
  271. //###############################################################
  272. -}; //namespace KSimLibBoolean
  273. +} //namespace KSimLibBoolean
  274. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/jkflipflop.h
  275. +++ ksimus-boolean-0.3.6/ksimus-boolean/jkflipflop.h
  276. @@ -169,6 +169,6 @@
  277. -}; //namespace KSimLibBoolean
  278. +} //namespace KSimLibBoolean
  279. #endif
  280. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/multiplexer.cpp
  281. +++ ksimus-boolean-0.3.6/ksimus-boolean/multiplexer.cpp
  282. @@ -451,4 +451,4 @@
  283. //###############################################################
  284. //###############################################################
  285. -}; //namespace KSimLibBoolean
  286. +} //namespace KSimLibBoolean
  287. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristateand.h
  288. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristateand.h
  289. @@ -75,6 +75,6 @@
  290. //###############################################################
  291. -}; //namespace KSimLibBoolean
  292. +} //namespace KSimLibBoolean
  293. #endif
  294. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristatexor.h
  295. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristatexor.h
  296. @@ -75,6 +75,6 @@
  297. //###############################################################
  298. -}; //namespace KSimLibBoolean
  299. +} //namespace KSimLibBoolean
  300. #endif
  301. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/convertbool2booltristate.h
  302. +++ ksimus-boolean-0.3.6/ksimus-boolean/convertbool2booltristate.h
  303. @@ -96,6 +96,6 @@
  304. //###############################################################
  305. -}; //namespace KSimLibBoolean
  306. +} //namespace KSimLibBoolean
  307. #endif
  308. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/boolean2in1out.cpp
  309. +++ ksimus-boolean-0.3.6/ksimus-boolean/boolean2in1out.cpp
  310. @@ -101,5 +101,5 @@
  311. setState(false);
  312. }
  313. -}; //namespace KSimLibBoolean
  314. +} //namespace KSimLibBoolean
  315. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/rsflipflop.h
  316. +++ ksimus-boolean-0.3.6/ksimus-boolean/rsflipflop.h
  317. @@ -75,7 +75,7 @@
  318. -}; //namespace KSimLibBoolean
  319. +} //namespace KSimLibBoolean
  320. #endif
  321. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/boolean7segment.cpp
  322. +++ ksimus-boolean-0.3.6/ksimus-boolean/boolean7segment.cpp
  323. @@ -255,5 +255,5 @@
  324. //###############################################################
  325. -}; //namespace KSimLibBoolean
  326. +} //namespace KSimLibBoolean
  327. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/dflipflop.h
  328. +++ ksimus-boolean-0.3.6/ksimus-boolean/dflipflop.h
  329. @@ -96,6 +96,6 @@
  330. -}; //namespace KSimLibBoolean
  331. +} //namespace KSimLibBoolean
  332. #endif
  333. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/extconnbooltristate.h
  334. +++ ksimus-boolean-0.3.6/ksimus-boolean/extconnbooltristate.h
  335. @@ -144,6 +144,6 @@
  336. //###############################################################
  337. -}; //namespace KSimLibBoolean
  338. +} //namespace KSimLibBoolean
  339. #endif
  340. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/multidlatch.h
  341. +++ ksimus-boolean-0.3.6/ksimus-boolean/multidlatch.h
  342. @@ -214,6 +214,6 @@
  343. //###############################################################
  344. -}; //namespace KSimLibBoolean
  345. +} //namespace KSimLibBoolean
  346. #endif
  347. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/rsflipflop.cpp
  348. +++ ksimus-boolean-0.3.6/ksimus-boolean/rsflipflop.cpp
  349. @@ -149,6 +149,6 @@
  350. //###############################################################
  351. -}; //namespace
  352. +} //namespace
  353. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/demultiplexer.cpp
  354. +++ ksimus-boolean-0.3.6/ksimus-boolean/demultiplexer.cpp
  355. @@ -440,4 +440,4 @@
  356. //###############################################################
  357. //###############################################################
  358. -}; //namespace KSimLibBoolean
  359. +} //namespace KSimLibBoolean
  360. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/boolean.h
  361. +++ ksimus-boolean-0.3.6/ksimus-boolean/boolean.h
  362. @@ -68,7 +68,7 @@
  363. extern const PackageInfo * packageInfo;
  364. -}; //namespace KSimLibBoolean
  365. +} //namespace KSimLibBoolean
  366. /** The init function. PACKAGE_INIT_FUNCTION is a macro which expands to the real function name. */
  367. extern "C" const PackageInfo * KSIMUS_PACKAGE_INIT_FUNCTION(KLocale * ksimusLocale);
  368. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booleancounter.h
  369. +++ ksimus-boolean-0.3.6/ksimus-boolean/booleancounter.h
  370. @@ -205,6 +205,6 @@
  371. //###############################################################
  372. -}; //namespace KSimLibBoolean
  373. +} //namespace KSimLibBoolean
  374. #endif
  375. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/inverter.cpp
  376. +++ ksimus-boolean-0.3.6/ksimus-boolean/inverter.cpp
  377. @@ -142,4 +142,4 @@
  378. CompView::draw(p);
  379. }
  380. -}; //namespace
  381. +} //namespace
  382. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristatexor.cpp
  383. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristatexor.cpp
  384. @@ -108,5 +108,5 @@
  385. //###############################################################
  386. -}; //namespace KSimLibBoolean
  387. +} //namespace KSimLibBoolean
  388. --- ksimus-boolean-0.3.6.orig/ksimus-boolean/booltristateor.cpp
  389. +++ ksimus-boolean-0.3.6/ksimus-boolean/booltristateor.cpp
  390. @@ -109,5 +109,5 @@
  391. //###############################################################
  392. -}; //namespace KSimLibBoolean
  393. +} //namespace KSimLibBoolean