Bug 677 - 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:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 19:45 CET by Sönke Peters
Modified: 2015-10-25 20:05 CET (History)
1 user (show)



Attachments
configure.ac libzip 0.10 compatibility patch (713 bytes, patch)
2015-10-25 19:47 CET, Sönke Peters
Details

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:45:08 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:47:11 CET
Created attachment 170 [details]
configure.ac libzip 0.10 compatibility patch
Comment 2 Sönke Peters 2015-10-25 19:51:43 CET
*** Bug 676 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Elstner 2015-10-25 20:05:49 CET

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