Files
buildroot/package/lrzsz/lrzsz.mk
Frank Chung 13e778fcf1 package/lrzsz: fix build with gcc 15
Import upstream pull request https://github.com/UweOhse/lrzsz/pull/8
to fix GCC 15.x build issues. This pull request also replaces our
patch 0002, which is dropped by this commit.

Fixes:

  https://autobuild.buildroot.net/results/a1a5aad2ccc69aeff586d7a83620f10d51ccfdb6/

Signed-off-by: Frank Chung <uuidxx@163.com>
[Thomas:
- Added two more backports needed to fix the build
- Used the actual patch submitted in the pull request, rendering our
  0002 patch useless
- Defined ac_cv_type_signal as a workaround to a configure script issue]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-08-22 12:32:50 +02:00

30 lines
892 B
Makefile

################################################################################
#
# lrzsz
#
################################################################################
LRZSZ_VERSION = 0.12.21rc
LRZSZ_SITE = http://www.ohse.de/uwe/testing
LRZSZ_CONF_OPTS = --disable-timesync
LRZSZ_LICENSE = GPL-2.0+
LRZSZ_LICENSE_FILES = COPYING
LRZSZ_CPE_ID_VALID = YES
LRZSZ_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
LRZSZ_CONF_ENV = \
ac_cv_type_signal=void \
LIBS=$(TARGET_NLS_LIBS)
define LRZSZ_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/src/lrz $(TARGET_DIR)/usr/bin/rz
$(INSTALL) -m 0755 -D $(@D)/src/lsz $(TARGET_DIR)/usr/bin/sz
ln -sf rz $(TARGET_DIR)/usr/bin/lrz
ln -sf sz $(TARGET_DIR)/usr/bin/lsz
ln -sf rz $(TARGET_DIR)/usr/bin/rb
ln -sf sz $(TARGET_DIR)/usr/bin/sb
ln -sf rz $(TARGET_DIR)/usr/bin/rx
ln -sf sz $(TARGET_DIR)/usr/bin/sx
endef
$(eval $(autotools-package))