Advertisement
Guest User

Untitled

a guest
May 5th, 2018
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.75 KB | None | 0 0
  1. diff -ruN mspds/PKGBUILD mspds.fix/PKGBUILD
  2. --- mspds/PKGBUILD  2018-05-04 05:03:46.000000000 +0200
  3. +++ mspds.fix/PKGBUILD  2018-05-05 19:44:44.381044316 +0200
  4. @@ -25,9 +25,9 @@
  5.  
  6.  prepare() {
  7.      unzip ${_releasefile}
  8. -    find ./ -type f -exec dos2unix -q '{}' \;
  9. +    find ${srcdir} -type f -exec dos2unix -q '{}' \;
  10.      # This hidapi patch allows us to build mspds from the hidapi Archlinux package rather than the v0.7 source.
  11. -    patch -p1 -d . < ../hidapi.patch
  12. +    patch -p1 < hidapi.patch
  13.      sed -i 's/^\/\/\(#define FPGA_UPDATE\)/\1/' $srcdir/DLL430_v3/src/TI/DLL430/UpdateManagerFet.cpp
  14.      ## resolve conflict between std::chrono and boost::chrono
  15.      grep -Rl '(chrono::' $srcdir | xargs -- sed -i 's/(chrono::/(std::chrono::/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement