Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/pam_radius/files: pam_radius-1.3.17-gentoo.patch
Date: Sun, 24 Feb 2013 01:36:14
Message-Id: 20130224013609.9F2BD20081@flycatcher.gentoo.org
1 flameeyes 13/02/24 01:36:09
2
3 Modified: pam_radius-1.3.17-gentoo.patch
4 Log:
5 Build the module straight into the ebuild, and make sure to hide symbols that are not part of the interface.
6
7 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
8
9 Revision Changes Path
10 1.2 sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch?r1=1.1&r2=1.2
15
16 Index: pam_radius-1.3.17-gentoo.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/pam_radius/files/pam_radius-1.3.17-gentoo.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- pam_radius-1.3.17-gentoo.patch 28 Jun 2008 06:51:41 -0000 1.1
23 +++ pam_radius-1.3.17-gentoo.patch 24 Feb 2013 01:36:09 -0000 1.2
24 @@ -1,32 +1,3 @@
25 -diff -Nru pam_radius-1.3.17.orig/Makefile pam_radius-1.3.17/Makefile
26 ---- pam_radius-1.3.17.orig/Makefile 2008-06-28 08:43:43.000000000 +0200
27 -+++ pam_radius-1.3.17/Makefile 2008-06-28 08:42:57.000000000 +0200
28 -@@ -8,6 +8,7 @@
29 -
30 - VERSION=1.3.17
31 -
32 -+LD=$(CC)
33 - ######################################################################
34 - #
35 - # If we're really paranoid, use these flags
36 -@@ -15,7 +16,7 @@
37 - #
38 - # If you're not using GCC, then you'll have to change the CFLAGS.
39 - #
40 --CFLAGS = -Wall -fPIC
41 -+CFLAGS += -Wall -fPIC -fno-strict-aliasing
42 - #
43 - # On Irix, use this with MIPSPRo C Compiler, and don't forget to export CC=cc
44 - # gcc on Irix does not work yet for pam_radius
45 -@@ -55,7 +56,7 @@
46 - # gcc -shared pam_radius_auth.o md5.o -lpam -lc -o pam_radius_auth.so
47 - #
48 - pam_radius_auth.so: pam_radius_auth.o md5.o
49 -- ld -Bshareable pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so
50 -+ $(LD) $(LDFLAGS) -shared $(CFLAGS) pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so
51 -
52 - ######################################################################
53 - #
54 diff -Nru pam_radius-1.3.17.orig/pam_radius_auth.c pam_radius-1.3.17/pam_radius_auth.c
55 --- pam_radius-1.3.17.orig/pam_radius_auth.c 2007-03-26 11:36:13.000000000 +0200
56 +++ pam_radius-1.3.17/pam_radius_auth.c 2008-06-28 08:43:24.000000000 +0200