diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-01-02 21:41:13 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-01-02 21:41:13 +0100 |
commit | f08e3e38d4bf983480fcde77911136bab70d8e80 (patch) | |
tree | 6286ff43b53a5df79fcfcf31d22443a18f0455ee /pkgs/development/libraries/libctb/include-kbhit.patch | |
parent | bdfb1bd01b2da393a3cdf567764a79e418f2b62e (diff) | |
parent | 129c73802fdddacb20cf194bd2968d73ebced590 (diff) | |
download | nixpkgs-f08e3e38d4bf983480fcde77911136bab70d8e80.tar nixpkgs-f08e3e38d4bf983480fcde77911136bab70d8e80.tar.gz nixpkgs-f08e3e38d4bf983480fcde77911136bab70d8e80.tar.bz2 nixpkgs-f08e3e38d4bf983480fcde77911136bab70d8e80.tar.lz nixpkgs-f08e3e38d4bf983480fcde77911136bab70d8e80.tar.xz nixpkgs-f08e3e38d4bf983480fcde77911136bab70d8e80.tar.zst nixpkgs-f08e3e38d4bf983480fcde77911136bab70d8e80.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/development/libraries/libctb/include-kbhit.patch')
-rw-r--r-- | pkgs/development/libraries/libctb/include-kbhit.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libctb/include-kbhit.patch b/pkgs/development/libraries/libctb/include-kbhit.patch new file mode 100644 index 00000000000..76b4e38fadb --- /dev/null +++ b/pkgs/development/libraries/libctb/include-kbhit.patch @@ -0,0 +1,13 @@ +diff --git a/GNUmakefile b/GNUmakefile +index e39a687..026f9c4 100644 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -140,7 +140,7 @@ all: ../lib/libctb$(LIBFLAG)$(GPIBFLAG)-0.16.a ../lib/libctb$(LIBFLAG)$(GPIBFLAG + + install: install_ctb_lib install_ctb_dll + $(INSTALL) -d $(DESTDIR)$(prefix)/include/ctb-0.16 +- for f in ctb.h fifo.h getopt.h $(GPIBINC) iobase.h linux/serport.h linux/timer.h portscan.h serport.h serportx.h timer.h; do \ ++ for f in ctb.h fifo.h getopt.h $(GPIBINC) iobase.h kbhit.h linux/serport.h linux/timer.h portscan.h serport.h serportx.h timer.h; do \ + if test ! -d $(DESTDIR)$(prefix)/include/ctb-0.16/`dirname $$f` ; then \ + $(INSTALL) -d $(DESTDIR)$(prefix)/include/ctb-0.16/`dirname $$f`; \ + fi; \ |