Bug 676 - libzip < 0.11 compatibility fix
Summary: libzip < 0.11 compatibility fix
Status: RESOLVED DUPLICATE of bug 674
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Portability (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL: http://sigrok.org/gitweb/?p=libsigrok...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 19:44 CET by Sönke Peters
Modified: 2015-10-25 20:07 CET (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Peters 2015-10-25 19:44:37 CET
This tiny patch makes libsigrok again compatible with libzip 0.10 by defining zip_discard() as an empty preprocessor macro.

libzip 0.10 is still in broad use, because long-term-support Linux distributions like Ubuntu 14.04 ship this version.
So I think it is quite important to be able to build libsigrok on these.

libzip >= 0.11 requirement was introduced in http://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff;h=896fc9c7231c7567cda84404eb0fcdd889b556a2
due to the use of zip_discard() introduced in http://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff;h=8d4097ffa69249be0fac8ab5d6a6e1e0b5fc368b

PS:
Thanks for your great work!
Comment 1 Sönke Peters 2015-10-25 19:51:43 CET

*** This bug has been marked as a duplicate of bug 677 ***
Comment 2 Daniel Elstner 2015-10-25 20:07:15 CET

*** This bug has been marked as a duplicate of bug 674 ***