summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-08-12 08:51:45 +0200
committerDavid Seifert <soap@gentoo.org>2016-08-12 08:52:22 +0200
commitfd9e186400dab71af350b317e32cbde74682e2e2 (patch)
treea269377a09b6408c140d112ca0b9948a4473fd06 /sci-libs/metis
parentapp-text/atril: Fix typo in metadata.xml (diff)
downloadgentoo-fd9e186400dab71af350b317e32cbde74682e2e2.tar.gz
gentoo-fd9e186400dab71af350b317e32cbde74682e2e2.tar.bz2
gentoo-fd9e186400dab71af350b317e32cbde74682e2e2.zip
sci-libs/metis: Make all patches -p1 compliant
Gentoo-bug: 591090 Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-libs/metis')
-rw-r--r--sci-libs/metis/files/metis-4.0.1-autotools.patch20
-rw-r--r--sci-libs/metis/metis-4.0.3.ebuild2
2 files changed, 11 insertions, 11 deletions
diff --git a/sci-libs/metis/files/metis-4.0.1-autotools.patch b/sci-libs/metis/files/metis-4.0.1-autotools.patch
index 7422acf36c6e..f5d3050a2998 100644
--- a/sci-libs/metis/files/metis-4.0.1-autotools.patch
+++ b/sci-libs/metis/files/metis-4.0.1-autotools.patch
@@ -16,8 +16,8 @@
+ Programs/Makefile\
+ Test/Makefile])
+AC_OUTPUT
---- metis.pc.in 1970-01-01 01:00:00.000000000 +0100
-+++ metis.pc.in 2008-02-15 14:45:09.378997263 +0000
+--- a/metis.pc.in
++++ b/metis.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
@@ -29,16 +29,16 @@
+Version: @VERSION@
+Libs: -L${libdir} -lmetis
+Cflags: -I${includedir}/metis
---- Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ Makefile.am 2008-02-15 14:46:16.578826763 +0000
+--- a/Makefile.am
++++ b/Makefile.am
@@ -0,0 +1,5 @@
+SUBDIRS = Lib Programs Test
+EXTRA_DIST = CHANGES VERSION metis.pc.in
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = metis.pc
---- Lib/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ Lib/Makefile.am 2008-03-25 10:06:10.719491984 +0000
+--- a/Lib/Makefile.am
++++ b/Lib/Makefile.am
@@ -0,0 +1,15 @@
+pkginclude_HEADERS = defs.h macros.h metis.h proto.h rename.h struct.h
+pkgincludedir = $(includedir)/metis
@@ -55,8 +55,8 @@
+ mrefine2.c minitpart2.c mbalance2.c mfm2.c \
+ kvmetis.c kwayvolrefine.c kwayvolfm.c subdomains.c
+libmetis_la_LDFLAGS = -no-undefined -version-info 4:0:0
---- Programs/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ Programs/Makefile.am 2008-01-31 12:00:14.981124649 +0000
+--- a/Programs/Makefile.am
++++ b/Programs/Makefile.am
@@ -0,0 +1,15 @@
+AM_CPPFLAGS = -I$(top_srcdir)/Lib
+LDADD = $(top_builddir)/Lib/libmetis.la -lm
@@ -73,8 +73,8 @@
+partdmesh_SOURCES = partdmesh.c io.c
+partnmesh_SOURCES = partnmesh.c io.c
+graphchk_SOURCES = graphchk.c io.c
---- Test/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ Test/Makefile.am 2008-01-31 12:37:59.532517099 +0000
+--- a/Test/Makefile.am
++++ b/Test/Makefile.am
@@ -0,0 +1,7 @@
+AM_CPPFLAGS = -I$(top_srcdir)/Lib
+LDADD = $(top_builddir)/Lib/libmetis.la -lm
diff --git a/sci-libs/metis/metis-4.0.3.ebuild b/sci-libs/metis/metis-4.0.3.ebuild
index d43753ffe598..f44bd80121cc 100644
--- a/sci-libs/metis/metis-4.0.3.ebuild
+++ b/sci-libs/metis/metis-4.0.3.ebuild
@@ -20,7 +20,7 @@ RDEPEND="${DEPEND}
!sci-libs/parmetis"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-4.0.1-autotools.patch
+ epatch -p1 "${FILESDIR}"/${PN}-4.0.1-autotools.patch
sed -i -e "s/4.0.1/${PV}/" configure.ac || die
eautoreconf
}