From: | "Alex Alexander (wired)" <wired@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-irc/znc/files: znc-0.098-modpython-as-needed.patch |
Date: | Fri, 01 Apr 2011 12:14:51 |
Message-Id: | 20110401121441.289C820057@flycatcher.gentoo.org |
1 | wired 11/04/01 12:14:41 |
2 | |
3 | Added: znc-0.098-modpython-as-needed.patch |
4 | Log: |
5 | version bump |
6 | |
7 | (Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-irc/znc/files/znc-0.098-modpython-as-needed.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/znc/files/znc-0.098-modpython-as-needed.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/znc/files/znc-0.098-modpython-as-needed.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: znc-0.098-modpython-as-needed.patch |
16 | =================================================================== |
17 | fix modpython compilation with forced --as-needed |
18 | |
19 | --- znc-0.098-orig/modules/modpython/Makefile.inc |
20 | +++ znc-0.098/modules/modpython/Makefile.inc |
21 | @@ -1,7 +1,7 @@ |
22 | # vim: filetype=make |
23 | |
24 | ifneq "$(PYCFG)" "" |
25 | -PYTHONCOMMON := $(shell $(PYCFG) --includes) $(shell $(PYCFG) --ldflags) |
26 | +PYTHONCOMMON := $(shell $(PYCFG) --includes) |
27 | PYTHONCOMMON += -DSWIG_TYPE_TABLE=znc |
28 | PYTHONCOMMON += -Wno-missing-field-initializers -Wno-unused -Wno-shadow |
29 | PYTHONCOMMON += -Wno-missing-declarations -Wno-uninitialized |
30 | @@ -56,7 +56,7 @@ |
31 | |
32 | modpython/compiler: modpython/compiler.cpp Makefile |
33 | $(E) Building optimizer for python files... |
34 | - $(Q)$(CXX) $(PYTHONCOMMON) -o $@ $< |
35 | + $(Q)$(CXX) $(PYTHONCOMMON) -o $@ $< $(shell $(PYCFG) --ldflags) |
36 | |
37 | modpython_install: create_install_dir install_metadirs modpython_all |
38 | -for i in *.pyc; do \ |