aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-07 08:32:47 +0800
committerkris <kris@FreeBSD.org>2002-09-07 08:32:47 +0800
commit51f58e1ffc39119bc5e5b6d74b44f31a76787390 (patch)
treeab09c3ae129ef26ffff4d373d504e4a9ca9a4fe6
parentc3a10aa7062e747351b7c2ed25ce8b8a1488345b (diff)
downloadfreebsd-ports-gnome-51f58e1ffc39119bc5e5b6d74b44f31a76787390.tar.gz
freebsd-ports-gnome-51f58e1ffc39119bc5e5b6d74b44f31a76787390.tar.zst
freebsd-ports-gnome-51f58e1ffc39119bc5e5b6d74b44f31a76787390.zip
Fix build on -current (remove duplicate declarations of things in system
headers)
-rw-r--r--editors/emacs/files/patch-bb11
-rw-r--r--editors/emacs19/files/patch-bb11
-rw-r--r--editors/emacs22/files/patch-bb11
-rw-r--r--editors/emacs23/files/patch-bb11
4 files changed, 44 insertions, 0 deletions
diff --git a/editors/emacs/files/patch-bb b/editors/emacs/files/patch-bb
new file mode 100644
index 000000000000..1d6fcf08137e
--- /dev/null
+++ b/editors/emacs/files/patch-bb
@@ -0,0 +1,11 @@
+--- src/emacs.c.orig Fri Sep 6 17:15:38 2002
++++ src/emacs.c Fri Sep 6 17:16:33 2002
+@@ -427,8 +427,6 @@
+ {
+ char stack_bottom_variable;
+ int skip_args = 0;
+- extern int errno;
+- extern sys_nerr;
+
+ #ifdef LINUX_SBRK_BUG
+ __sbrk (1);
diff --git a/editors/emacs19/files/patch-bb b/editors/emacs19/files/patch-bb
new file mode 100644
index 000000000000..1d6fcf08137e
--- /dev/null
+++ b/editors/emacs19/files/patch-bb
@@ -0,0 +1,11 @@
+--- src/emacs.c.orig Fri Sep 6 17:15:38 2002
++++ src/emacs.c Fri Sep 6 17:16:33 2002
+@@ -427,8 +427,6 @@
+ {
+ char stack_bottom_variable;
+ int skip_args = 0;
+- extern int errno;
+- extern sys_nerr;
+
+ #ifdef LINUX_SBRK_BUG
+ __sbrk (1);
diff --git a/editors/emacs22/files/patch-bb b/editors/emacs22/files/patch-bb
new file mode 100644
index 000000000000..1d6fcf08137e
--- /dev/null
+++ b/editors/emacs22/files/patch-bb
@@ -0,0 +1,11 @@
+--- src/emacs.c.orig Fri Sep 6 17:15:38 2002
++++ src/emacs.c Fri Sep 6 17:16:33 2002
+@@ -427,8 +427,6 @@
+ {
+ char stack_bottom_variable;
+ int skip_args = 0;
+- extern int errno;
+- extern sys_nerr;
+
+ #ifdef LINUX_SBRK_BUG
+ __sbrk (1);
diff --git a/editors/emacs23/files/patch-bb b/editors/emacs23/files/patch-bb
new file mode 100644
index 000000000000..1d6fcf08137e
--- /dev/null
+++ b/editors/emacs23/files/patch-bb
@@ -0,0 +1,11 @@
+--- src/emacs.c.orig Fri Sep 6 17:15:38 2002
++++ src/emacs.c Fri Sep 6 17:16:33 2002
+@@ -427,8 +427,6 @@
+ {
+ char stack_bottom_variable;
+ int skip_args = 0;
+- extern int errno;
+- extern sys_nerr;
+
+ #ifdef LINUX_SBRK_BUG
+ __sbrk (1);