libftdi1: apply patch for swig 4.3.0
https://bugzilla.redhat.com/show_bug.cgi?id=2319133 https://src.fedoraproject.org/rpms/libftdi/raw/9051ea9ea767eced58b69d855a5d700a5d4602cc/f/libftdi-1.5-swig-4.3.patch
This commit is contained in:
committed by
Bjørn Forsman
parent
b046eab687
commit
e6ee08f999
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, pkg-config
|
||||
, libusb1
|
||||
@@ -29,6 +30,16 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-U37M5P7itTF1262oW+txbKxcw2lhYHAwy1ML51SDVMs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# http://developer.intra2net.com/mailarchive/html/libftdi/2024/msg00024.html
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2319133
|
||||
name = "swig-4.3.0-fix.patch";
|
||||
url = "https://src.fedoraproject.org/rpms/libftdi/raw/9051ea9ea767eced58b69d855a5d700a5d4602cc/f/libftdi-1.5-swig-4.3.patch";
|
||||
hash = "sha256-X5tqiPewnyAyvLzR6s0VbNpZKLd0idtPGU4ro36CZHI=";
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ]
|
||||
|
||||
Reference in New Issue
Block a user