geos/libruby.patch
Martin Pluskal 9188398b22 Accepting request 677266 from home:bruno_friedmann:branches:Application:Geo
- Packaging:
  + refresh patch libruby with upstream debian for 3.7.1
  + remove python as state upstream this not supported since 
    version 3 (use Shapely or libgeos_c)
- Update to version 3.7.1
  + Bug fixes / improvements
    * Fix crash in GEOSCoordSeq_isCCW with empty coordseq
      (#927, Sergey Fedoseev)
    * Fix crash in GEOSInterpolate with empty LineString
      (#926, Sergey Fedoseev)
    * Fix crash in GEOSUnaryUnion with empty LineString
      (#928, Sergey Fedoseev)
    * Fix memory leak in SIRtree::insert (#919, Dan Baston)
    * Reduce required autoconf to 2.63
      (#56, John Harvey)
    * Fix incorrect return values on error from GEOSLength
      GEOSisValidDetail (#941, Dan Baston)
- Changes in 3.7.0
  + New things:
    * CAPI: GEOSDistanceIndexed (#795, Dan Baston)
    * CAPI: GEOSCoordSeq_isCCW (#870, Dan Baston)
    * CAPI: GEOSGeom_getXMin, GEOSGeom_getXMax,
            GEOSGeom_getYMin, GEOSGeom_getYMax (#871, Dan Baston)
    * CAPI: GEOSFrechetDistance (#797, Shinichi SUGIYAMA)
    * CAPI: GEOSReverse (#872, Dan Baston)
    * CAPI: GEOSGeomGetZ (#581, J Smith)
  + Improvements
    * Interruptible snap operation (Paul Ramsey)
    * Numerous packaging, doc, and build changes
      (Debian group: Bas Couwenberg, Francesco Paolo Lovergine)

OBS-URL: https://build.opensuse.org/request/show/677266
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=28
2019-02-19 07:59:20 +00:00

28 lines
1.4 KiB
Diff

Description: RUBY_EXTENSION_DIR fix, use vendorarchdir for Debian package.
Author: Christian Hofstaedtler <zeha@debian.org>
Bug-Debian: https://bugs.debian.org/735652
Forwarded: not-needed
--- a/configure
+++ b/configure
@@ -19329,7 +19329,7 @@ fi
RUBY_ARCH_LIB_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["archlibdir"] || Config::CONFIG["archlibdir"]'`
- RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["sitearchdir"] || Config::CONFIG["sitearchdir"]'`
+ RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["vendorarchdir"] || Config::CONFIG["vendorarchdir"]'`
RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["RUBY_SO_NAME"] || Config::CONFIG["RUBY_SO_NAME"]'`
--- a/macros/ruby.m4
+++ b/macros/ruby.m4
@@ -41,7 +41,7 @@ AC_DEFUN([AC_RUBY_DEVEL],
RUBY_ARCH_LIB_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["archlibdir"]] || Config::CONFIG[["archlibdir"]]'`
dnl Get Ruby extensions directory
- RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["sitearchdir"]] || Config::CONFIG[["sitearchdir"]]'`
+ RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["vendorarchdir"]] || Config::CONFIG[["vendorarchdir"]]'`
dnl Get Ruby shared library name, this does not include the lib prefix or extension name
RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["RUBY_SO_NAME"]] || Config::CONFIG[["RUBY_SO_NAME"]]'`