aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-25 18:00:21 +0800
committerobrien <obrien@FreeBSD.org>2001-05-25 18:00:21 +0800
commitfd759a389d9a2b88ba99083951b7cdd533559a03 (patch)
tree714799cffd3f79898941ef61775f529c3774b4a3 /devel
parent57852b649cde9023f2ee785b8b8cfa8272c49c60 (diff)
downloadfreebsd-ports-gnome-fd759a389d9a2b88ba99083951b7cdd533559a03.tar.gz
freebsd-ports-gnome-fd759a389d9a2b88ba99083951b7cdd533559a03.tar.zst
freebsd-ports-gnome-fd759a389d9a2b88ba99083951b7cdd533559a03.zip
If a user has set the EF_ALIGNMENT, EF_PROTECT_BELOW or EF_PROTECT_FREE
variables, this can cause the ElectricFence self test to fail. PR: 18259 Submitted by: Eoin Lawless <eoin@maths.tcd.ie>
Diffstat (limited to 'devel')
-rw-r--r--devel/ElectricFence/files/patch-aa23
1 files changed, 11 insertions, 12 deletions
diff --git a/devel/ElectricFence/files/patch-aa b/devel/ElectricFence/files/patch-aa
index f826b1455b09..67852389ffa1 100644
--- a/devel/ElectricFence/files/patch-aa
+++ b/devel/ElectricFence/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Sat Aug 26 18:29:55 2000
-+++ Makefile Sat Aug 26 18:31:42 2000
-@@ -1,8 +1,14 @@
+--- Makefile.orig Tue Apr 13 10:22:49 1999
++++ Makefile Fri May 25 02:57:38 2001
+@@ -1,6 +1,12 @@
PIC= -fPIC
-CFLAGS= -g -DUSE_SEMAPHORE $(PIC)
-LIBS= -lpthread
@@ -16,26 +16,25 @@
-prefix=/usr
+prefix=$(PREFIX)
BIN_INSTALL_DIR= $(prefix)/bin
- LIB_INSTALL_DIR= $(prefix)/lib
- MAN_INSTALL_DIR= $(prefix)/man/man3
-@@ -54,16 +60,16 @@
- $(AR) crv libefence.a $(OBJECTS)
-
+@@ -22,3 +28,3 @@
+ @ echo "After the last test, it should print that the test has PASSED."
+- ./eftest
++ EF_PROTECT_BELOW= && EF_PROTECT_FREE= && EF_ALIGNMENT= && ./eftest
+ ./tstheap 3072
+@@ -56,4 +62,4 @@
libefence.so.0.0: $(OBJECTS)
- gcc -g -shared -Wl,-soname,libefence.so.0 -o libefence.so.0.0 \
- $(OBJECTS) -lpthread -lc
+ $(CC) $(CFLAGS) -shared -Wl,-soname,libefence.so.0 -o libefence.so.0.0 \
+ $(OBJECTS) $(LIB_PTHREADS)
- tstheap: libefence.a tstheap.o
+@@ -61,3 +67,3 @@
- rm -f tstheap
- $(CC) $(CFLAGS) tstheap.o libefence.a -o tstheap $(LIBS)
+ $(CC) $(CFLAGS) tstheap.o libefence.a -o tstheap $(LIB_PTHREADS)
- eftest: libefence.a eftest.o
+@@ -65,3 +71,3 @@
- rm -f eftest
- $(CC) $(CFLAGS) eftest.o libefence.a -o eftest $(LIBS)
+ $(CC) $(CFLAGS) eftest.o libefence.a -o eftest $(LIB_PTHREADS)
- $(OBJECTS) tstheap.o eftest.o: efence.h
-