scribus.patch 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. diff -Naur scribus-0.9.9.orig/scribus/scribus.cpp scribus-0.9.9/scribus/scribus.cpp
  2. --- scribus-0.9.9.orig/scribus/scribus.cpp Sat Apr 19 12:09:44 2003
  3. +++ scribus-0.9.9/scribus/scribus.cpp Tue May 13 13:42:03 2003
  4. @@ -2890,7 +2890,7 @@
  5. }
  6. dlerror();
  7. demo = (sdem)dlsym(mo, "Run");
  8. - if ((error = dlerror()) != NULL)
  9. + if ((error = (char *)dlerror()) != NULL)
  10. {
  11. std::cout << "Can't find Symbol" << endl;
  12. dlclose(mo);
  13. @@ -4446,7 +4446,7 @@
  14. }
  15. dlerror();
  16. demo = (sdem)dlsym(mo, "Run");
  17. - if ((error = dlerror()) != NULL)
  18. + if ((error = (char *)dlerror()) != NULL)
  19. {
  20. std::cout << "Can't find Symbol" << endl;
  21. dlclose(mo);
  22. @@ -4844,7 +4844,7 @@
  23. }
  24. dlerror();
  25. demo = (sdem)dlsym(PSDriver, "Run");
  26. - if ((error = dlerror()) != NULL)
  27. + if ((error = (char *)dlerror()) != NULL)
  28. {
  29. std::cout << "Can't find Symbol" << endl;
  30. dlclose(PSDriver);
  31. @@ -4874,7 +4874,7 @@
  32. }
  33. dlerror();
  34. demo = (sdem)dlsym(PDFDriver, "Run");
  35. - if ((error = dlerror()) != NULL)
  36. + if ((error = (char *)dlerror()) != NULL)
  37. {
  38. std::cout << "Can't find Symbol" << endl;
  39. dlclose(PDFDriver);
  40. @@ -5429,7 +5429,7 @@
  41. {
  42. dlerror();
  43. demo2 = (sdem2)dlsym(it.data().Zeiger, "CleanUpPlug");
  44. - if ((error = dlerror()) != NULL)
  45. + if ((error = (char *)dlerror()) != NULL)
  46. {
  47. dlclose(it.data().Zeiger);
  48. continue;
  49. @@ -5503,7 +5503,7 @@
  50. mo = pda.Zeiger;
  51. dlerror();
  52. demo = (sdem)dlsym(mo, "Run");
  53. - if ((error = dlerror()) != NULL)
  54. + if ((error = (char *)dlerror()) != NULL)
  55. {
  56. std::cout << "Can't find Symbol" << endl;
  57. dlclose(mo);
  58. @@ -5531,7 +5531,7 @@
  59. return false;
  60. dlerror();
  61. demo = (sdem0)dlsym(mo, "Name");
  62. - if ((error = dlerror()) != NULL)
  63. + if ((error = (char *)dlerror()) != NULL)
  64. {
  65. dlclose(mo);
  66. return false;
  67. @@ -5539,7 +5539,7 @@
  68. *PName = (*demo)();
  69. dlerror();
  70. demo1 = (sdem1)dlsym(mo, "Type");
  71. - if ((error = dlerror()) != NULL)
  72. + if ((error = (char *)dlerror()) != NULL)
  73. {
  74. dlclose(mo);
  75. return false;
  76. @@ -5552,7 +5552,7 @@
  77. {
  78. dlerror();
  79. demo2 = (sdem2)dlsym(mo, "InitPlug");
  80. - if ((error = dlerror()) != NULL)
  81. + if ((error = (char *)dlerror()) != NULL)
  82. {
  83. dlclose(mo);
  84. return false;