aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2007-07-05 16:17:06 +0000
committerDiane Bruce <db@FreeBSD.org>2007-07-05 16:17:06 +0000
commitf533c30faf19abe304c0620566cc3e0baf57c14b (patch)
treec7c23d80e79b0152557b4a02578bbf480bf40896 /comms
parent496476f884095e5314255bdf3efba23119c76ec0 (diff)
downloadports-f533c30faf19abe304c0620566cc3e0baf57c14b.tar.gz
ports-f533c30faf19abe304c0620566cc3e0baf57c14b.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/libfec/Makefile1
-rw-r--r--comms/libfec/files/patch-fec.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/comms/libfec/Makefile b/comms/libfec/Makefile
index 7b9e553540ab..6fae412280fe 100644
--- a/comms/libfec/Makefile
+++ b/comms/libfec/Makefile
@@ -6,6 +6,7 @@
PORTNAME= libfec
PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= comms astro hamradio math
MASTER_SITES= http://www.ka9q.net/code/fec/ \
${MASTER_SITE_LOCAL}
diff --git a/comms/libfec/files/patch-fec.h b/comms/libfec/files/patch-fec.h
new file mode 100644
index 000000000000..831d3ca1ff3b
--- /dev/null
+++ b/comms/libfec/files/patch-fec.h
@@ -0,0 +1,11 @@
+--- fec.h.orig 2007-07-02 13:26:12.000000000 -0400
++++ fec.h 2007-07-02 13:38:26.000000000 -0400
+@@ -262,7 +262,7 @@
+ void find_cpu_mode(void); /* Call this once at startup to set Cpu_mode */
+
+ /* Determine parity of argument: 1 = odd, 0 = even */
+-#ifdef __i386__
++#ifdef notyet__i386__
+ static inline int parityb(unsigned char x){
+ __asm__ __volatile__ ("test %1,%1;setpo %0" : "=g"(x) : "r" (x));
+ return x;