From: "Justin Lecher (jlec)" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-text/gsview/files: 4.9-gentoo.patch
Date: Sun, 3 Oct 2010 12:43:15 +0000 (UTC) [thread overview]
Message-ID: <20101003124315.51EBC20051@flycatcher.gentoo.org> (raw)
jlec 10/10/03 12:43:15
Added: 4.9-gentoo.patch
Log:
Version Bump, 284197; LDFLAGS respect, 333537
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Revision Changes Path
1.1 app-text/gsview/files/4.9-gentoo.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gsview/files/4.9-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gsview/files/4.9-gentoo.patch?rev=1.1&content-type=text/plain
Index: 4.9-gentoo.patch
===================================================================
diff --git a/srcunx/unx.mak b/srcunx/unx.mak
index 3bd1769..ee86618 100644
--- a/srcunx/unx.mak
+++ b/srcunx/unx.mak
@@ -39,7 +39,7 @@ GSVIEW_DOCPATH=$(GSVIEW_BASE)/share/doc
GSVIEW_ETCPATH=$(prefix)/etc
MAKE=make
-CC=gcc
+CC ?= gcc
OBJ=o
INSTALL=install -m 644
INSTALL_EXE=install -m 755
@@ -77,7 +77,7 @@ PLINK=-lpthread -lrt
# Other possible options are -Wtraditional
# Compiler flags for C and C++ files.
-CFLAGS=-O -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -fno-builtin -fno-common -Wcast-qual -Wwrite-strings $(CDEBUG) -DX11 -DUNIX -DNONAG $(RPM_OPT_FLAGS) `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
+CFLAGS += $(CDEBUG) -DX11 -DUNIX -DNONAG $(RPM_OPT_FLAGS) `gtk-config --cflags` $(XINCLUDE) $(PFLAGS)
# Linker flags
LFLAGS=$(LDEBUG) $(PLINK) `gtk-config --libs`
@@ -155,7 +155,7 @@ all: $(BD)gsview$(EXE) html
GSVIEW_DOCDIR=$(GSVIEW_DOCPATH)/gsview-$(GSVIEW_DOT_VERSION)
$(BD)gsview$(EXE): $(OBJS)
- $(COMP) $(CFLAGS) $(FO)$(BD)gsview$(EXE) $(OBJS) $(LFLAGS)
+ $(COMP) $(CFLAGS) $(LDFLAGS) $(FO)$(BD)gsview$(EXE) $(OBJS) $(LFLAGS)
install: all
-mkdir -p $(GSVIEW_BASE)
reply other threads:[~2010-10-03 12:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101003124315.51EBC20051@flycatcher.gentoo.org \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox