diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-06-02 11:07:45 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-06-22 20:43:23 +0200 |
commit | b7e1208ee7e38f581ea79dbf2195e987d940b447 (patch) | |
tree | 3c523fd1f65717004afc29757e56562327bb8e11 /app-arch/afio/files | |
parent | app-admin/sxid: add 4.20130802 (diff) | |
download | gentoo-b7e1208ee7e38f581ea79dbf2195e987d940b447.tar.gz gentoo-b7e1208ee7e38f581ea79dbf2195e987d940b447.tar.bz2 gentoo-b7e1208ee7e38f581ea79dbf2195e987d940b447.zip |
app-arch/afio: add 2.5.2
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://bugs.gentoo.org/708486
Closes: https://github.com/gentoo/gentoo/pull/36966
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-arch/afio/files')
-rw-r--r-- | app-arch/afio/files/afio-2.5.2-fix-build-system.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-arch/afio/files/afio-2.5.2-fix-build-system.patch b/app-arch/afio/files/afio-2.5.2-fix-build-system.patch new file mode 100644 index 000000000000..5f5f113e0df9 --- /dev/null +++ b/app-arch/afio/files/afio-2.5.2-fix-build-system.patch @@ -0,0 +1,26 @@ +--- a/Makefile ++++ b/Makefile +@@ -74,19 +74,14 @@ + #code can be reviewed manually + #MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations + +-CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -Wno-unused-result $(LARGEFILEFLAGS) $(MW) +- +-CC=gcc +- + # also using contents of usin CPPFLAGS, CFLAGS, LDFLAGS out of environment + # variables, if they exist +-CFLAGS += $(CFLAGS1) $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $(e2) $f $g $I +-LDFLAGS += +-CPPFLAGS += ++CC ?= gcc ++CFLAGS += -Wall -Wstrict-prototypes ++CPPFLAGS += ${LARGEFILEFLAGS} ${2} ${3} ${6} ${8} ${c} ${d} ${e2} ${f} ${g} + + afio : afio.o compfile.o exten.o match.o $M +- $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ +- afio.o compfile.o exten.o match.o $M -o afio ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + + clean: + rm -f *.o afio |