summaryrefslogtreecommitdiff
path: root/community/mupdf/mupdf-1.3-system-libcurl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mupdf/mupdf-1.3-system-libcurl.patch')
-rw-r--r--community/mupdf/mupdf-1.3-system-libcurl.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/mupdf/mupdf-1.3-system-libcurl.patch b/community/mupdf/mupdf-1.3-system-libcurl.patch
new file mode 100644
index 000000000..b99083216
--- /dev/null
+++ b/community/mupdf/mupdf-1.3-system-libcurl.patch
@@ -0,0 +1,21 @@
+--- a/Makerules 2013-08-27 14:35:11.243520354 +0000
++++ b/Makerules 2013-08-27 15:40:22.583629510 +0000
+@@ -67,6 +67,8 @@
+ 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)
+
+ endif
+
+--- a/Makethird 2013-08-27 15:41:18.043354692 +0000
++++ b/Makethird 2013-08-27 15:42:41.332916192 +0000
+@@ -444,5 +444,6 @@
+ CURL_CFLAGS := -I$(CURL_DIR)/include
+ CURL_LIBS := $(SYS_CURL_DEPS)
+ else
+-NOCURL := yes
++CURL_CFLAGS := $(SYS_CURL_CFLAGS)
++CURL_LIBS := $(SYS_CURL_LIBS) $(SYS_CURL_DEPS)
+ endif