OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../util-linux/0002-cfdisk-add-tinfo-libs.patch
  5. # Copyright (C) 2014 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. In the case libtinfo was build and installed as a separate library
  17. cfdisk needs to be linked against it.
  18. build error
  19. ----------------------------------------------------------------------
  20. i686-unknown-linux-gnu/bin/ld: fdisks/cfdisk-cfdisk.o: undefined reference to symbol 'keypad'
  21. /build/morfoh/opensde/master-musl/build/min2-master-generic-x86-pentium2/lib/libtinfow.so.5: error adding symbols: DSO missing from command line
  22. collect2: error: ld returned 1 exit status
  23. ----------------------------------------------------------------------
  24. --- ./fdisks/Makemodule.am.orig 2014-01-24 15:53:13.610905311 +0100
  25. +++ ./fdisks/Makemodule.am 2014-01-24 15:53:47.043670665 +0100
  26. @@ -68,7 +68,7 @@
  27. cfdisk_LDADD += -lslang
  28. else
  29. cfdisk_CFLAGS += $(NCURSES_CFLAGS)
  30. -cfdisk_LDADD += $(NCURSES_LIBS)
  31. +cfdisk_LDADD += $(NCURSES_LIBS) $(TINFO_LIBS)
  32. endif
  33. endif # BUILD_CFDISK