void-packages/srcpkgs/qt5-fsarchiver/patches/cross.patch

14 lines
907 B
Diff

Index: qt5-fsarchiver-1.8.6pl1/qt-fsarchiver.pro
===================================================================
--- qt5-fsarchiver-1.8.6pl1.orig/qt-fsarchiver.pro
+++ qt5-fsarchiver-1.8.6pl1/qt-fsarchiver.pro
@@ -9,7 +9,7 @@ DEPENDPATH += . src translations src/ui
QT += widgets gui core
DEFINES += HAVE_CONFIG_H _REENTRANT _FILE_OFFSET_BITS=64 _LARGEFILE64_SOURCE _GNU_SOURCE HAVE_QT5
-INCLUDEPATH += . src /usr/include/ext2fs /usr/include/et /usr/include/e2p /usr/include/blkid /usr/include/uuid
+INCLUDEPATH += . src $$(XBPS_CROSS_BASE)/usr/include/ext2fs $$(XBPS_CROSS_BASE)/usr/include/et $$(XBPS_CROSS_BASE)/usr/include/e2p $$(XBPS_CROSS_BASE)/usr/include/blkid $$(XBPS_CROSS_BASE)/usr/include/uuid
LIBS += -L/usr/lib -lQt5Gui -lQt5Core -lpthread -lrt -llzma -lext2fs -lcom_err -le2p -lblkid -luuid -lz -llz4 -lbz2 -llzo2 -lgcrypt -lgpg-error -lzstd
OBJECTS_DIR = build
MOC_DIR = build