summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-06-16 06:51:28 -0700
committerMatt Turner <mattst88@gentoo.org>2017-06-16 07:02:22 -0700
commitf299c787bacbbf389046613d7c94f5bbb8e7d98a (patch)
tree4370cd888b6ef8aabee686a8c301ddd56c935331 /sys-apps/cpuid/files
parentwww-client/google-chrome-unstable: automated update (61.0.3128.3) (diff)
downloadgentoo-f299c787bacbbf389046613d7c94f5bbb8e7d98a.tar.gz
gentoo-f299c787bacbbf389046613d7c94f5bbb8e7d98a.tar.bz2
gentoo-f299c787bacbbf389046613d7c94f5bbb8e7d98a.zip
sys-apps/cpuid: Version bump to 20170122
Bug: https://bugs.gentoo.org/611924
Diffstat (limited to 'sys-apps/cpuid/files')
-rw-r--r--sys-apps/cpuid/files/cpuid-20170122-Makefile.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/cpuid/files/cpuid-20170122-Makefile.patch b/sys-apps/cpuid/files/cpuid-20170122-Makefile.patch
new file mode 100644
index 000000000000..9a02a54563aa
--- /dev/null
+++ b/sys-apps/cpuid/files/cpuid-20170122-Makefile.patch
@@ -0,0 +1,28 @@
+diff -ru cpuid-20170122.orig/Makefile cpuid-20170122/Makefile
+--- cpuid-20170122.orig/Makefile 2017-06-16 06:54:32.993875817 -0700
++++ cpuid-20170122/Makefile 2017-06-16 06:55:56.622875498 -0700
+@@ -1,9 +1,3 @@
+-CFLAGS+=-g
+-CPPFLAGS?=
+-LDFLAGS?=
+-ifneq (,$(findstring arch=i386,$(CFLAGS)))
+-CISA=-m32
+-endif
+ CFL=$(CPPFLAGS) $(CFLAGS) $(CISA) -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 -DVERSION=$(VERSION)
+
+ PACKAGE=cpuid
+@@ -51,10 +45,10 @@
+ gzip < $< > $@
+
+ install: $(PROG) $(PROG).man.gz cpuinfo2cpuid cpuinfo2cpuid.man.gz
+- install -D -s -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 755 cpuinfo2cpuid $(BUILDROOT)/usr/bin/cpuinfo2cpuid
+- install -D -m 444 cpuinfo2cpuid.man.gz $(BUILDROOT)/usr/share/man/man1/cpuinfo2cpuid.1.gz
++ install -D -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 755 cpuinfo2cpuid $(BUILDROOT)/usr/bin/cpuinfo2cpuid
++ install -D -m 444 cpuinfo2cpuid.man.gz $(BUILDROOT)/usr/share/man/man1/cpuinfo2cpuid.1.gz
+
+ clean:
+ rm -f $(PROG) $(PROG).i386 $(PROG).x86_64