diff options
author | 2020-02-04 18:15:15 +0100 | |
---|---|---|
committer | 2020-02-04 18:48:27 +0100 | |
commit | 228180e0d7a54d0b8d826419022cb610ab0993e4 (patch) | |
tree | cb0518139e5f523ce2e9463d4654da57bcee4260 /sys-apps/cpuid/files | |
parent | games-fps/eduke32: drop old version (diff) | |
download | gentoo-228180e0d7a54d0b8d826419022cb610ab0993e4.tar.gz gentoo-228180e0d7a54d0b8d826419022cb610ab0993e4.tar.bz2 gentoo-228180e0d7a54d0b8d826419022cb610ab0993e4.zip |
sys-apps/cpuid: bump to version 20200203
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-apps/cpuid/files')
-rw-r--r-- | sys-apps/cpuid/files/cpuid-20200203-makefile.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-apps/cpuid/files/cpuid-20200203-makefile.patch b/sys-apps/cpuid/files/cpuid-20200203-makefile.patch new file mode 100644 index 000000000000..9cfad5ef594d --- /dev/null +++ b/sys-apps/cpuid/files/cpuid-20200203-makefile.patch @@ -0,0 +1,37 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,11 @@ +-CFLAGS+=-g ++CFLAGS+= + CPPFLAGS?= + LDFLAGS?= + ifneq (,$(findstring arch=i386,$(CFLAGS))) + CISA=-m32 + endif + CFL=$(CPPFLAGS) $(CFLAGS) $(CISA) -Wall -W -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wimplicit-fallthrough -Wunused-parameter -D_FILE_OFFSET_BITS=64 -DVERSION=$(VERSION) +-INSTALL_STRIP=-s ++INSTALL_STRIP= + + PACKAGE=cpuid + VERSION=20200203 +@@ -40,7 +40,7 @@ + + BUILDROOT= + +-default: $(PROG) $(PROG).man.gz cpuinfo2cpuid cpuinfo2cpuid.man.gz ++default: $(PROG) cpuinfo2cpuid + + $(PROG): cpuid.c Makefile + $(CC) $(CFL) $(LDFLAGS) -o $@ cpuid.c +@@ -56,9 +56,9 @@ + + install: $(PROG) $(PROG).man.gz cpuinfo2cpuid cpuinfo2cpuid.man.gz + install -D $(INSTALL_STRIP) -m 755 $(PROG) $(BUILDROOT)/usr/bin/$(PROG) +- install -D -m 444 $(PROG).man.gz $(BUILDROOT)/usr/share/man/man1/$(PROG).1.gz ++ install -D -m 444 $(PROG).man $(BUILDROOT)/usr/share/man/man1/$(PROG).1 + install -D -m 755 cpuinfo2cpuid $(BUILDROOT)/usr/bin/cpuinfo2cpuid +- install -D -m 444 cpuinfo2cpuid.man.gz $(BUILDROOT)/usr/share/man/man1/cpuinfo2cpuid.1.gz ++ install -D -m 444 cpuinfo2cpuid.man $(BUILDROOT)/usr/share/man/man1/cpuinfo2cpuid.1 + + clean: + rm -f $(PROG) $(PROG).i386 $(PROG).x86_64 |