Debian Patches

Status for ruby-gd/0.8.0-8

Patch Description Author Forwarded Bugs Origin Last update
fix-set-interlace-on-amd64.patch Fix set interlace on amd64
Fix segmentation faults on amd64 when using the interlace option.
Antonio Terceiro <terceiro@debian.org> no debian 2008-08-30
fix-compilation-with-ruby19.patch [PATCH] Made the extension compile and run under Ruby 1.9.1.
This will currently break under 1.8.

I needed to re-fdopen the files for the various gdCreateFrom* functions
to avoid segfaults. I'm not sure why I had to do this.

Line 1422 gives a warning that I can't solve just now too. The function
that throws it hasn't been tested.
Mark Somerville <mark@scottishclimbs.com> no https://github.com/Spakman/ruby-gd/commit/92a42d1d4be4f13a87b7325e20d7d5f2841c7f90 2009-09-09
restore-ruby18-support.patch [PATCH] Added back in Ruby 1.8 support. Tested under 1.8.6 and 1.9.1.

The 1.8/1.9 compile time switching is done using a few macros. I'm not
sure if this is the best way to achieve this or not, since I'm not too
familiar with the (Ruby)C way. Any comments on the style will be
appreciated!
Mark Somerville <mark@scottishclimbs.com> no https://github.com/Spakman/ruby-gd/commit/30eb7696a4fad4fc18cf11725da95226e79afd8e 2009-09-10
fix-memory-leak.patch [PATCH] Fixed a memory leak when creating a GD image from a file.
The macro was incorrectly reopening the file, leaving it unreferenced
and open after the GD image was created. Altered to use the Ruby
function to reference the FILE pointer.
Mark Somerville <mark@scottishclimbs.com> no https://github.com/Spakman/ruby-gd/commit/0c57d637d42e659815ab8d970b8635cc01b7aac0 2010-02-18
compatibility-with-ruby192.patch [PATCH] Ruby 1.9.2 compatibility: STR2CSTR becomes StringValuePtr. Mark Somerville <mark@scottishclimbs.com> no https://github.com/Spakman/ruby-gd/commit/eea4275372a53790d74d07d9c2dafc8e7565a0d4 2010-03-03
port-to-ruby2.1.patch Port to Ruby 2.1 and 3.x
Fix error:
GD.c:1725:25: error: assignment of read-only member ‘klass’
Antonio Terceiro <terceiro@debian.org> invalid 2021-10-31

All known versions for source package 'ruby-gd'

Links