summaryrefslogtreecommitdiff
path: root/graphics/jpeg/patches/patch-ag
blob: eadfb0d756bea5ab15117a8d04fd9d8fec0738dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
$NetBSD: patch-ag,v 1.5 2020/01/20 14:59:48 ryoon Exp $

Build and install jpegexiforient.

--- Makefile.in.orig	2019-04-29 14:05:54.000000000 +0000
+++ Makefile.in
@@ -100,7 +100,7 @@ host_triplet = @host@
 target_triplet = @target@
 @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(srcdir)/libjpeg.map
 bin_PROGRAMS = cjpeg$(EXEEXT) djpeg$(EXEEXT) jpegtran$(EXEEXT) \
-	rdjpgcom$(EXEEXT) wrjpgcom$(EXEEXT)
+	rdjpgcom$(EXEEXT) wrjpgcom$(EXEEXT) jpegexiforient$(EXEEXT)
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
@@ -186,6 +186,9 @@ rdjpgcom_LDADD = $(LDADD)
 am_wrjpgcom_OBJECTS = wrjpgcom.$(OBJEXT)
 wrjpgcom_OBJECTS = $(am_wrjpgcom_OBJECTS)
 wrjpgcom_LDADD = $(LDADD)
+am_jpegexiforient_OBJECTS = jpegexiforient.$(OBJEXT)
+jpegexiforient_OBJECTS = $(am_jpegexiforient_OBJECTS)
+jpegexiforient_DEPENDENCIES = libjpeg.la
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -226,6 +229,7 @@ am__depfiles_remade = ./$(DEPDIR)/@MEMOR
 	./$(DEPDIR)/jidctfst.Plo ./$(DEPDIR)/jidctint.Plo \
 	./$(DEPDIR)/jmemmgr.Plo ./$(DEPDIR)/jpegtran.Po \
 	./$(DEPDIR)/jquant1.Plo ./$(DEPDIR)/jquant2.Plo \
+	./$(DEPDIR)/jpegexiforient.Plo ./$(DEPDIR)/jpegexiforient.Po \
 	./$(DEPDIR)/jutils.Plo ./$(DEPDIR)/rdbmp.Po \
 	./$(DEPDIR)/rdcolmap.Po ./$(DEPDIR)/rdgif.Po \
 	./$(DEPDIR)/rdjpgcom.Po ./$(DEPDIR)/rdppm.Po \
@@ -254,7 +258,8 @@ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V
 am__v_CCLD_0 = @echo "  CCLD    " $@;
 am__v_CCLD_1 = 
 SOURCES = $(libjpeg_la_SOURCES) $(cjpeg_SOURCES) $(djpeg_SOURCES) \
-	$(jpegtran_SOURCES) $(rdjpgcom_SOURCES) $(wrjpgcom_SOURCES)
+	$(jpegtran_SOURCES) $(rdjpgcom_SOURCES) $(wrjpgcom_SOURCES) \
+	$(jpegexiforient_SOURCES)
 am__can_run_installinfo = \
   case $$AM_UPDATE_INFO_DIR in \
     n|no|NO) false;; \
@@ -499,6 +504,8 @@ jpegtran_SOURCES = jpegtran.c rdswitch.c
 jpegtran_LDADD = libjpeg.la
 rdjpgcom_SOURCES = rdjpgcom.c
 wrjpgcom_SOURCES = wrjpgcom.c
+jpegexiforient_SOURCES = jpegexiforient.c
+jpegexiforient_LDADD = libjpeg.la
 
 # Manual pages to install
 man_MANS = $(DISTMANS)
@@ -684,6 +691,9 @@ rdjpgcom$(EXEEXT): $(rdjpgcom_OBJECTS) $
 wrjpgcom$(EXEEXT): $(wrjpgcom_OBJECTS) $(wrjpgcom_DEPENDENCIES) $(EXTRA_wrjpgcom_DEPENDENCIES) 
 	@rm -f wrjpgcom$(EXEEXT)
 	$(AM_V_CCLD)$(LINK) $(wrjpgcom_OBJECTS) $(wrjpgcom_LDADD) $(LIBS)
+jpegexiforient$(EXEEXT): $(jpegexiforient_OBJECTS) $(jpegexiforient_DEPENDENCIES) 
+	@rm -f jpegexiforient$(EXEEXT)
+	$(AM_V_CCLD)$(LINK) $(jpegexiforient_OBJECTS) $(jpegexiforient_LDADD) $(LIBS)
 
 mostlyclean-compile:
 	-rm -f *.$(OBJEXT)