From 8d2f9c52845c0f826f5214c039066a033c71abfc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Jun 2006 16:21:03 +0000 Subject: [PATCH] some more warnings #137134 by Ryan Hill Package-Manager: portage-2.1.1_pre1-r1 --- sys-libs/pwdb/Manifest | 26 ++++++------- sys-libs/pwdb/files/pwdb-0.62-build.patch | 46 ++++++++++++++++++++++- 2 files changed, 58 insertions(+), 14 deletions(-) diff --git a/sys-libs/pwdb/Manifest b/sys-libs/pwdb/Manifest index 5dcd01215a36..a8cb375ece26 100644 --- a/sys-libs/pwdb/Manifest +++ b/sys-libs/pwdb/Manifest @@ -1,28 +1,28 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX passwd 143 RMD160 ca859f48fde633c29a22f226ba01b4921c1463a1 SHA1 1aa61db7f3ae05490cb0b3eb56b0a95746d9183e SHA256 9cecaf4de9eaf61cf42c28bf1e63295a58e59e0ca0abb8fb7eaf6327201ce604 size 143 +AUX passwd 143 RMD160 ca859f48fde633c29a22f226ba01b4921c1463a1 SHA1 1aa61db7f3ae05490cb0b3eb56b0a95746d9183e SHA256 9cecaf4de9eaf61cf42c28bf1e63295a58e59e0ca0abb8fb7eaf6327201ce604 MD5 0d0c7a6216f5cf079472dfe36ea9d71c files/passwd 143 RMD160 ca859f48fde633c29a22f226ba01b4921c1463a1 files/passwd 143 SHA256 9cecaf4de9eaf61cf42c28bf1e63295a58e59e0ca0abb8fb7eaf6327201ce604 files/passwd 143 -AUX pwdb-0.62-build.patch 1732 RMD160 a1f7e8ee17e3847a3d5a0a4948f4297b21f7d307 SHA1 2557af80602fe6323168424bd5b1e3c21622005d SHA256 e064ceb740f55dd4f8d7f8409119d85df9c34ec653f5da84da9675170da70357 size 1732 -MD5 08722125d40325933e8eb6e0e1ff27d3 files/pwdb-0.62-build.patch 1732 -RMD160 a1f7e8ee17e3847a3d5a0a4948f4297b21f7d307 files/pwdb-0.62-build.patch 1732 -SHA256 e064ceb740f55dd4f8d7f8409119d85df9c34ec653f5da84da9675170da70357 files/pwdb-0.62-build.patch 1732 -AUX pwdb-0.62-selinux.patch 10523 RMD160 e40e3f6ff74ec1e380303eb7b23e36b9d12ac760 SHA1 4f703ba7aa4ac558e053fad65e37771740b00564 SHA256 92e54ae9c7f74bcac0c582bc025f4897cf54bff31c187324d433cc0414270dd3 size 10523 +AUX pwdb-0.62-build.patch 2914 RMD160 87e17e2072b7b5752b714e393e9652b479d1953c SHA1 8c99f37f26659217f0edbe4e49808e075d597065 SHA256 4c53d2cabaf71ef712ffcb384344657bb948b2b816563862c47629253b685360 +MD5 c3da2af48426d126f9df541e9a0dbff0 files/pwdb-0.62-build.patch 2914 +RMD160 87e17e2072b7b5752b714e393e9652b479d1953c files/pwdb-0.62-build.patch 2914 +SHA256 4c53d2cabaf71ef712ffcb384344657bb948b2b816563862c47629253b685360 files/pwdb-0.62-build.patch 2914 +AUX pwdb-0.62-selinux.patch 10523 RMD160 e40e3f6ff74ec1e380303eb7b23e36b9d12ac760 SHA1 4f703ba7aa4ac558e053fad65e37771740b00564 SHA256 92e54ae9c7f74bcac0c582bc025f4897cf54bff31c187324d433cc0414270dd3 MD5 0895f16116ebd136523262f1be85e08e files/pwdb-0.62-selinux.patch 10523 RMD160 e40e3f6ff74ec1e380303eb7b23e36b9d12ac760 files/pwdb-0.62-selinux.patch 10523 SHA256 92e54ae9c7f74bcac0c582bc025f4897cf54bff31c187324d433cc0414270dd3 files/pwdb-0.62-selinux.patch 10523 -DIST pwdb-0.62.tar.gz 133183 RMD160 01aca626eb54e82811ee7c7ae27b96bc22035b75 SHA256 1e0420b92c9996f82b3364b982f7d6c62460c513afa329b78317b3037dc3d4b9 size 133183 -EBUILD pwdb-0.62.ebuild 1568 RMD160 38826f24ed1824c9297e843414293a7bdac37b9c SHA1 dfe459b65610487dd70c31d543284ef0228dd58e SHA256 7670c3120eeec01a3aa52c1a7d2493c3426781ebc42d5b1578bc6a544abba66d size 1568 +DIST pwdb-0.62.tar.gz 133183 RMD160 01aca626eb54e82811ee7c7ae27b96bc22035b75 SHA256 1e0420b92c9996f82b3364b982f7d6c62460c513afa329b78317b3037dc3d4b9 +EBUILD pwdb-0.62.ebuild 1568 RMD160 38826f24ed1824c9297e843414293a7bdac37b9c SHA1 dfe459b65610487dd70c31d543284ef0228dd58e SHA256 7670c3120eeec01a3aa52c1a7d2493c3426781ebc42d5b1578bc6a544abba66d MD5 500feeb849ca9e16aa2f4de16e75e691 pwdb-0.62.ebuild 1568 RMD160 38826f24ed1824c9297e843414293a7bdac37b9c pwdb-0.62.ebuild 1568 SHA256 7670c3120eeec01a3aa52c1a7d2493c3426781ebc42d5b1578bc6a544abba66d pwdb-0.62.ebuild 1568 -MISC ChangeLog 4453 RMD160 19f77f63190be5aaf9653a34c0a1b9e94055fe36 SHA1 d19ae8d66eaacf433d7fe57a26deb3a99a2cf90c SHA256 6ce886f479d618db2ac54235bb582474a453577da08b5b1fe5a487aec2af6f98 size 4453 +MISC ChangeLog 4453 RMD160 19f77f63190be5aaf9653a34c0a1b9e94055fe36 SHA1 d19ae8d66eaacf433d7fe57a26deb3a99a2cf90c SHA256 6ce886f479d618db2ac54235bb582474a453577da08b5b1fe5a487aec2af6f98 MD5 0882674667fd54df10b46fa69b1aa6fd ChangeLog 4453 RMD160 19f77f63190be5aaf9653a34c0a1b9e94055fe36 ChangeLog 4453 SHA256 6ce886f479d618db2ac54235bb582474a453577da08b5b1fe5a487aec2af6f98 ChangeLog 4453 -MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 size 164 +MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164 @@ -32,7 +32,7 @@ SHA256 a6f85ee97c70d6a7241a76473c4369d1b502f9de3216b3169a55e7fed83d92e3 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEYUk23gmyzsILbxIRAo2KAJ96MuiYAI5W4v9fSQXgpAe4y5vNrgCgtxEt -cjrvrLHf5ARQCEpL4gExq2Q= -=05Dm +iD8DBQFElX6XamhnQswr0vIRAhzhAKCgGQlHxqRnAKqhxZb+6o0sxqNRQwCeKBx8 +U2VfH3i1TpImLmkXgWHkQg0= +=y9v8 -----END PGP SIGNATURE----- diff --git a/sys-libs/pwdb/files/pwdb-0.62-build.patch b/sys-libs/pwdb/files/pwdb-0.62-build.patch index 78bd15caed8d..a1f3e15d253d 100644 --- a/sys-libs/pwdb/files/pwdb-0.62-build.patch +++ b/sys-libs/pwdb/files/pwdb-0.62-build.patch @@ -1,4 +1,5 @@ - drop ldconfig junk + - fix types used in socket functions (socklen_t, not int) http://bugs.gentoo.org/126977 - respect user LDFLAGS @@ -7,6 +8,20 @@ http://bugs.gentoo.org/126695 - add missing headers - add missing comma to supp_entry +http://bugs.gentoo.org/137134 + - don't show traditional warnings + +--- Makefile ++++ Makefile +@@ -71,7 +71,7 @@ + + WARNINGS += -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \ + -Wcast-qual -Wcast-align \ +- -Wtraditional -Wstrict-prototypes -Wmissing-prototypes \ ++ -Wstrict-prototypes -Wmissing-prototypes \ + -Wnested-externs -Winline -Wshadow + INCLUDEDIR=-I$(CRTDIR)/include + --- libpwdb/Makefile +++ libpwdb/Makefile @@ -50,7 +50,7 @@ @@ -18,7 +33,7 @@ http://bugs.gentoo.org/126695 @ln -sf $(LIBFILENAME) $@ $(LIBSTATIC): $(LIBOBJ) -@@ -69,7 +69,7 @@ +@@ -68,7 +68,7 @@ $(INSTALL) -m 644 radius.h $(INCLUDED)/radius.h $(INSTALL) -m 644 _pwdb_macros.h $(INCLUDED)/_pwdb_macros.h $(INSTALL) -m 755 $(LIBFILENAME) $(LIBDIR) @@ -68,3 +83,32 @@ http://bugs.gentoo.org/126695 "groups", /* these are serviced by requests */ NULL }; +--- libpwdb/radius/radius.c ++++ libpwdb/radius/radius.c +@@ -145,7 +145,7 @@ + const char* password, + RADIUS_RESULT *rad_result) + { +- int salen; ++ socklen_t salen; + int sockfd; + struct sockaddr saremote; + struct sockaddr_in *s_in; +@@ -333,7 +333,7 @@ + const char* new_password, + RADIUS_RESULT *rad_result) + { +- int salen; ++ socklen_t salen; + int sockfd; + struct sockaddr saremote; + struct sockaddr_in *s_in; +@@ -535,7 +535,7 @@ + int sense, + int session_time) + { +- int salen; ++ socklen_t salen; + int sockfd; + struct sockaddr saremote; + struct sockaddr_in *s_in; -- 2.26.2