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.

102 lines
4.3 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/jsaw/sword/true-locase-fix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 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. TRUE is not defined generally. And there's no need to use it - its C++!
  20. -- jsaw
  21. --- sword-1.5.7/src/mgr/installmgr.cpp.orig 2004-04-21 16:31:46.008706088 +0200
  22. +++ sword-1.5.7/src/mgr/installmgr.cpp 2004-04-21 16:31:46.014705176 +0200
  23. @@ -150,7 +150,7 @@
  24. curl_easy_setopt(curl, CURLOPT_FILE, &ftpfile);
  25. /* Switch on full protocol/debug output */
  26. - curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);
  27. + curl_easy_setopt(curl, CURLOPT_VERBOSE, true);
  28. res = curl_easy_perform(curl);
  29. --- sword-1.5.7/tests/tlitmgrtest.cpp.orig 2004-04-21 16:31:46.015705024 +0200
  30. +++ sword-1.5.7/tests/tlitmgrtest.cpp 2004-04-21 16:31:46.023703808 +0200
  31. @@ -72,7 +72,7 @@
  32. break;
  33. case 0x61: // 'a'
  34. // 'alias'; row[2]=createInstance argument
  35. - registry->put(id, resString, TRUE);
  36. + registry->put(id, resString, true);
  37. break;
  38. }
  39. }
  40. @@ -85,7 +85,7 @@
  41. ures_close(transIDs);
  42. ures_close(bundle);
  43. - specialInverses = new Hashtable(TRUE);
  44. + specialInverses = new Hashtable(true);
  45. specialInverses->setValueDeleter(uhash_deleteUnicodeString);
  46. _registerSpecialInverse(NullTransliterator::SHORT_ID,
  47. NullTransliterator::SHORT_ID, FALSE);
  48. @@ -94,14 +94,14 @@
  49. // cache. This is how new non-rule-based transliterators are
  50. // added to the system.
  51. - registry->put(new NullTransliterator(), TRUE);
  52. - registry->put(new LowercaseTransliterator(), TRUE);
  53. - registry->put(new UppercaseTransliterator(), TRUE);
  54. - registry->put(new TitlecaseTransliterator(), TRUE);
  55. - _registerSpecialInverse("Upper", "Lower", TRUE);
  56. + registry->put(new NullTransliterator(), true);
  57. + registry->put(new LowercaseTransliterator(), true);
  58. + registry->put(new UppercaseTransliterator(), true);
  59. + registry->put(new TitlecaseTransliterator(), true);
  60. + _registerSpecialInverse("Upper", "Lower", true);
  61. _registerSpecialInverse("Title", "Lower", FALSE);
  62. - registry->put(new UnicodeNameTransliterator(), TRUE);
  63. - registry->put(new NameUnicodeTransliterator(), TRUE);
  64. + registry->put(new UnicodeNameTransliterator(), true);
  65. + registry->put(new NameUnicodeTransliterator(), true);
  66. RemoveTransliterator::registerIDs();
  67. EscapeTransliterator::registerIDs();
  68. UnescapeTransliterator::registerIDs();
  69. @@ -500,7 +500,7 @@
  70. break;
  71. case 0x61: // 'a'
  72. // 'alias'; row[2]=createInstance argument
  73. - //registry->put(id, resString, TRUE);
  74. + //registry->put(id, resString, true);
  75. break;
  76. }
  77. }
  78. @@ -569,7 +569,7 @@
  79. break;
  80. case 0x61: // 'a'
  81. // 'alias'; row[2]=createInstance argument
  82. - //registry->put(id, resString, TRUE);
  83. + //registry->put(id, resString, true);
  84. break;
  85. }
  86. }
  87. @@ -638,7 +638,7 @@
  88. break;
  89. case 0x61: // 'a'
  90. // 'alias'; row[2]=createInstance argument
  91. - //registry->put(id, resString, TRUE);
  92. + //registry->put(id, resString, true);
  93. break;
  94. }
  95. }