diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libfpx/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libfpx/files')
-rw-r--r-- | media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch | 14 | ||||
-rw-r--r-- | media-libs/libfpx/files/libfpx-1.3.1_p6-gcc6.patch | 35 |
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch b/media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch new file mode 100644 index 000000000000..dfb974bc7164 --- /dev/null +++ b/media-libs/libfpx/files/libfpx-1.2.0.13-export-symbols.patch @@ -0,0 +1,14 @@ +* At least the Darwin linker doesn't like double symbols during the + final linking stage... + +--- a/jpeg/jpegconf.h ++++ b/jpeg/jpegconf.h +@@ -27,6 +27,6 @@ + # pragma warning(disable : 4244) + # pragma warning(disable : 4142) + #else +-# define JPEGEXPORT +-# define FPXEXPORT ++# define JPEGEXPORT extern ++# define FPXEXPORT extern + #endif diff --git a/media-libs/libfpx/files/libfpx-1.3.1_p6-gcc6.patch b/media-libs/libfpx/files/libfpx-1.3.1_p6-gcc6.patch new file mode 100644 index 000000000000..75c7a7efdbd4 --- /dev/null +++ b/media-libs/libfpx/files/libfpx-1.3.1_p6-gcc6.patch @@ -0,0 +1,35 @@ +--- a/oless/h/page.hxx ++++ b/oless/h/page.hxx +@@ -47,6 +47,7 @@ + { + public: + void * operator new(size_t size, size_t sizeData); ++ void operator delete(void *ptr); + + CMSFPage(CMSFPage *pmpNext); + inline ~CMSFPage(); +@@ -133,6 +134,24 @@ + } + + //+--------------------------------------------------------------------------- ++// ++// Member: CMSFPage::operator delete, public ++// ++// Synopsis: Overloaded delete operator for CMSFPage. ++// ++// Arguments: [ptr] -- Pointer to CMSFPage object ++// ++//---------------------------------------------------------------------------- ++ ++inline void CMSFPage::operator delete(void *ptr) ++{ ++ if (ptr) { ++ free(ptr); ++ ptr = NULL; ++ } ++} ++ ++//+--------------------------------------------------------------------------- + // + // Member: CMSFPage::GetNext, public + // |