[MacPorts] #27155: VLC 1.0.6 build failure - librsvg-2/librsvg/rsvg.h: No such file or directory

MacPorts noreply at macports.org
Thu Nov 25 13:44:35 PST 2010


#27155: VLC 1.0.6 build failure - librsvg-2/librsvg/rsvg.h: No such file or
directory
-------------------------+--------------------------------------------------
 Reporter:  lev_@…       |       Owner:  mnick@…           
     Type:  defect       |      Status:  new               
 Priority:  Normal       |   Milestone:                    
Component:  ports        |     Version:  1.9.1             
 Keywords:               |        Port:  vlc               
-------------------------+--------------------------------------------------

Comment(by ak.ml@…):

 The include dir of librsvg has changed from "${prefix}/include/librsvg-2"
 to "${prefix}/include/librsvg-2.0".[[BR]]
 modules/misc/svg.c has an hardcoded include to librsvg-2:[[BR]]
 {{{
 $ cd "`port work VLC`/vlc-1.0.6"
 $ find . -type f -name '*.c' -print0 | xargs -0 egrep -n -e 'librsvg-2/'
 ./modules/misc/svg.c:53:#include <librsvg-2/librsvg/rsvg.h>
 }}}

 #include <librsvg/rsvg.h>
 should be enough

 {{{
 $ cat patch-svg.c.diff
 --- modules/misc/svg.c.orig     2010-11-25 22:20:40.000000000 +0100
 +++ modules/misc/svg.c  2010-11-25 22:21:02.000000000 +0100
 @@ -50,7 +50,7 @@
  #include <glib.h>
  #include <glib/gstdio.h>
  #include <glib-object.h>                                  /*
 g_object_unref( ) */
 -#include <librsvg-2/librsvg/rsvg.h>
 +#include <librsvg/rsvg.h>

  typedef struct svg_rendition_t svg_rendition_t;

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27155#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list