Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/libss7/files: 1.0.2-werror-idiocy.patch 1.0.2-no-ldconfig.patch 1.0.2-ldflags.patch
Date: Thu, 23 Aug 2012 10:06:01
Message-Id: 20120823100545.DC9CB20442@flycatcher.gentoo.org
1 chainsaw 12/08/23 10:05:45
2
3 Added: 1.0.2-werror-idiocy.patch 1.0.2-no-ldconfig.patch
4 1.0.2-ldflags.patch
5 Log:
6 Initial commit. Ebuild based on the one by Oliver Jaksch in bug #341957, with some additional patching for portability & QA purposes.
7
8 (Portage version: 2.1.11.11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 net-misc/libss7/files/1.0.2-werror-idiocy.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libss7/files/1.0.2-werror-idiocy.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libss7/files/1.0.2-werror-idiocy.patch?rev=1.1&content-type=text/plain
15
16 Index: 1.0.2-werror-idiocy.patch
17 ===================================================================
18 diff -uNr libss7-1.0.2.ORIG/Makefile libss7-1.0.2/Makefile
19 --- libss7-1.0.2.ORIG/Makefile 2012-08-23 10:22:27.855524115 +0100
20 +++ libss7-1.0.2/Makefile 2012-08-23 10:22:46.156542689 +0100
21 @@ -11,7 +11,7 @@
22 DYNAMIC_OBJS=mtp2.o ss7_sched.o ss7.o mtp3.o isup.o version.o
23 STATIC_LIBRARY=libss7.a
24 DYNAMIC_LIBRARY=libss7.so.1.0
25 -CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC
26 +CFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes -g -fPIC
27 LDCONFIG_FLAGS=-n
28 SOFLAGS=-Wl,-hlibss7.so.1
29 LDCONFIG=/sbin/ldconfig
30
31
32
33 1.1 net-misc/libss7/files/1.0.2-no-ldconfig.patch
34
35 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libss7/files/1.0.2-no-ldconfig.patch?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libss7/files/1.0.2-no-ldconfig.patch?rev=1.1&content-type=text/plain
37
38 Index: 1.0.2-no-ldconfig.patch
39 ===================================================================
40 diff -uNr libss7-1.0.2.ORIG/Makefile libss7-1.0.2/Makefile
41 --- libss7-1.0.2.ORIG/Makefile 2012-08-23 10:26:35.733775711 +0100
42 +++ libss7-1.0.2/Makefile 2012-08-23 10:27:06.826807271 +0100
43 @@ -48,7 +48,6 @@
44 install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
45 ( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 )
46 install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
47 - if test $$(id -u) = 0; then $(LDCONFIG); fi
48
49 $(STATIC_LIBRARY): $(STATIC_OBJS)
50 ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS)
51
52
53
54 1.1 net-misc/libss7/files/1.0.2-ldflags.patch
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libss7/files/1.0.2-ldflags.patch?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/libss7/files/1.0.2-ldflags.patch?rev=1.1&content-type=text/plain
58
59 Index: 1.0.2-ldflags.patch
60 ===================================================================
61 diff -uNr libss7-1.0.2.ORIG/Makefile libss7-1.0.2/Makefile
62 --- libss7-1.0.2.ORIG/Makefile 2012-08-23 10:49:15.341155719 +0100
63 +++ libss7-1.0.2/Makefile 2012-08-23 10:50:35.403236983 +0100
64 @@ -54,7 +54,7 @@
65 ranlib $(STATIC_LIBRARY)
66
67 $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
68 - $(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS)
69 + $(CC) -shared $(SOFLAGS) $(LDFLAGS) -o $@ $(DYNAMIC_OBJS)
70 $(LDCONFIG) $(LDCONFIG_FLAGS) .
71 ln -sf libss7.so.1 libss7.so
72 ln -sf libss7.so.1.0 libss7.so.1