summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-19 18:38:51 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-19 18:39:22 -0400
commitf503f77079c568cd9628571cf69b418a51967e49 (patch)
tree1f657e5ff81ab13db701b0bbcdd3a4cc156cda6e /sys-block/partimage
parentnet-proxy/3proxy: Remove old (diff)
downloadgentoo-f503f77079c568cd9628571cf69b418a51967e49.tar.gz
gentoo-f503f77079c568cd9628571cf69b418a51967e49.tar.bz2
gentoo-f503f77079c568cd9628571cf69b418a51967e49.zip
sys-block/partimage: fix build w/newer glibc #580290
Diffstat (limited to 'sys-block/partimage')
-rw-r--r--sys-block/partimage/files/partimage-0.6.9-minor-typo.patch13
-rw-r--r--sys-block/partimage/partimage-0.6.9.ebuild1
2 files changed, 14 insertions, 0 deletions
diff --git a/sys-block/partimage/files/partimage-0.6.9-minor-typo.patch b/sys-block/partimage/files/partimage-0.6.9-minor-typo.patch
new file mode 100644
index 000000000000..8e0e00e05659
--- /dev/null
+++ b/sys-block/partimage/files/partimage-0.6.9-minor-typo.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/580290
+
+--- a/src/client/misc.h
++++ b/src/client/misc.h
+@@ -36,7 +36,7 @@ struct COptions;
+ #endif
+
+ #ifndef makedev
+- #define makedev(maj,min) (((maj) << 8) | min))
++ #define makedev(maj,min) (((maj) << 8) | (min))
+ #endif
+
+ // =======================================================
diff --git a/sys-block/partimage/partimage-0.6.9.ebuild b/sys-block/partimage/partimage-0.6.9.ebuild
index 56ba109c442c..10f95457aaae 100644
--- a/sys-block/partimage/partimage-0.6.9.ebuild
+++ b/sys-block/partimage/partimage-0.6.9.ebuild
@@ -33,6 +33,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}"/${P}-zlib-1.2.5.2.patch #405323
+ epatch "${FILESDIR}"/${P}-minor-typo.patch #580290
}
src_configure() {