Gentoo Archives: gentoo-commits

From: "Christian Heim (phreak)" <phreak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/pump/files: pump-0.8.24-redefinition.patch
Date: Sat, 29 Dec 2007 20:04:29
Message-Id: E1J8huv-0005Du-7X@stork.gentoo.org
1 phreak 07/12/29 20:04:21
2
3 Added: pump-0.8.24-redefinition.patch
4 Log:
5 Adding patch for compilation against dev-libs/popt-1.12, as N is already defined in popt.h. This keeps it working with current stable dev-libs/popt, which doesn't have the define in popt.h. Thanks to Preston Crow <pc_gentoo_bugzilla at crowcastle.net> in #201958 for the idea.
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.1 net-misc/pump/files/pump-0.8.24-redefinition.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/pump/files/pump-0.8.24-redefinition.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/pump/files/pump-0.8.24-redefinition.patch?rev=1.1&content-type=text/plain
13
14 Index: pump-0.8.24-redefinition.patch
15 ===================================================================
16 --- pump-0.8.24/pump.c.orig 2007-12-29 19:51:22.000000000 +0000
17 +++ pump-0.8.24/pump.c 2007-12-29 19:52:00.000000000 +0000
18 @@ -58,7 +58,9 @@
19 int bootp_server_port;
20 #endif
21
22 +#if !defined(N_)
23 #define N_(foo) (foo)
24 +#endif
25
26 #define PROGNAME "pump"
27 #define CONTROLSOCKET "/var/run/pump.sock"
28
29
30 --
31 gentoo-commits@g.o mailing list