aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-02-25 18:56:03 +0800
committervs <vs@FreeBSD.org>2005-02-25 18:56:03 +0800
commitd80b81c946b6e713d7ac3463dfe6b0ee3302489f (patch)
tree13b4cbf5463f953dd5b58f2a075db57462931667
parent77587ab2540ccccca58f0999cc740633677be350 (diff)
downloadfreebsd-ports-gnome-d80b81c946b6e713d7ac3463dfe6b0ee3302489f.tar.gz
freebsd-ports-gnome-d80b81c946b6e713d7ac3463dfe6b0ee3302489f.tar.zst
freebsd-ports-gnome-d80b81c946b6e713d7ac3463dfe6b0ee3302489f.zip
Fix build-error on AMD
Submitted by: maintainer
-rw-r--r--lang/afnix/files/patch-cnf_mak_afnix-gcc-3.mak9
-rw-r--r--lang/afnix/files/patch-src_std_lib_Cons.cpp20
2 files changed, 9 insertions, 20 deletions
diff --git a/lang/afnix/files/patch-cnf_mak_afnix-gcc-3.mak b/lang/afnix/files/patch-cnf_mak_afnix-gcc-3.mak
index 59febb7c64b8..bc8fdbd82820 100644
--- a/lang/afnix/files/patch-cnf_mak_afnix-gcc-3.mak
+++ b/lang/afnix/files/patch-cnf_mak_afnix-gcc-3.mak
@@ -1,5 +1,14 @@
--- cnf/mak/afnix-gcc-3.mak.orig Wed Jan 12 06:05:00 2005
+++ cnf/mak/afnix-gcc-3.mak Wed Feb 16 19:18:04 2005
+@@ -22,7 +22,7 @@
+ LD = gcc
+ LK = gcc
+ AR = ar rc
+-STDCCFLAGS = -Wall -Werror -MMD -fno-builtin
++STDCCFLAGS = -Wall -MMD -fno-builtin
+ STACCFLAGS =
+ DYNCCFLAGS = -fPIC
+ PLTCCFLAGS =
@@ -43,7 +43,7 @@
# - compiler dependant libraries -
# ----------------------------------------------------------------------------
diff --git a/lang/afnix/files/patch-src_std_lib_Cons.cpp b/lang/afnix/files/patch-src_std_lib_Cons.cpp
deleted file mode 100644
index 9bdfa9f7f360..000000000000
--- a/lang/afnix/files/patch-src_std_lib_Cons.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/std/lib/Cons.cpp.orig Thu Feb 17 05:58:04 2005
-+++ src/std/lib/Cons.cpp Mon Feb 21 21:39:54 2005
-@@ -153,7 +153,7 @@
- }
- // try to serialize the car
- if (p_car == nilp) {
-- os.write (Serial::SERIAL_NILP_ID);
-+ os.write ((char)Serial::SERIAL_NILP_ID);
- } else {
- Serial* sobj = dynamic_cast <Serial*> (p_car);
- if (sobj == nilp) {
-@@ -165,7 +165,7 @@
- }
- // try to serialize the cdr
- if (p_cdr == nilp) {
-- os.write (Serial::SERIAL_NILP_ID);
-+ os.write ((char)Serial::SERIAL_NILP_ID);
- } else {
- Serial* sobj = dynamic_cast <Serial*> (p_cdr);
- if (sobj == nilp) {