aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchemutils
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2009-09-06 21:25:22 +0800
committerkwm <kwm@FreeBSD.org>2009-09-06 21:25:22 +0800
commit54091853cd09a8f4a8248918cb144b5cf5cd6181 (patch)
treedba70469b3aae8cba660ecbbb391fcf507bf8417 /science/gchemutils
parentb275d2d6c391109785e2f5adf5acbe6cb94f33ea (diff)
downloadfreebsd-ports-gnome-54091853cd09a8f4a8248918cb144b5cf5cd6181.tar.gz
freebsd-ports-gnome-54091853cd09a8f4a8248918cb144b5cf5cd6181.tar.zst
freebsd-ports-gnome-54091853cd09a8f4a8248918cb144b5cf5cd6181.zip
Update to 0.10.7.
Diffstat (limited to 'science/gchemutils')
-rw-r--r--science/gchemutils/Makefile4
-rw-r--r--science/gchemutils/distinfo6
-rw-r--r--science/gchemutils/files/patch-libs_gcu_goffice-compat.h22
3 files changed, 27 insertions, 5 deletions
diff --git a/science/gchemutils/Makefile b/science/gchemutils/Makefile
index b56b8977dc9c..735275083cfa 100644
--- a/science/gchemutils/Makefile
+++ b/science/gchemutils/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gchemutils
-PORTVERSION= 0.10.6
+PORTVERSION= 0.10.7
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}/0.10
@@ -36,7 +36,7 @@ GCONF_SCHEMAS= gcrystal.schemas gchempaint.schemas gchempaint-arrows.schemas gch
MAN1= gchem3d.1 gchemcalc.1 gchempaint.1 gchemtable.1 gcrystal.1 gspectrum.1
-PLIST_SUB= VER=0.10 GOFFICE=0.7.11
+PLIST_SUB= VER=0.10 GOFFICE=0.7.12
OPTIONS= XUL "Build browser plugin (requires Xulrunner)" off
diff --git a/science/gchemutils/distinfo b/science/gchemutils/distinfo
index 619ae7d58ffd..25392a4ef644 100644
--- a/science/gchemutils/distinfo
+++ b/science/gchemutils/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome-chemistry-utils-0.10.6.tar.bz2) = 9f033c62bc917e302f4a42211fb8a4be
-SHA256 (gnome-chemistry-utils-0.10.6.tar.bz2) = e83f2bc4cbc4d621e98f65a6575bf9c97365b15d5cbfbfb75c2ba317835a3d6c
-SIZE (gnome-chemistry-utils-0.10.6.tar.bz2) = 4234420
+MD5 (gnome-chemistry-utils-0.10.7.tar.bz2) = e430b1be2433eec3837ee2862f9bfd27
+SHA256 (gnome-chemistry-utils-0.10.7.tar.bz2) = dcc70eda5be263710c177d8862ae29155d9ae132c87fb5ff5c4cc06d7c51360f
+SIZE (gnome-chemistry-utils-0.10.7.tar.bz2) = 4234641
diff --git a/science/gchemutils/files/patch-libs_gcu_goffice-compat.h b/science/gchemutils/files/patch-libs_gcu_goffice-compat.h
new file mode 100644
index 000000000000..779345845d17
--- /dev/null
+++ b/science/gchemutils/files/patch-libs_gcu_goffice-compat.h
@@ -0,0 +1,22 @@
+--- libs/gcu/goffice-compat.h.orig 2009-09-06 12:06:55.000000000 +0200
++++ libs/gcu/goffice-compat.h 2009-09-06 12:07:48.000000000 +0200
+@@ -48,6 +48,19 @@
+ # define DOUBLE_RGBA_B GO_DOUBLE_RGBA_B
+ # define DOUBLE_RGBA_A GO_DOUBLE_RGBA_A
+ #endif
++#ifdef GO_COLOR_FROM_RGBA
++# define RGBA_TO_UINT GO_COLOR_FROM_RGBA
++# define RGBA_BLACK GO_COLOR_BLACK
++# define RGBA_RED GO_COLOR_RED
++# define UINT_RGBA_R GO_COLOR_UINT_R
++# define UINT_RGBA_G GO_COLOR_UINT_G
++# define UINT_RGBA_B GO_COLOR_UINT_B
++# define UINT_RGBA_A GO_COLOR_UINT_A
++# define DOUBLE_RGBA_R GO_COLOR_DOUBLE_R
++# define DOUBLE_RGBA_G GO_COLOR_DOUBLE_G
++# define DOUBLE_RGBA_B GO_COLOR_DOUBLE_B
++# define DOUBLE_RGBA_A GO_COLOR_DOUBLE_A
++#endif
+
+ #ifdef GO_PLUGIN_SERVICE_CLASS
+ # define GPS_CLASS GO_PLUGIN_SERVICE_CLASS