Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in portage-utils: main.c
Date: Tue, 08 Sep 2009 16:49:58
Message-Id: E1Ml3tE-0004FV-KX@stork.gentoo.org
1 grobian 09/09/08 16:49:56
2
3 Modified: main.c
4 Log:
5 Fix compilation on FreeMiNT by dropping some conflicting but unused code, thanks Alan Hourihane, bug #283497
6
7 Revision Changes Path
8 1.165 portage-utils/main.c
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?rev=1.165&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?rev=1.165&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?r1=1.164&r2=1.165
13
14 Index: main.c
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/portage-utils/main.c,v
17 retrieving revision 1.164
18 retrieving revision 1.165
19 diff -u -r1.164 -r1.165
20 --- main.c 8 Sep 2009 03:05:40 -0000 1.164
21 +++ main.c 8 Sep 2009 16:49:56 -0000 1.165
22 @@ -1,7 +1,7 @@
23 /*
24 * Copyright 2005-2008 Gentoo Foundation
25 * Distributed under the terms of the GNU General Public License v2
26 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.164 2009/09/08 03:05:40 solar Exp $
27 + * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.165 2009/09/08 16:49:56 grobian Exp $
28 *
29 * Copyright 2005-2008 Ned Ludd - <solar@g.o>
30 * Copyright 2005-2008 Mike Frysinger - <vapier@g.o>
31 @@ -29,7 +29,6 @@
32 #include <libgen.h>
33 #include <limits.h>
34 #include <assert.h>
35 -#include <dlfcn.h>
36 #include "main.h"
37
38 /* prototypes and such */
39 @@ -46,7 +45,6 @@
40 int lookup_applet_idx(const char *);
41
42 /* variables to control runtime behavior */
43 -void *dlhandle = NULL;
44 char *module_name = NULL;
45 char *modpath = NULL;
46 char exact = 0;