summaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/android-tools-fastboot/files/Makefile')
-rw-r--r--devel/android-tools-fastboot/files/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/android-tools-fastboot/files/Makefile b/devel/android-tools-fastboot/files/Makefile
index 380a6c2d1db2..62bccd06c932 100644
--- a/devel/android-tools-fastboot/files/Makefile
+++ b/devel/android-tools-fastboot/files/Makefile
@@ -88,7 +88,7 @@ SRCS+= output_file.c
SRCS+= sparse.c
SRCS+= sparse_crc32.c
SRCS+= sparse_err.c
-SRCS+= sparse_read.c
+SRCS+= sparse_read.cpp
# required by libziparchive
.PATH: ${.CURDIR}/../libutils
@@ -100,7 +100,7 @@ SRCS+= zip_archive.cc
REVISION?= $$(${GIT} rev-parse --short=12 HEAD 2>/dev/null || echo unknown)
-CPPFLAGS+= -DFASTBOOT_REVISION="\"${REVISION}-android\""
+CPPFLAGS+= -DFASTBOOT_VERSION="\"26.0.0 rc1-${REVISION}-android\""
CPPFLAGS+= -Doff64_t=off_t
CPPFLAGS+= -Dftruncate64=ftruncate
CPPFLAGS+= -Dlseek64=lseek