diff --git a/media-gfx/potrace/patches/potrace-1.14.patchset b/media-gfx/potrace/patches/potrace-1.15.patchset similarity index 81% rename from media-gfx/potrace/patches/potrace-1.14.patchset rename to media-gfx/potrace/patches/potrace-1.15.patchset index 52af83216..6d8b3e2ca 100644 --- a/media-gfx/potrace/patches/potrace-1.14.patchset +++ b/media-gfx/potrace/patches/potrace-1.15.patchset @@ -1,11 +1,11 @@ -From c60a3c6dcf242dd295507b309ee20edebc828b05 Mon Sep 17 00:00:00 2001 +From c115adc6b93082b61fae3ae4400839fcb152df04 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 1 Aug 2016 19:08:15 +0000 Subject: Haiku patch diff --git a/configure.ac b/configure.ac -index dc554ab..d56789b 100644 +index 354a640..e511232 100644 --- a/configure.ac +++ b/configure.ac @@ -189,7 +189,7 @@ for PostScript level 3 compression.]) @@ -16,17 +16,17 @@ index dc554ab..d56789b 100644 +AC_CHECK_LIB(m, floor, MATH_LIBS="-lm", MATH_LIBS="") dnl ---------------------------------------------------------------------- - dnl Check for library functions. -@@ -256,6 +256,7 @@ AC_SUBST(POTRACE) - AC_SUBST(MKBITMAP) + dnl Check for types +@@ -271,6 +271,7 @@ AC_SUBST(MKBITMAP) AC_SUBST(EXTRA_OBJS) + AC_SUBST(EXTRA_INCLUDES) AC_SUBST(EXTRA_LIBS) +AC_SUBST(MATH_LIBS) AC_SUBST(AM_CPPFLAGS) AC_SUBST(POTRACELIB_VERSION) diff --git a/src/Makefile.am b/src/Makefile.am -index 1f657e0..d6786ad 100644 +index e83bfc1..a18574c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,16 +20,16 @@ potrace_SOURCES = main.c main.h bitmap_io.c bitmap_io.h backend_eps.c \ @@ -48,10 +48,10 @@ index 1f657e0..d6786ad 100644 +potracelib_demo_LDADD = libpotrace.la @MATH_LIBS@ potracelib_demo_DEPENDENCIES = libpotrace.la - #---------------------------------------------------------------------- -@@ -44,7 +44,7 @@ EXTRA_LTLIBRARIES = libpotrace.la + AM_CPPFLAGS = @EXTRA_INCLUDES@ +@@ -46,7 +46,7 @@ EXTRA_LTLIBRARIES = libpotrace.la libpotrace_la_SOURCES = $(libsources) - libpotrace_la_LDFLAGS = -version-info 0:4:0 -rpath '$(libdir)' \ + libpotrace_la_LDFLAGS = -version-info 0:5:0 -rpath '$(libdir)' \ -export-symbols $(srcdir)/libpotrace-export.sym -no-undefined -libpotrace_la_LIBADD = -lm +libpotrace_la_LIBADD = @MATH_LIBS@ @@ -59,5 +59,5 @@ index 1f657e0..d6786ad 100644 # header files to install -- -2.10.2 +2.13.1 diff --git a/media-gfx/potrace/potrace-1.14.recipe b/media-gfx/potrace/potrace-1.15.recipe similarity index 91% rename from media-gfx/potrace/potrace-1.14.recipe rename to media-gfx/potrace/potrace-1.15.recipe index 52f3adfe4..6b9b271f5 100644 --- a/media-gfx/potrace/potrace-1.14.recipe +++ b/media-gfx/potrace/potrace-1.15.recipe @@ -20,9 +20,9 @@ potracing greyscale and color images. HOMEPAGE="http://potrace.sourceforge.net/" COPYRIGHT="2001-2015 Peter Selinger" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="1" SOURCE_URI="http://potrace.sourceforge.net/download/$portVersion/potrace-$portVersion.tar.gz" -CHECKSUM_SHA256="db72b65311cfdcb63880b317f610d84485f086e15f88ca2346012d49414cd97e" +CHECKSUM_SHA256="a9b33904ace328340c850a01458199e0064e03ccaaa731bc869a842b1b8d529d" PATCHES="potrace-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" @@ -30,7 +30,7 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" potrace$secondaryArchSuffix = $portVersion - lib:libpotrace$secondaryArchSuffix = 0.0.4 compat >= 0 + lib:libpotrace$secondaryArchSuffix = 0.0.5 compat >= 0 cmd:mkbitmap cmd:potrace " @@ -41,7 +41,7 @@ REQUIRES=" PROVIDES_devel=" potrace${secondaryArchSuffix}_devel = $portVersion - devel:libpotrace$secondaryArchSuffix = 0.0.4 compat >= 0 + devel:libpotrace$secondaryArchSuffix = 0.0.5 compat >= 0 " REQUIRES_devel=" potrace$secondaryArchSuffix == $portVersion base