aboutsummaryrefslogtreecommitdiff
path: root/graphics/seam-carving-gui
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-11-23 22:44:04 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-11-23 22:44:04 +0000
commitbe73a465ba2581700e36606acede9a41f731dbc8 (patch)
tree936b80e31f82296a8226521de85a3aa439de51cd /graphics/seam-carving-gui
parent3634ce064b714745aef2007035795a60bd78579a (diff)
downloadports-be73a465ba2581700e36606acede9a41f731dbc8.tar.gz
ports-be73a465ba2581700e36606acede9a41f731dbc8.zip
Notes
Diffstat (limited to 'graphics/seam-carving-gui')
-rw-r--r--graphics/seam-carving-gui/Makefile2
-rw-r--r--graphics/seam-carving-gui/distinfo6
-rw-r--r--graphics/seam-carving-gui/files/patch-cair_CAIR.cpp56
3 files changed, 60 insertions, 4 deletions
diff --git a/graphics/seam-carving-gui/Makefile b/graphics/seam-carving-gui/Makefile
index 23c76be82735..daccfdc97119 100644
--- a/graphics/seam-carving-gui/Makefile
+++ b/graphics/seam-carving-gui/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= seam-carving-gui
-PORTVERSION= 1.9
+PORTVERSION= 1.10
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
diff --git a/graphics/seam-carving-gui/distinfo b/graphics/seam-carving-gui/distinfo
index 7f0040ef3828..1b81822371a7 100644
--- a/graphics/seam-carving-gui/distinfo
+++ b/graphics/seam-carving-gui/distinfo
@@ -1,3 +1,3 @@
-MD5 (seam-carving-gui-1.9.tar.gz) = c1e6de3fa63897a5fa3522789ea2e87c
-SHA256 (seam-carving-gui-1.9.tar.gz) = ccd2db1106e99d78c552db41a443fac83b90b6b771cdc0d0392cb61d79649a2c
-SIZE (seam-carving-gui-1.9.tar.gz) = 124404
+MD5 (seam-carving-gui-1.10.tar.gz) = 38ff9e6f1284a84c76730f18fd5d26f0
+SHA256 (seam-carving-gui-1.10.tar.gz) = 0d626b0f1653fc21dadd3c1c79fa56ca1a59a280ee5d9292da7a15271006a568
+SIZE (seam-carving-gui-1.10.tar.gz) = 130729
diff --git a/graphics/seam-carving-gui/files/patch-cair_CAIR.cpp b/graphics/seam-carving-gui/files/patch-cair_CAIR.cpp
new file mode 100644
index 000000000000..46d1b5db8105
--- /dev/null
+++ b/graphics/seam-carving-gui/files/patch-cair_CAIR.cpp
@@ -0,0 +1,56 @@
+--- cair/CAIR.cpp.orgi 2008-11-23 23:22:33.000000000 +0100
++++ cair/CAIR.cpp 2008-11-23 23:23:59.000000000 +0100
+@@ -260,7 +260,7 @@
+ //Our thread function for the Grayscale
+ void * Gray_Quadrant( void * id )
+ {
+- int num = (int)id;
++ long int num = (long int)id;
+
+ while( true )
+ {
+@@ -425,7 +425,7 @@
+ //The thread function, splitting the image into strips
+ void * Edge_Quadrant( void * id )
+ {
+- int num = (int)id;
++ long int num = (long int)id;
+
+ while( true )
+ {
+@@ -619,7 +619,7 @@
+ //=========================================================================================================//
+ void * Energy_Left( void * id )
+ {
+- int num = (int)id;
++ long int num = (long int)id;
+ int energy = 0;// current calculated enery
+ int min_x = 0, max_x = 0;
+
+@@ -734,7 +734,7 @@
+ //=========================================================================================================//
+ void * Energy_Right( void * id )
+ {
+- int num = (int)id;
++ long int num = (long int)id;
+ int energy = 0;// current calculated enery
+ int min_x = 0, max_x = 0;
+
+@@ -945,7 +945,7 @@
+ //This works like Remove_Quadrant, stripes across the image.
+ void * Add_Quadrant( void * id )
+ {
+- int num = (int)id;
++ long int num = (long int)id;
+ Thread_Params add_area;
+
+ while( true )
+@@ -1260,7 +1260,7 @@
+ //the areas are not quadrants, rather, more like strips, but I keep the name convention
+ void * Remove_Quadrant( void * id )
+ {
+- int num = (int)id;
++ long int num = (long int)id;
+ Thread_Params remove_area;
+
+ while( true )