OpenSDE Packages Database (without history before r20070)
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.

35 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../doxygen/hotfix-missing_isatty.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. g++ -c -pipe -DENGLISH_ONLY -Wall -W -fno-exceptions -O2 -DNO_DEBUG -I../../src -I/opt/qt3/include -o obj/moc_expert.o moc/moc_exp
  17. ert.cpp
  18. <stdout>: In function 'void configYY_init_buffer(yy_buffer_state*, FILE*)':
  19. <stdout>:2079: error: 'isatty' was not declared in this scope
  20. --- ./src/config.l.orig 2006-11-23 15:43:20.000000000 -0300
  21. +++ ./src/config.l 2006-11-23 15:56:12.000000000 -0300
  22. @@ -23,6 +23,11 @@
  23. #include <ctype.h>
  24. #include <stdarg.h>
  25. +#ifdef __cplusplus
  26. +// including <unistd.h> doesn't help
  27. +extern "C" int isatty (int __fd) __THROW;
  28. +#endif
  29. +
  30. #include <qfileinfo.h>
  31. #include <qdir.h>
  32. #include <qtextstream.h>