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.

70 lines
2.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../clucene/clucene-warnings.patch
  5. # Copyright (C) 2013 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. --- clucene-core-2.3.3.4/src/core/CLucene/analysis/AnalysisHeader.h 2012-02-22 12:37:22.531637934 +0000
  17. +++ clucene-core-2.3.3.4/src/core/CLucene/analysis/AnalysisHeader.h 2012-02-22 12:39:15.369916728 +0000
  18. @@ -7,6 +7,8 @@
  19. #ifndef _lucene_analysis_AnalysisHeader_
  20. #define _lucene_analysis_AnalysisHeader_
  21. +#pragma GCC system_header
  22. +
  23. #include "CLucene/index/Payload.h"
  24. #include "CLucene/util/VoidList.h"
  25. #include "CLucene/LuceneThreads.h"
  26. --- clucene-core-2.3.3.4/src/core/CLucene/search/Searchable.h 2012-02-22 12:37:22.513637729 +0000
  27. +++ clucene-core-2.3.3.4/src/core/CLucene/search/Searchable.h 2012-02-22 12:38:51.073641550 +0000
  28. @@ -7,6 +7,7 @@
  29. #ifndef _lucene_search_Searcher_
  30. #define _lucene_search_Searcher_
  31. +#pragma GCC system_header
  32. //#include "CLucene/index/IndexReader.h"
  33. CL_CLASS_DEF(index,Term)
  34. --- clucene-core-2.3.3.4/src/core/CLucene/store/IndexInput.h 2012-02-22 12:37:22.508637673 +0000
  35. +++ clucene-core-2.3.3.4/src/core/CLucene/store/IndexInput.h 2012-02-22 12:39:00.465747935 +0000
  36. @@ -7,6 +7,8 @@
  37. #ifndef _lucene_store_IndexInput_
  38. #define _lucene_store_IndexInput_
  39. +#pragma GCC system_header
  40. +
  41. #include "CLucene/LuceneThreads.h"
  42. #include "CLucene/util/Equators.h"
  43. --- clucene-core-2.3.3.4/src/core/CLucene/util/Array.h 2012-02-22 12:37:22.510637696 +0000
  44. +++ clucene-core-2.3.3.4/src/core/CLucene/util/Array.h 2012-02-22 12:38:33.714444884 +0000
  45. @@ -7,6 +7,8 @@
  46. #ifndef _lucene_util_Array_
  47. #define _lucene_util_Array_
  48. +#pragma GCC system_header
  49. +
  50. #include <stdlib.h>
  51. #include <string.h>
  52. --- clucene-core-2.3.3.4/src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:37:22.510637696 +0000
  53. +++ clucene-core-2.3.3.4/src/core/CLucene/util/PriorityQueue.h 2012-02-22 12:38:40.316519685 +0000
  54. @@ -7,6 +7,8 @@
  55. #ifndef _lucene_util_PriorityQueue_
  56. #define _lucene_util_PriorityQueue_
  57. +#pragma GCC system_header
  58. +
  59. #include <stdlib.h>
  60. CL_NS_DEF(util)