* [gentoo-commits] gentoo-projects commit in portage-utils: Makefile main.c
@ 2011-03-17 3:19 Mike Frysinger (vapier)
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2011-03-17 3:19 UTC (permalink / raw
To: gentoo-commits
vapier 11/03/17 03:19:50
Modified: Makefile main.c
Log:
keep EPREFIX default in one place
Revision Changes Path
1.68 portage-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/Makefile?rev=1.68&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/Makefile?rev=1.68&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/Makefile?r1=1.67&r2=1.68
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/Makefile,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- Makefile 17 Mar 2011 03:17:18 -0000 1.67
+++ Makefile 17 Mar 2011 03:19:50 -0000 1.68
@@ -1,6 +1,6 @@
# Copyright 2005-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/portage-utils/Makefile,v 1.67 2011/03/17 03:17:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/portage-utils/Makefile,v 1.68 2011/03/17 03:19:50 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -21,12 +21,15 @@
#LDFLAGS := -pie
LIBADD += $(shell echo | $(CC) -dM -E - | grep -q ' __FreeBSD__' && echo '-lkvm')
DESTDIR :=
-EPREFIX :=
+EPREFIX :=
PREFIX := $(DESTDIR)$(EPREFIX)/usr
STRIP := strip
MKDIR := mkdir -p
CP := cp
+ifeq ($(EPREFIX),)
+EPREFIX := /
+endif
HFLAGS += -DEPREFIX=\"$(EPREFIX)\"
ifdef PV
1.192 portage-utils/main.c
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/main.c?rev=1.192&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/main.c?rev=1.192&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/main.c?r1=1.191&r2=1.192
Index: main.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/main.c,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -r1.191 -r1.192
--- main.c 17 Mar 2011 03:04:03 -0000 1.191
+++ main.c 17 Mar 2011 03:19:50 -0000 1.192
@@ -1,7 +1,7 @@
/*
* Copyright 2005-2008 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.191 2011/03/17 03:04:03 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.192 2011/03/17 03:19:50 vapier Exp $
*
* Copyright 2005-2008 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2008 Mike Frysinger - <vapier@gentoo.org>
@@ -35,10 +35,6 @@
#include <assert.h>
#include "main.h"
-#ifndef EPREFIX
-# define EPREFIX "/"
-#endif
-
/* prototypes and such */
static char eat_file(const char *file, char *buf, const size_t bufsize);
int charmatch(const char *str1, const char *str2);
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-projects commit in portage-utils: Makefile main.c
@ 2014-02-18 7:31 Mike Frysinger (vapier)
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2014-02-18 7:31 UTC (permalink / raw
To: gentoo-commits
vapier 14/02/18 07:31:33
Modified: Makefile main.c
Log:
build with -Wold-style-definition to weed out old bad func definitions
Revision Changes Path
1.77 portage-utils/Makefile
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/Makefile?rev=1.77&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/Makefile?rev=1.77&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/Makefile?r1=1.76&r2=1.77
Index: Makefile
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/Makefile,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- Makefile 29 Sep 2013 22:12:51 -0000 1.76
+++ Makefile 18 Feb 2014 07:31:33 -0000 1.77
@@ -1,6 +1,6 @@
# Copyright 2005-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-projects/portage-utils/Makefile,v 1.76 2013/09/29 22:12:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-projects/portage-utils/Makefile,v 1.77 2014/02/18 07:31:33 vapier Exp $
####################################################################
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
@@ -13,7 +13,8 @@
-Wchar-subscripts -Wcast-align -Wno-format-nonliteral \
$(call check_gcc, -Wsequence-point) \
$(call check_gcc, -Wextra) \
- $(call check_gcc, -Wno-sign-compare)
+ $(call check_gcc, -Wno-sign-compare) \
+ $(call check_gcc, -Wold-style-definition)
CFLAGS ?= -O2 -g -pipe
CFLAGS += -std=gnu99
1.231 portage-utils/main.c
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/main.c?rev=1.231&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/main.c?rev=1.231&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/main.c?r1=1.230&r2=1.231
Index: main.c
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/main.c,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -r1.230 -r1.231
--- main.c 18 Feb 2014 07:26:14 -0000 1.230
+++ main.c 18 Feb 2014 07:31:33 -0000 1.231
@@ -1,7 +1,7 @@
/*
* Copyright 2005-2013 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.230 2014/02/18 07:26:14 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.231 2014/02/18 07:31:33 vapier Exp $
*
* Copyright 2005-2008 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2013 Mike Frysinger - <vapier@gentoo.org>
@@ -69,8 +69,8 @@
/* include common library code */
#include "libq/libq.c"
-void no_colors(void);
-void no_colors()
+_q_static
+void no_colors(void)
{
/* echo $(awk '{print $4,"="}' libq/colors.c | grep ^* |cut -c 2-| grep ^[A-Z] |tr '\n' ' ') = \"\"\; */
BOLD = NORM = BLUE = DKBLUE = CYAN = GREEN = DKGREEN = MAGENTA = RED = YELLOW = BRYELLOW = WHITE = "";
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-18 7:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 7:31 [gentoo-commits] gentoo-projects commit in portage-utils: Makefile main.c Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2011-03-17 3:19 Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox