diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-05 23:52:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-05 23:52:45 +0000 |
commit | 1c33e521c460dc40899ce7bc919602b842ce27e2 (patch) | |
tree | 580eefad4cce1e883e7504b93352a9029b53036d /dev-embedded/sdcc/files | |
parent | 65e4244e411c4f65f55f2aa91f39e228f4c0680b (diff) |
gentoo auto-resync : 05:03:2023 - 23:52:45
Diffstat (limited to 'dev-embedded/sdcc/files')
-rw-r--r-- | dev-embedded/sdcc/files/sdcc-4.2.0-link-tinfo.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-embedded/sdcc/files/sdcc-4.2.0-link-tinfo.patch b/dev-embedded/sdcc/files/sdcc-4.2.0-link-tinfo.patch new file mode 100644 index 000000000000..a8f4ae7565bc --- /dev/null +++ b/dev-embedded/sdcc/files/sdcc-4.2.0-link-tinfo.patch @@ -0,0 +1,24 @@ +Link -ltinfo for ucsim + +/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-embedded/sdcc-4.2.0/temp/cc3R2ckl.ltrans0.ltrans.o: undefined reference to symbol 'nodelay' +/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line + +--- sdcc-4.2.0.orig/sim/ucsim/configure.ac ++++ sdcc-4.2.0/sim/ucsim/configure.ac +@@ -405,14 +405,14 @@ + if test $curses_ok != yes; then + AC_CHECK_LIB(curses,nl, + curses_ok="yes" +- CURSES_LIBS="${CURSES_LIBS} -lcurses", ++ CURSES_LIBS="${CURSES_LIBS} -lcurses -ltinfo", + curses_ok="no") + fi + + if test $curses_ok != yes; then + AC_CHECK_LIB(ncurses,nl, + curses_ok="yes" +- CURSES_LIBS="${CURSES_LIBS} -lncurses", ++ CURSES_LIBS="${CURSES_LIBS} -lncurses -ltinfo", + curses_ok="no") + fi + fi |