diff options
Diffstat (limited to 'community/mupdf/mupdf-1.4-system-libcurl.patch')
-rw-r--r-- | community/mupdf/mupdf-1.4-system-libcurl.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/mupdf/mupdf-1.4-system-libcurl.patch b/community/mupdf/mupdf-1.4-system-libcurl.patch new file mode 100644 index 000000000..bbee9b076 --- /dev/null +++ b/community/mupdf/mupdf-1.4-system-libcurl.patch @@ -0,0 +1,26 @@ +diff -rupN a/Makerules b/Makerules +--- a/Makerules 2014-04-11 15:10:41.000000000 +0000 ++++ b/Makerules 2014-04-15 05:35:34.430028127 +0000 +@@ -47,6 +47,8 @@ SYS_OPENJPEG_LIBS = -lopenjpeg + SYS_JBIG2DEC_LIBS = -ljbig2dec + SYS_JPEG_LIBS = -ljpeg + SYS_ZLIB_LIBS = -lz ++SYS_CURL_CFLAGS = $(shell pkg-config --cflags libcurl) -I/usr/include/curl ++SYS_CURL_LIBS = $(shell pkg-config --libs libcurl) + + CC = xcrun cc + AR = xcrun ar +diff -rupN a/Makethird b/Makethird +--- a/Makethird 2014-04-11 15:10:41.000000000 +0000 ++++ b/Makethird 2014-04-15 05:37:06.712810863 +0000 +@@ -454,6 +454,10 @@ CURL_CFLAGS := -I$(CURL_DIR)/include + CURL_LIBS := $(SYS_CURL_DEPS) + + HAVE_CURL := yes ++else ++HAVE_CURL := yes ++CURL_CFLAGS := $(SYS_CURL_CFLAGS) ++CURL_LIBS := $(SYS_CURL_LIBS) $(SYS_CURL_DEPS) + endif + + # --- X11 --- |