From 8ab95022b3a080666dfcb8cae3f6e35dd8279041 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 5 Oct 2016 09:05:19 +0200 Subject: [PATCH] libowfat: fix crossbuild. --- srcpkgs/libowfat/patches/fix-cross.patch | 22 ++++++++++++++++++++++ srcpkgs/libowfat/template | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libowfat/patches/fix-cross.patch diff --git a/srcpkgs/libowfat/patches/fix-cross.patch b/srcpkgs/libowfat/patches/fix-cross.patch new file mode 100644 index 00000000000..66a8e1c8b27 --- /dev/null +++ b/srcpkgs/libowfat/patches/fix-cross.patch @@ -0,0 +1,22 @@ +--- Makefile.orig 2016-10-05 08:28:54.631977409 +0200 ++++ Makefile 2016-10-05 08:29:11.588976745 +0200 +@@ -40,7 +40,7 @@ CFLAGS_OPT=-pipe $(WARN) $(DEFINE) $(OPT + #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall + + ent: ent.c haveuint128.h +- $(CC) -g -o ent ent.c -I. ++ cc -g -o ent ent.c -I. + + # CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2 + +--- GNUmakefile.orig 2016-10-05 09:02:43.606897920 +0200 ++++ GNUmakefile 2016-10-05 09:02:54.656897487 +0200 +@@ -39,7 +39,7 @@ CFLAGS_OPT=-pipe $(WARN) $(DEFINE) $(OPT + #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall + + ent: ent.c haveuint128.h +- $(CC) -g -o ent ent.c -I. ++ cc -g -o ent ent.c -I. + + # CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2 + diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template index 315ce9fdc3a..4037e73d1d8 100644 --- a/srcpkgs/libowfat/template +++ b/srcpkgs/libowfat/template @@ -1,7 +1,7 @@ # Template file for 'libowfat' pkgname=libowfat version=0.31 -revision=1 +revision=2 build_style=gnu-makefile short_desc="reimplement libdjb" maintainer="Enno Boland "