Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling Errors: lib/jpeg.c needs update #37

Closed
SergeGardien opened this issue Jun 17, 2017 · 3 comments
Closed

Compiling Errors: lib/jpeg.c needs update #37

SergeGardien opened this issue Jun 17, 2017 · 3 comments

Comments

@SergeGardien
Copy link

SergeGardien commented Jun 17, 2017

SWFTool doesn't compile under Mac OS X 10.11.6.
You need to update swftools/lib/jpeg.c as per advice of a jpeg developer (at https://trac.macports.org/ticket/42735#comment:8) by substituting the following lines:

#ifdef HAVE_JPEGLIB
#define HAVE_BOOLEAN
#include <jpeglib.h>

with:

#ifdef HAVE_JPEGLIB
#ifndef FALSE            /* in case these macros already exist */
#define FALSE   0        /* values of boolean */
#endif
#ifndef TRUE
#define TRUE    1
#endif
#define HAVE_BOOLEAN
#include <jpeglib.h>
@apjanke
Copy link

apjanke commented Jun 2, 2018

Ping. This is still an issue. Build is failing on macOS 10.13. (Homebrew/homebrew-core#28559)

Are you interested in supporting macOS for this package?

@yoya
Copy link
Contributor

yoya commented Jul 14, 2020

I believe this issue has been resolved in PR #67 .

@matthiaskramm
Copy link
Collaborator

Yeah, let's close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants