From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-irc/irssi-xmpp/files: irssi-xmpp-0.51-implicit_conversion.patch irssi-xmpp-0.51-build_system.patch |
Date: | Sun, 05 Sep 2010 12:03:44 |
Message-Id: | 20100905120329.95E1B20054@flycatcher.gentoo.org |
1 | xarthisius 10/09/05 12:03:29 |
2 | |
3 | Added: irssi-xmpp-0.51-implicit_conversion.patch |
4 | irssi-xmpp-0.51-build_system.patch |
5 | Log: |
6 | Version bump wrt bug 322991. Fix building with --as-needed wrt bug 334861, fix parallel build, fix implicit function conversions that resulted in SIGSEGV on amd64. Fix docs wrt bug 322355. Remove old. Claim ownership with Tobias' blessing. |
7 | |
8 | (Portage version: 2.1.9/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 net-irc/irssi-xmpp/files/irssi-xmpp-0.51-implicit_conversion.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/irssi-xmpp/files/irssi-xmpp-0.51-implicit_conversion.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/irssi-xmpp/files/irssi-xmpp-0.51-implicit_conversion.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: irssi-xmpp-0.51-implicit_conversion.patch |
17 | =================================================================== |
18 | Function `strdup' implicitly converted to pointer at xmpp-servers.c:295 |
19 | |
20 | --- src/core/xmpp-servers.c |
21 | +++ src/core/xmpp-servers.c |
22 | @@ -18,5 +18,6 @@ |
23 | */ |
24 | |
25 | +#define _GNU_SOURCE |
26 | #include <sys/types.h> |
27 | #include <sys/socket.h> |
28 | #include <string.h> |
29 | |
30 | |
31 | |
32 | 1.1 net-irc/irssi-xmpp/files/irssi-xmpp-0.51-build_system.patch |
33 | |
34 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/irssi-xmpp/files/irssi-xmpp-0.51-build_system.patch?rev=1.1&view=markup |
35 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/irssi-xmpp/files/irssi-xmpp-0.51-build_system.patch?rev=1.1&content-type=text/plain |
36 | |
37 | Index: irssi-xmpp-0.51-build_system.patch |
38 | =================================================================== |
39 | * fix as-needed issues |
40 | * fix parallel build |
41 | |
42 | http://bugs.gentoo.org/show_bug.cgi?id=334861 |
43 | |
44 | --- config.mk |
45 | +++ config.mk |
46 | @@ -22,11 +22,11 @@ |
47 | LIBS = ${LIB_LIBS} |
48 | |
49 | # flags |
50 | -CFLAGS += -fPIC -std=c99 -DUOFF_T_LONG ${INCS} |
51 | -LDFLAGS += -shared ${LIBS} |
52 | +CFLAGS += -fPIC -std=c99 -DUOFF_T_LONG |
53 | +LDFLAGS += -shared |
54 | |
55 | # debug |
56 | -CFLAGS += -W -ggdb -Wall -Wno-unused-parameter |
57 | +#CFLAGS += -W -ggdb -Wall -Wno-unused-parameter |
58 | |
59 | # compiler and linker |
60 | CC = cc |
61 | --- src/rules.mk |
62 | +++ src/rules.mk |
63 | @@ -4,25 +4,27 @@ |
64 | |
65 | OBJS = ${SRCS:.c=.o} |
66 | |
67 | -all: ${LIB} |
68 | +LIBSO=lib${LIB}.so |
69 | + |
70 | +all: ${LIBSO} |
71 | |
72 | .c.o: |
73 | - ${CC} ${CFLAGS} -o $@ -c $< |
74 | + ${CC} ${CFLAGS} ${INCS} -o $@ -c $< |
75 | |
76 | -${LIB}: ${OBJS} |
77 | - ${CC} ${LDFLAGS} -o lib$@.so ${OBJS} |
78 | +${LIBSO}: ${OBJS} |
79 | + ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} |
80 | |
81 | clean: |
82 | - rm -f lib${LIB}.so ${OBJS} |
83 | + rm -f ${LIBSO} ${OBJS} |
84 | |
85 | install: all |
86 | - @echo installing the module lib${LIB}.so to ${DESTDIR}${IRSSI_LIB}/modules |
87 | + @echo installing the module ${LIBSO} to ${DESTDIR}${IRSSI_LIB}/modules |
88 | install -d ${DESTDIR}${IRSSI_LIB}/modules |
89 | - install lib${LIB}.so ${DESTDIR}${IRSSI_LIB}/modules |
90 | + install ${LIBSO} ${DESTDIR}${IRSSI_LIB}/modules |
91 | |
92 | uninstall: |
93 | - @echo deinstalling the module lib${LIB}.so from ${DESTDIR}${IRSSI_LIB}/modules |
94 | - rm -f ${DESTDIR}${IRSSI_LIB}/modules/lib${LIB}.so |
95 | + @echo deinstalling the module ${LIBSO} from ${DESTDIR}${IRSSI_LIB}/modules |
96 | + rm -f ${DESTDIR}${IRSSI_LIB}/modules/${LIBSO} |
97 | |
98 | user-install: |
99 | env DESTDIR= IRSSI_LIB=~/.irssi ${MAKE} install |