Blame SOURCES/xorriso-no-libjte.patch

fb29d2
diff -up xorriso-1.4.8/Makefile.am.orig xorriso-1.4.8/Makefile.am
fb29d2
--- xorriso-1.4.8/Makefile.am.orig	2017-09-12 17:39:26.000000000 +0200
fb29d2
+++ xorriso-1.4.8/Makefile.am	2019-03-25 22:39:33.204665214 +0100
fb29d2
@@ -158,26 +158,6 @@ xorriso_xorriso_SOURCES = \
fb29d2
 	libisofs/md5.h \
fb29d2
 	libisofs/md5.c \
fb29d2
 	\
fb29d2
-	libjte/libjte.h \
fb29d2
-	libjte/libjte_private.h \
fb29d2
-	libjte/libjte.c \
fb29d2
-	libjte/jte.h \
fb29d2
-	libjte/jte.c \
fb29d2
-	libjte/checksum.h \
fb29d2
-	libjte/checksum.c \
fb29d2
-	libjte/endian.c \
fb29d2
-	libjte/endianconv.h \
fb29d2
-	libjte/md5.h \
fb29d2
-	libjte/md5.c \
fb29d2
-	libjte/rsync.h \
fb29d2
-	libjte/rsync.c \
fb29d2
-	libjte/sha1.h \
fb29d2
-	libjte/sha1.c \
fb29d2
-	libjte/sha256.h \
fb29d2
-	libjte/sha256.c \
fb29d2
-	libjte/sha512.h \
fb29d2
-	libjte/sha512.c \
fb29d2
-	\
fb29d2
 	libburn/async.c \
fb29d2
 	libburn/async.h \
fb29d2
 	libburn/back_hacks.h \
fb29d2
diff -up xorriso-1.4.8/configure.ac.orig xorriso-1.4.8/configure.ac
fb29d2
--- xorriso-1.4.8/configure.ac.orig	2017-09-12 17:39:26.000000000 +0200
fb29d2
+++ xorriso-1.4.8/configure.ac	2019-03-26 12:13:38.852694528 +0100
fb29d2
@@ -319,7 +319,10 @@ AH_TEMPLATE([Xorriso_with_libjtE],
fb29d2
             [Define to use Jigdo Template Extraction via libjte])
fb29d2
 AH_TEMPLATE([Libisofs_with_libjtE],
fb29d2
             [Define to use Jigdo Template Extraction via libjte])
fb29d2
-if test x$ZLIB_DEF = xyes
fb29d2
+AC_ARG_ENABLE(libjte,
fb29d2
+[  --enable-libjte         Enable use of libjte by xorriso, default=yes],
fb29d2
+               , enable_libjte=yes)
fb29d2
+if test x$enable_libjte = xyes
fb29d2
 then
fb29d2
     AC_DEFINE([Xorriso_with_libjtE], [])
fb29d2
     AC_DEFINE([Libisofs_with_libjtE], [])
fb29d2
@@ -327,7 +330,7 @@ then
fb29d2
     echo "enabled  built-in libjte"
fb29d2
 else
fb29d2
     LIBJTE_DEF=
fb29d2
-    echo "disabled libjte because zlib not enabled or not available"
fb29d2
+    echo "disabled libjte"
fb29d2
 fi
fb29d2
 
fb29d2