netpbm/netpbm-disable-jasper.patch
Pedro Monreal Gonzalez 23a1b5ca1b Accepting request 728166 from home:jubalh:branches:graphics
- bsc#1144255 - Drop jasper dependency from netpbm due to removal
  of jasper. Disables JPEG2000 support and stops shipping programs
  like pamtojpeg2k and jpeg2ktopam
- Add netpbm-disable-jasper.patch

OBS-URL: https://build.opensuse.org/request/show/728166
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=113
2019-09-04 08:45:23 +00:00

14 lines
543 B
Diff

Index: netpbm-10.86.3/config.mk.in
===================================================================
--- netpbm-10.86.3.orig/config.mk.in
+++ netpbm-10.86.3/config.mk.in
@@ -482,7 +482,7 @@ JBIGLIB = $(INTERNAL_JBIGLIB)
JBIGHDR_DIR = $(INTERNAL_JBIGHDR_DIR)
# The Jasper JPEG-2000 image compression library (aka JasPer):
-JASPERLIB = -ljasper
+JASPERLIB = NONE
JASPERHDR_DIR = /usr/include/jasper
# JASPERDEPLIBS is the libraries (-l options or file names) on which
# The Jasper library depends -- i.e. what you have to link into any