aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-03-26 06:34:30 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-03-26 06:34:30 +0800
commit6bb6dfcecb49c5d2dc6744d4044b55cfbfd6b0e8 (patch)
treeb6fedb8da1d82187e40ae6d479fcaad345c09376 /graphics
parentc30cc51d41bc829f3e3af3be270d5db384f8c56b (diff)
downloadfreebsd-ports-gnome-6bb6dfcecb49c5d2dc6744d4044b55cfbfd6b0e8.tar.gz
freebsd-ports-gnome-6bb6dfcecb49c5d2dc6744d4044b55cfbfd6b0e8.tar.zst
freebsd-ports-gnome-6bb6dfcecb49c5d2dc6744d4044b55cfbfd6b0e8.zip
- Fix the build on -CURRENT by removing inline from public function definitions
Diffstat (limited to 'graphics')
-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 */