diff options
author | eroen <eroen@occam.eroen.eu> | 2013-05-23 18:16:58 +0200 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2013-05-23 18:16:58 +0200 |
commit | 881759a62d7a1c2a725024bf69d0f6f59b67040c (patch) | |
tree | 6742fbe0fa15ae2c2b2ea9c4c575b0903b84b8ed /net-libs | |
parent | libiscsi-1.9.0 from gentoo (diff) | |
download | eroen-881759a62d7a1c2a725024bf69d0f6f59b67040c.tar.gz eroen-881759a62d7a1c2a725024bf69d0f6f59b67040c.tar.bz2 eroen-881759a62d7a1c2a725024bf69d0f6f59b67040c.zip |
libiscsi-1.9.0: disable -Werror
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libiscsi/Manifest | 3 | ||||
-rw-r--r-- | net-libs/libiscsi/files/libiscsi-1.9.0-werror.patch | 12 | ||||
-rw-r--r-- | net-libs/libiscsi/libiscsi-1.9.0.ebuild | 7 |
3 files changed, 20 insertions, 2 deletions
diff --git a/net-libs/libiscsi/Manifest b/net-libs/libiscsi/Manifest index e2cb5df..d420605 100644 --- a/net-libs/libiscsi/Manifest +++ b/net-libs/libiscsi/Manifest @@ -1,3 +1,4 @@ +AUX libiscsi-1.9.0-werror.patch 605 SHA256 c017dfc52946a44b2e4fe007c4f23f47259b1723665924a05a0bb17db2e4646c SHA512 fe6d4361c1da95e49ec0208f969ce056f83d56639edf2f2f3f32994c52a046090d4feac0e0b9fb09edc58a41744c7f41c932c28f09b691b5de06418fee9c19cd WHIRLPOOL a1840a98e017a4080941ad98806d8b608eb0b2ed5ad4373516653a87efab4c891685e3bd004584f8bb9c629a60a8b4540f12af939ea093d19f5d7a22d2d72223 DIST libiscsi-1.9.0.tar.gz 182123 SHA256 64d7d6fdb53f0cc4163a0f1dc6cc94618f34a52c4836cf25a42f3769dfd46bbf SHA512 cf88c0f32a21193499720d24f215fb02e7a46ef07999ef59cdad9cad14f92399b3d2e46e8e6f54574dc77225a5b437608216da242971e0d6f35c71830371415a WHIRLPOOL 63af85f03e032ff034b7ce3331f8cb74ffa79c4621efb9873e0b3c76f3f9620439c11216f33d1e97c784f98ecff516048e53f66d88d51dc81578e7e535135588 -EBUILD libiscsi-1.9.0.ebuild 690 SHA256 acb2e9a92aa3f31afed57746b00075ec18354856608b2ce92ac35e902a75ab55 SHA512 3d2ac86c4efbb92ccb92a7b98d068f7c5aa412281a6c36cf306989daebbafdc3124f976bcaebb66e4fe9593a6f95841d63cccc708af72f6cb8cb38581e816be6 WHIRLPOOL ca8fe8dfc29dc511965fd2d6a733f69fde0edf302c22b6eef53ebddcb515a635369eda47d10642e10fe5fe676d24bad15a901cc027305318831ce89c63738d87 +EBUILD libiscsi-1.9.0.ebuild 785 SHA256 e2d00595ea85406924d2a053174b6287c46804b7046ec3c02ac88775917e5896 SHA512 513bdcc62ad222758c31e978da8a41dccdd3342b773bf615e9a3a2f08baa281f8a2518e8c2d05e212aef19d49005e17c80d1d48a7e9047acbfcc0298b139a199 WHIRLPOOL 281abaa9df3c3ad4459bfb9fc87880a5462903451404f425b4ae4fff6618822452563a9c761c9be38f21d4b3ca942d1b6b2d8205de712774a1d23df8cdfa0b0d MISC metadata.xml 228 SHA256 a317cd066ed83c5b5acf9d49869cb2f153499bb90cee389334bee9781534f5e8 SHA512 1638d4580908d32ad6fad71d109a58d699c9111d26c1073ae95b20248fc2a5da91a1f73153f01942df25c64865586e970e6532a312cd374d9866bf21264ddc54 WHIRLPOOL 11e5655c66af420e31f60d3ab19ef3ff55222271dd63bca94b548c7a63bbc73e8edfb4d80648d143c7d8315f8ba66bc4140dcf97ff85ea472e2a7cab1de98264 diff --git a/net-libs/libiscsi/files/libiscsi-1.9.0-werror.patch b/net-libs/libiscsi/files/libiscsi-1.9.0-werror.patch new file mode 100644 index 0000000..8ff1c1f --- /dev/null +++ b/net-libs/libiscsi/files/libiscsi-1.9.0-werror.patch @@ -0,0 +1,12 @@ +diff -ur a-libiscsi-1.9.0/configure.ac libiscsi-1.9.0/configure.ac +--- a-libiscsi-1.9.0/configure.ac 2013-02-24 18:09:02.000000000 +0100 ++++ libiscsi-1.9.0/configure.ac 2013-05-23 18:07:45.946318096 +0200 +@@ -12,7 +12,7 @@ + [expr "$host_os" : linux > /dev/null 2>&1]) + + if test "$ac_cv_prog_gcc" = yes; then +- WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Werror -Wno-strict-aliasing" ++ WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-strict-aliasing" + fi + AC_SUBST(WARN_CFLAGS) + diff --git a/net-libs/libiscsi/libiscsi-1.9.0.ebuild b/net-libs/libiscsi/libiscsi-1.9.0.ebuild index d03fc08..c737c95 100644 --- a/net-libs/libiscsi/libiscsi-1.9.0.ebuild +++ b/net-libs/libiscsi/libiscsi-1.9.0.ebuild @@ -5,7 +5,7 @@ EAPI=5 AUTOTOOLS_AUTORECONF="1" -inherit autotools-utils +inherit eutils autotools-utils if [[ ${PV} = *9999* ]]; then inherit git-2 @@ -26,3 +26,8 @@ IUSE="" DEPEND="" RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-werror.patch + autotools-utils_src_prepare +} |