summaryrefslogtreecommitdiff
path: root/textproc/exempi/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/exempi/files')
-rw-r--r--textproc/exempi/files/patch-exempi_Makefile.in19
-rw-r--r--textproc/exempi/files/patch-samples_source_Makefile.in19
-rw-r--r--textproc/exempi/files/patch-samples_source_common_DumpFile.cpp38
3 files changed, 76 insertions, 0 deletions
diff --git a/textproc/exempi/files/patch-exempi_Makefile.in b/textproc/exempi/files/patch-exempi_Makefile.in
new file mode 100644
index 000000000000..a644ce876a26
--- /dev/null
+++ b/textproc/exempi/files/patch-exempi_Makefile.in
@@ -0,0 +1,19 @@
+--- exempi/Makefile.in.orig 2022-07-29 09:33:18 UTC
++++ exempi/Makefile.in
+@@ -128,7 +128,6 @@ bin_PROGRAMS = exempi$(EXEEXT)
+ build_triplet = @build@
+ host_triplet = @host@
+ bin_PROGRAMS = exempi$(EXEEXT)
+-@UNIX_ENV_TRUE@am__append_1 = -lrt
+ @WITH_UNIT_TEST_TRUE@check_PROGRAMS = testexempicore$(EXEEXT) \
+ @WITH_UNIT_TEST_TRUE@ testserialise$(EXEEXT) \
+ @WITH_UNIT_TEST_TRUE@ testwritenewprop$(EXEEXT) \
+@@ -801,7 +800,7 @@ libexempi_la_LIBADD = $(top_builddir)/source/libxmpcom
+ $(top_builddir)/XMPCore/source/libXMPCore.la \
+ $(top_builddir)/XMPFiles/source/libXMPFiles.la \
+ $(top_builddir)/third-party/zuid/interfaces/libmd5.la -lexpat \
+- -lz -ldl $(am__append_1)
++ -lz $(am__append_1)
+ libexempi_la_LDFLAGS = -version-info @EXEMPI_VERSION_INFO@
+ dist_man1_MANS = exempi.1
+
diff --git a/textproc/exempi/files/patch-samples_source_Makefile.in b/textproc/exempi/files/patch-samples_source_Makefile.in
new file mode 100644
index 000000000000..9afce776b44c
--- /dev/null
+++ b/textproc/exempi/files/patch-samples_source_Makefile.in
@@ -0,0 +1,19 @@
+--- samples/source/Makefile.in.orig 2022-07-29 09:33:18 UTC
++++ samples/source/Makefile.in
+@@ -129,7 +129,6 @@ noinst_PROGRAMS = xmpcoverage$(EXEEXT) xmpfilescoverag
+ dumpxmp$(EXEEXT) dumpmainxmp$(EXEEXT) customschema$(EXEEXT) \
+ modifyingxmp$(EXEEXT) readingxmp$(EXEEXT) \
+ xmpcommandtool$(EXEEXT)
+-@UNIX_ENV_TRUE@am__append_1 = -lrt
+ subdir = samples/source
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_compile_flags.m4 \
+@@ -438,7 +437,7 @@ XMPLIBS = $(top_builddir)/XMPCore/source/libXMPCore.la
+ XMPLIBS = $(top_builddir)/XMPCore/source/libXMPCore.la \
+ $(top_builddir)/XMPFiles/source/libXMPFiles.la \
+ $(top_builddir)/source/libxmpcommon.la -lexpat -lz \
+- $(top_builddir)/third-party/zuid/interfaces/libmd5.la -ldl \
++ $(top_builddir)/third-party/zuid/interfaces/libmd5.la \
+ $(am__append_1)
+ noinst_LTLIBRARIES = libsamplescommon.la
+ libsamplescommon_la_SOURCES = common/DumpFile.cpp common/DumpFile.h \
diff --git a/textproc/exempi/files/patch-samples_source_common_DumpFile.cpp b/textproc/exempi/files/patch-samples_source_common_DumpFile.cpp
new file mode 100644
index 000000000000..1587cd397d00
--- /dev/null
+++ b/textproc/exempi/files/patch-samples_source_common_DumpFile.cpp
@@ -0,0 +1,38 @@
+--- samples/source/common/DumpFile.cpp.orig 2022-06-25 21:43:18 UTC
++++ samples/source/common/DumpFile.cpp
+@@ -2476,7 +2476,7 @@ DumpISOBoxes(LFA_FileRef file, XMP_Uns32 maxBoxLen, st
+ DumpTIFF(tiffContent, tiffLength, offset, "HEIF Exif", "HEIF:Exif");
+ LFA_Seek(file, keep, SEEK_SET, &ok);
+ assertMsg("seek failed", ok);
+- exif_item_id = NULL;
++ exif_item_id = 0;
+ }
+ }
+ //Get the data for xmp - using value from mime_item_id
+@@ -2494,7 +2494,7 @@ DumpISOBoxes(LFA_FileRef file, XMP_Uns32 maxBoxLen, st
+ DumpXMP(xmpContent, xmpLength, offset, "XMP");
+ LFA_Seek(file, keep, SEEK_SET, &ok);
+ assertMsg("seek failed", ok);
+- mime_item_id = NULL;
++ mime_item_id = 0;
+ }
+ }
+ break;
+@@ -2646,7 +2646,7 @@ DumpISOBoxes(LFA_FileRef file, XMP_Uns32 maxBoxLen, st
+ DumpTIFF(tiffContent, tiffLength, offset, "HEIF Exif", "HEIF:Exif");
+ LFA_Seek(file, keep, SEEK_SET, &ok);
+ assertMsg("seek failed", ok);
+- exif_item_id = NULL;
++ exif_item_id = 0;
+ }
+ }
+ //Get the data for xmp - using value from mime_item_id
+@@ -2664,7 +2664,7 @@ DumpISOBoxes(LFA_FileRef file, XMP_Uns32 maxBoxLen, st
+ DumpXMP(xmpContent, xmpLength, offset, "XMP");
+ LFA_Seek(file, keep, SEEK_SET, &ok);
+ assertMsg("seek failed", ok);
+- mime_item_id = NULL;
++ mime_item_id = 0;
+ }
+ }
+