Bug#1139188: tupi: FTBFS with QuaZip 1.7

Ben Westover <[email protected]>
Newsgroups gmane.linux.debian.qa-packages
Message-ID <521e4086-dae7-4f51-9144-3bec94c21852__1258.43317234597$1780792058$gmane$org@debian.org>
Source: tupi
Version: 0.2+git08-8
Severity: serious
Justification: ftbfs
Tags: ftbfs patch
Control: block 1138499 by -1

Dear Maintainer,

Your package fails to build from source with the new libquazip1 version 
1.7.1, because it contains a patch that hard-codes version 1.5 in the 
build script. I have attached a patch that bumps it to target 1.7.1; I 
would advise you to try and find an alternative way to patch the source 
such that it does not target a specific version of QuaZip, so this does 
not happen with every future new version.

Regards
--
Ben Westover
tupi.patch (text/x-patch, 1.6 KB)
diff --git a/debian/patches/fix_quazip_path.patch b/debian/patches/fix_quazip_path.patch
index 573e5b6..7500d31 100644
--- a/debian/patches/fix_quazip_path.patch
+++ b/debian/patches/fix_quazip_path.patch
@@ -13,7 +13,7 @@ Bug-Debian: https://bugs.debian.org/963386
  
  unix:!macx {
 -  INCLUDEPATH += /usr/include/quazip
-+  INCLUDEPATH += /usr/include/QuaZip-Qt5-1.5
++  INCLUDEPATH += /usr/include/QuaZip-Qt5-1.7.1
  }
  
  LIBS += -lz
@@ -24,7 +24,7 @@ Bug-Debian: https://bugs.debian.org/963386
  		</defines>
                  <includes>
 -                        <include path="/usr/include/quazip/" />
-+                        <include path="/usr/include/QuaZip-Qt5-1.5/" />
++                        <include path="/usr/include/QuaZip-Qt5-1.7.1/" />
                  </includes>
  	</provide>
  	<solution>
@@ -33,7 +33,7 @@ Bug-Debian: https://bugs.debian.org/963386
 @@ -1,5 +1,5 @@
  # Generated automatically at 2016-08-01 18:07:32 -0500! PLEASE DO NOT EDIT!
 -INCLUDEPATH += /usr/local/include /usr/include/libavformat/ /usr/include/libavcodec/ /usr/include/quazip/
-+INCLUDEPATH += /usr/local/include /usr/include/libavformat/ /usr/include/libavcodec/ /usr/include/QuaZip-Qt5-1.5/
++INCLUDEPATH += /usr/local/include /usr/include/libavformat/ /usr/include/libavcodec/ /usr/include/QuaZip-Qt5-1.7.1/
  LIBS += -L/usr/local/lib -lavformat -lavcodec -lquazip -lz -ltheora -ltheoraenc -ltheoradec -logg -ltupifwgui -ltupifwcore
  QT += opengl core gui svg xml network
  DEFINES += HAVE_LIBAV HAVE_QUAZIP HAVE_ZLIB HAVE_MULTIMEDIA HAVE_THEORA K_NODEBUG VERSION=\\\"0.2\\\" CODE_NAME=\\\"Beraba\\\" REVISION=\\\"git08\\\" CONFIG_VERSION=\\\"2\\\"
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEOGnacqRhdU6eNmtFwxHF9U6JtpgFAmokungFAwAAAAAACgkQwxHF9U6Jtpid
Qg//Uy9bQiNvfXrj4t1cO2AxYR1APeGLf8xWMs7sQhGxEzdvl4sC0+edNsCqxbEUNNFtEq1aVZcN
+nbhodbRmeKPRRXpcMSWaQMU6XL73piR9ghblrJge1LSknRhrSnW+bbR1JTov1sbSndhKjjhDvS3
33AyFljJcLXNGaMMwOMmBFkrJqA6wODSioNkMjnzY9W/5Pt37K8j6TJfz7JnAML5UOb2ts70D7Ed
r3yQOOsCEx3wzTT4pKhuz4wh7iPopUJsh1XkHF0gyGJHZURUa++omQwrqDTwoWNqK6l0RIffMcMZ
ZkkBn4opTg+462QrqrZf/KmCbUj8FdVg93DIEmmR2wqD/yFvvqRKVMq1rOcNfg9jUumapAT6tAyo
D5tJRtZt2SFHamLCZfVw/NoE4LjvqEkpmoIqemPUZGSMI4HVYhuYkDG078BZHJNAGma1zjpaPqoY
YvSI2xD45M70tCLqb53c077HXcMfans5kS6Qo+8IfohKjWCH+eQZoRKQpL9Q4KRHidLs0C5vcNvN
/+ps/fa5DK6PcOtCbkop7PxgZi+C0eLBnERoqYBg5tJtmoXHaLFb8PwV+PVVldjBwbtBe09aOExr
L8pVeX0F9MYE95pxInCcVcopgGlT7HZ0RXOUS+f6q5yDUlHgPTmw5JY7mC8Q3jnB6TGX7l85mcA6
gzk=
=9Vgr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.