Saving my changes to Sphinx as patch files

This commit is contained in:
Daniel Wolf
2016-01-12 22:13:42 +01:00
parent eace5dbd1b
commit e55cbd3bcf
7 changed files with 46 additions and 34 deletions

21
lib/sphinxbase.patch Normal file
View File

@@ -0,0 +1,21 @@
diff --git a/lib/sphinxbase-5prealpha-2015-08-05/include/sphinxbase/sphinxbase_export.h b/lib/sphinxbase-5prealpha-2015-08-05/include/sphinxbase/sphinxbase_export.h
index 535d460..da4d633 100644
--- a/lib/sphinxbase-5prealpha-2015-08-05/include/sphinxbase/sphinxbase_export.h
+++ b/lib/sphinxbase-5prealpha-2015-08-05/include/sphinxbase/sphinxbase_export.h
@@ -1,15 +1,7 @@
#ifndef __SPHINXBASE_EXPORT_H__
#define __SPHINXBASE_EXPORT_H__
-/* Win32/WinCE DLL gunk */
-#if (defined(_WIN32) || defined(_WIN32_WCE)) && !defined(_WIN32_WP) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__WINSCW__) && !defined(__SYMBIAN32__)
-#if defined(SPHINXBASE_EXPORTS) /* Visual Studio */
-#define SPHINXBASE_EXPORT __declspec(dllexport)
-#else
-#define SPHINXBASE_EXPORT __declspec(dllimport)
-#endif
-#else /* !_WIN32 */
+// We're creating a static library. No __declspec!
#define SPHINXBASE_EXPORT
-#endif
#endif /* __SPHINXBASE_EXPORT_H__ */