Title: [opsview-perl] [697] Fix linking on 64 bit systems
Revision
697
Author
tvoon
Date
2012-07-16 23:16:30 +0100 (Mon, 16 Jul 2012)

Log Message

Fix linking on 64 bit systems

Added Paths


Added: trunk/patches/Image-Scale/03compile_on_64_bit.patch
===================================================================
--- trunk/patches/Image-Scale/03compile_on_64_bit.patch	                        (rev 0)
+++ trunk/patches/Image-Scale/03compile_on_64_bit.patch	2012-07-16 22:16:30 UTC (rev 697)
@@ -0,0 +1,14 @@
+diff -ur Image-Scale-0.08.original/Makefile.PL Image-Scale-0.08/Makefile.PL
+--- Image-Scale-0.08.original/Makefile.PL	2011-08-24 21:23:34.000000000 +0000
++++ Image-Scale-0.08/Makefile.PL	2012-07-16 22:13:47.000000000 +0000
+@@ -153,6 +153,10 @@
+             push @LIBPATH, '-L' . $gif_lib;
+         }
+         
++        # We set a default value here of "gif"
++        # This is because the lib is probably in lib64, not lib, so will not be found
++        $gif_lib_name = 'gif';
++
+         # Look for libgif or libungif as a fallback
+         for my $libdir ( $gif_lib, map { (my $p = $_) =~ s,/include,/lib,; $p } @check ) {
+             if ( glob("$libdir/libgif*") ) {

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to