aboutsummaryrefslogtreecommitdiffstats
path: root/comms/libticables/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-14 22:26:53 +0800
committerpav <pav@FreeBSD.org>2004-05-14 22:26:53 +0800
commitc9adcd76e5809f3a47aa7d67be8716898aa46a8a (patch)
tree8d1438d372c57592551530c11f6a1366e816b011 /comms/libticables/files
parent8d1c90d4b37084ac21754055967f67ededa0a9ed (diff)
downloadfreebsd-ports-gnome-c9adcd76e5809f3a47aa7d67be8716898aa46a8a.tar.gz
freebsd-ports-gnome-c9adcd76e5809f3a47aa7d67be8716898aa46a8a.tar.zst
freebsd-ports-gnome-c9adcd76e5809f3a47aa7d67be8716898aa46a8a.zip
- Fix build on sparc64 (don't include header files for i386 specific functions
outside of i386) [1] - While here, convert pkgconfig dependency to USE_GNOME PR: ports/66572 [1] Submitted by: Tijl Coosemans <tijl@ulyssis.org> (maintainer)
Diffstat (limited to 'comms/libticables/files')
-rw-r--r--comms/libticables/files/patch-src-ioports.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/comms/libticables/files/patch-src-ioports.c b/comms/libticables/files/patch-src-ioports.c
index a25fa162ec6f..5208e4a33c8e 100644
--- a/comms/libticables/files/patch-src-ioports.c
+++ b/comms/libticables/files/patch-src-ioports.c
@@ -1,5 +1,14 @@
---- src/ioports.c.orig Mon Nov 17 19:15:57 2003
-+++ src/ioports.c Mon Nov 17 19:39:35 2003
+--- src/ioports.c.orig Wed Aug 27 11:34:39 2003
++++ src/ioports.c Wed May 12 17:56:00 2004
+@@ -41,7 +41,7 @@
+ #if defined(__I386__) && defined(HAVE_ASM_IO_H) && defined(HAVE_SYS_PERM_H)
+ # include <sys/perm.h>
+ # include <asm/io.h>
+-#elif defined(__BSD__)
++#elif defined(__BSD__) && defined(__I386__)
+ # include <machine/sysarch.h>
+ # include <machine/cpufunc.h>
+ #elif defined(__WIN32__)
@@ -107,7 +107,7 @@
}
#endif /* 0 */ /* __MACOSX__ */