diff options
author | David Seifert <soap@gentoo.org> | 2017-12-29 12:35:15 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-29 14:16:04 +0100 |
commit | bc997e1fe5c259b699bb9b137f42c8be63dd9313 (patch) | |
tree | 6ca0ada0397df1a33c3408688ac764404b3ada46 /app-arch/afio/files | |
parent | app-arch/unarj: Port to EAPI 6 (diff) | |
download | gentoo-bc997e1fe5c259b699bb9b137f42c8be63dd9313.tar.gz gentoo-bc997e1fe5c259b699bb9b137f42c8be63dd9313.tar.bz2 gentoo-bc997e1fe5c259b699bb9b137f42c8be63dd9313.zip |
app-arch/afio: [QA] Minor touchups
Bug: https://bugs.gentoo.org/429360
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-arch/afio/files')
-rw-r--r-- | app-arch/afio/files/afio-2.5.1-fix-build-system.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-arch/afio/files/afio-2.5.1-fix-build-system.patch b/app-arch/afio/files/afio-2.5.1-fix-build-system.patch new file mode 100644 index 000000000000..5f3e8355c1a2 --- /dev/null +++ b/app-arch/afio/files/afio-2.5.1-fix-build-system.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -71,15 +71,12 @@ + MW= + #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 ${LARGEFILEFLAGS} ${MW} +- +-CC=gcc +- +-CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e ${e2} $f $g $I +-LDFLAGS = ++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} ${LDFLAGS} afio.o compfile.o exten.o match.o $M -o afio ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + + clean: + rm -f *.o afio |