From 6bb6dfcecb49c5d2dc6744d4044b55cfbfd6b0e8 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 25 Mar 2009 22:34:30 +0000 Subject: - Fix the build on -CURRENT by removing inline from public function definitions --- graphics/liblqr-1/files/patch-lqr-lqr_carver_priv.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/liblqr-1/files/patch-lqr-lqr_carver_priv.h (limited to 'graphics/liblqr-1') diff --git a/graphics/liblqr-1/files/patch-lqr-lqr_carver_priv.h b/graphics/liblqr-1/files/patch-lqr-lqr_carver_priv.h new file mode 100644 index 000000000000..d2f44533cccc --- /dev/null +++ b/graphics/liblqr-1/files/patch-lqr-lqr_carver_priv.h @@ -0,0 +1,11 @@ +--- lqr/lqr_carver_priv.h.orig 2008-11-01 04:42:18.000000000 +0300 ++++ lqr/lqr_carver_priv.h 2009-03-25 22:02:08.000000000 +0300 +@@ -204,7 +204,7 @@ + LqrRetVal lqr_carver_build_vsmap (LqrCarver * r, gint depth); /* visibility */ + + /* internal functions for maps computation */ +-inline gfloat lqr_carver_read (LqrCarver * r, gint x, gint y); /* read the average value at given point */ ++gfloat lqr_carver_read (LqrCarver * r, gint x, gint y); /* read the average value at given point */ + void lqr_carver_compute_e (LqrCarver * r, gint x, gint y); /* compute energy of point at c (fast) */ + void lqr_carver_update_emap (LqrCarver * r); /* update energy map after seam removal */ + void lqr_carver_update_mmap (LqrCarver * r); /* minpath */ -- cgit