Skip to content

Commit

Permalink
libftdi1: remove patch file and use sedit instead
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Sep 1, 2014
1 parent d572a40 commit e43190b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
3 changes: 2 additions & 1 deletion devel/libftdi1/PRE_BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ default_pre_build &&
# make cmake report correct C++ library
sedit 's/ftdi1pp/ftdipp1/' CMakeLists.txt &&

patch_it $SCRIPT_DIRECTORY/libftdi1-1.1-no-double-open.diff 1
# backported commit bc3841238bac9cb6955848fd661bbf19a5ed42c6 to 1.1
sedit '416 s@^.*$@ if (ftdi->usb_dev == NULL \&\& libusb_open(dev, \&ftdi->usb_dev) < 0)@' src/ftdi.c
21 changes: 0 additions & 21 deletions devel/libftdi1/libftdi1-1.1-no-double-open.diff

This file was deleted.

0 comments on commit e43190b

Please sign in to comment.