Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-benchmarks/i7z/files: i7z-0.27.2-ncurses.patch
Date: Tue, 28 Jul 2015 07:54:12
Message-Id: 20150728075407.321CE112@oystercatcher.gentoo.org
1 jlec 15/07/28 07:54:07
2
3 Added: i7z-0.27.2-ncurses.patch
4 Log:
5 Fix for ncurses[tinfo], bug #553850
6
7 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
8
9 Revision Changes Path
10 1.1 app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch?rev=1.1&content-type=text/plain
14
15 Index: i7z-0.27.2-ncurses.patch
16 ===================================================================
17 Index: Makefile
18 ===================================================================
19 --- Makefile (revision 109)
20 +++ Makefile (working copy)
21 @@ -19,7 +19,7 @@
22
23 CC ?= gcc
24
25 -LIBS += -lncurses -lpthread -lrt -lm
26 +LIBS += `pkg-config --libs ncurses` -lpthread -lrt -lm
27 INCLUDEFLAGS =
28
29 BIN = i7z
30 @@ -42,7 +42,7 @@
31
32 #http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644728 for -ltinfo on debian
33 static-bin: message $(OBJ)
34 - $(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ) -static-libgcc -DNCURSES_STATIC -static -lpthread -lncurses -lrt -lm -ltinfo
35 + $(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ) -static-libgcc -DNCURSES_STATIC -static -lpthread `pkg-config --static --libs ncurses` -lrt -lm
36
37 # perfmon-bin: message $(OBJ)
38 # $(CC) $(CFLAGS) $(LDFLAGS) -o $(PERFMON-BIN) perfmon-i7z.c helper_functions.c $(LIBS)