aboutsummaryrefslogtreecommitdiff
path: root/graphics/liblqr-1
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-25 22:34:30 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-25 22:34:30 +0000
commit8862c8e2b442e3d901cf7701ae3bf7279af2d401 (patch)
tree3ba2bb9851a900b35902645ba3f11132a7323428 /graphics/liblqr-1
parent7228b51cde9d787f2cd01828190bd95a9d057387 (diff)
downloadports-8862c8e2b442e3d901cf7701ae3bf7279af2d401.tar.gz
ports-8862c8e2b442e3d901cf7701ae3bf7279af2d401.zip
- Fix the build on -CURRENT by removing inline from public function definitions
Notes
Notes: svn path=/head/; revision=231019
Diffstat (limited to 'graphics/liblqr-1')
-rw-r--r--graphics/liblqr-1/files/patch-lqr-lqr_carver_priv.h11
1 files changed, 11 insertions, 0 deletions
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 */