aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-01-30 15:54:08 +0800
committermaho <maho@FreeBSD.org>2005-01-30 15:54:08 +0800
commitdf796090d954907ead73c8c951794db9ea4d6b72 (patch)
tree2d223f08f7d6d94ac8fc91af420026baaf6c409e /science
parentce551de22f3db21d536759081c0edfa1a1780e19 (diff)
downloadfreebsd-ports-gnome-df796090d954907ead73c8c951794db9ea4d6b72.tar.gz
freebsd-ports-gnome-df796090d954907ead73c8c951794db9ea4d6b72.tar.zst
freebsd-ports-gnome-df796090d954907ead73c8c951794db9ea4d6b72.zip
Unbreak for FreeBSD >=5.x
Submitted by: linimon
Diffstat (limited to 'science')
-rw-r--r--science/ghemical/Makefile4
-rw-r--r--science/ghemical/files/patch-src+graphics+objects.h11
2 files changed, 11 insertions, 4 deletions
diff --git a/science/ghemical/Makefile b/science/ghemical/Makefile
index 5b176ffc48ac..23f22d5bfd44 100644
--- a/science/ghemical/Makefile
+++ b/science/ghemical/Makefile
@@ -30,10 +30,6 @@ USE_AUTOCONF_VER= 253
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
pre-configure:
@cd ${WRKDIR}/${DISTNAME} ; ${AUTOCONF}
diff --git a/science/ghemical/files/patch-src+graphics+objects.h b/science/ghemical/files/patch-src+graphics+objects.h
new file mode 100644
index 000000000000..494ed341489d
--- /dev/null
+++ b/science/ghemical/files/patch-src+graphics+objects.h
@@ -0,0 +1,11 @@
+--- src/graphics/objects.h~ Sat Dec 29 23:56:49 2001
++++ src/graphics/objects.h Sun Jan 30 16:05:29 2005
+@@ -88,8 +88,6 @@
+ void SetModelView(void) const;
+ const obj_loc_data * GetLocData(void) const;
+
+- protected:
+-
+ obj_loc_data * GetLocDataRW(void) const;
+
+ public: