aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2003-12-29 18:50:42 +0800
committerdd <dd@FreeBSD.org>2003-12-29 18:50:42 +0800
commit02b319780520149081dae16286eabff20267f719 (patch)
tree744c38d17c8f01f284838d104cc30edad1a6c8e5
parent7298d8973a5d17b5631d214278412cbb78c78ed1 (diff)
downloadfreebsd-ports-gnome-02b319780520149081dae16286eabff20267f719.tar.gz
freebsd-ports-gnome-02b319780520149081dae16286eabff20267f719.tar.zst
freebsd-ports-gnome-02b319780520149081dae16286eabff20267f719.zip
From the submitter:
[This] port does not build on 5.X systems due to its type request for a short gid_t, depreciated in all thinkable ways. PR: 60684 Submitted by: Samy Al Bahra <samy@kerneled.com>
-rw-r--r--editors/mg/Makefile4
-rw-r--r--editors/mg/files/patch-sysdef.h9
2 files changed, 9 insertions, 4 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile
index a8b168550949..c02c5d92f963 100644
--- a/editors/mg/Makefile
+++ b/editors/mg/Makefile
@@ -41,10 +41,6 @@ do-install:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
#
# Ports build/install stuff stops here. Tarball creation stuff begins here.
#
diff --git a/editors/mg/files/patch-sysdef.h b/editors/mg/files/patch-sysdef.h
new file mode 100644
index 000000000000..254fc87aefa3
--- /dev/null
+++ b/editors/mg/files/patch-sysdef.h
@@ -0,0 +1,9 @@
+--- sysdef.h.orig Mon Dec 29 11:37:41 2003
++++ sysdef.h Mon Dec 29 11:38:00 2003
+@@ -23,5 +23,5 @@
+ struct fileinfo {
+ mode_t fi_mode;
+ uid_t fi_uid;
+- gid_t short fi_gid;
++ gid_t fi_gid;
+ };