FreeBSD Bugzilla – Attachment 198879 Details for
Bug 232902
graphics/mupdf: automatically pick libmupdfthird.so
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for graphics/mupdf
graphics-mupdf--pick-libmupdfthird-automatically.patch (text/plain), 2.13 KB, created by
Eygene Ryabinkin
on 2018-11-02 06:55:41 UTC
(
hide
)
Description:
Patch for graphics/mupdf
Filename:
MIME Type:
Creator:
Eygene Ryabinkin
Created:
2018-11-02 06:55:41 UTC
Size:
2.13 KB
patch
obsolete
>Index: graphics/mupdf/Makefile >=================================================================== >--- graphics/mupdf/Makefile (revision 483775) >+++ graphics/mupdf/Makefile (working copy) >@@ -4,7 +4,7 @@ > PORTNAME= mupdf > PORTVERSION= 1.13.0 > DISTVERSIONSUFFIX= -source >-PORTREVISION= 3 >+PORTREVISION= 4 > PORTEPOCH= 1 > CATEGORIES= graphics > MASTER_SITES= http://www.mupdf.com/downloads/ \ >Index: graphics/mupdf/files/patch-Makefile >=================================================================== >--- graphics/mupdf/files/patch-Makefile (revision 483775) >+++ graphics/mupdf/files/patch-Makefile (working copy) >@@ -1,7 +1,15 @@ >-$OpenBSD: patch-Makefile,v 1.12 2016/12/12 10:54:39 sthen Exp $ >---- Makefile.orig 2017-12-13 14:00:30 UTC >-+++ Makefile >-@@ -312,8 +312,8 @@ generate: $(JAVASCRIPT_GEN) >+- Create shared library versions for MuPDF >+ and its third-party code; make them to be version-bumped >+ with the port version to avoid desynchronization. >+ >+- Make MuPDF library to pick third-party library >+ via ld(1) automatically: fitz (in MuPDF) uses code >+ from lcms2 (in third-party). >+ >+Based on: $OpenBSD: patch-Makefile,v 1.12 2016/12/12 10:54:39 sthen Exp $ >+--- Makefile.orig 2018-04-12 16:14:06.000000000 +0300 >++++ Makefile 2018-08-30 16:30:17.981273000 +0300 >+@@ -325,8 +325,8 @@ > > # --- Library --- > >@@ -10,18 +18,19 @@ > +MUPDF_LIB = libmupdf.so.$(SOVERSION) > +THIRD_LIB = libmupdfthird.so.$(SOVERSION) > THREAD_LIB = $(OUT)/libmuthreads.a >+ PKCS7_LIB = $(OUT)/libmupkcs7.a > >- MUPDF_OBJ := \ >-@@ -344,7 +344,11 @@ THIRD_OBJ := \ >- THREAD_OBJ := $(THREAD_OBJ) >+@@ -355,8 +355,12 @@ >+ $(ZLIB_OBJ) \ >+ $(LCMS2_OBJ) > > -$(MUPDF_LIB) : $(MUPDF_OBJ) > +$(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_LIB) >-+ $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname=$@ -Wl,--no-undefined -o $@ $^ $(LIBS) >++ $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname=$@ -o $@ $^ $(THIRD_LIB) $(LIBS) > + > $(THIRD_LIB) : $(THIRD_OBJ) >-+ $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname=$@ -Wl,--no-undefined -o $@ $^ $(LIBS) >++ $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname=$@ -o $@ $^ $(LIBS) > + > $(THREAD_LIB) : $(THREAD_OBJ) >+ $(PKCS7_LIB) : $(PKCS7_OBJ) > >- INSTALL_LIBS := $(MUPDF_LIB) $(THIRD_LIB)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232902
: 198879