FreeBSD Bugzilla – Attachment 54453 Details for
Bug 82407
[update] comms/tilp comms/libticables devel/libticalcs devel/libtifiles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
libticables.update
libticables.update (text/plain), 7.88 KB, created by
Tijl Coosemans
on 2005-06-19 10:20:22 UTC
(
hide
)
Description:
libticables.update
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2005-06-19 10:20:22 UTC
Size:
7.88 KB
patch
obsolete
>diff -urN libticables.orig/Makefile libticables/Makefile >--- libticables.orig/Makefile Mon May 30 15:39:07 2005 >+++ libticables/Makefile Mon May 30 15:41:19 2005 >@@ -6,8 +6,7 @@ > # > > PORTNAME= libticables >-PORTVERSION= 3.7.7 >-PORTREVISION= 2 >+PORTVERSION= 3.9.2 > CATEGORIES= comms > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= tilp >@@ -19,14 +18,9 @@ > > GNU_CONFIGURE= yes > USE_GETTEXT= yes >-USE_GNOME= pkgconfig >-USE_LIBTOOL_VER= 13 >+USE_GNOME= gnomehack pkgconfig >+USE_LIBTOOL_VER= 15 > USE_GMAKE= yes > INSTALLS_SHLIB= yes >- >-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"\ >- LDFLAGS="-L${LOCALBASE}/lib" >- >-MAN1= ticables-config.1 > > .include <bsd.port.mk> >diff -urN libticables.orig/distinfo libticables/distinfo >--- libticables.orig/distinfo Mon May 30 15:39:07 2005 >+++ libticables/distinfo Mon May 30 12:35:50 2005 >@@ -1,2 +1,2 @@ >-MD5 (libticables-3.7.7.tar.gz) = d47c54228fb883a3cf1d5f779a926471 >-SIZE (libticables-3.7.7.tar.gz) = 548323 >+MD5 (libticables-3.9.2.tar.gz) = 354675bfbd881082a9447efde9935226 >+SIZE (libticables-3.9.2.tar.gz) = 575639 >diff -urN libticables.orig/files/patch-configure libticables/files/patch-configure >--- libticables.orig/files/patch-configure Mon May 30 15:39:07 2005 >+++ libticables/files/patch-configure Thu Jan 1 01:00:00 1970 >@@ -1,36 +0,0 @@ >---- configure.orig Wed Aug 27 12:17:39 2003 >-+++ configure Tue Mar 23 16:08:32 2004 >-@@ -1934,6 +1934,7 @@ >- ACLOCALDIR=`aclocal --print-ac-dir` >- >- fi >-+ACLOCALDIR="" >- >- >- if test x$ACLOCALDIR != x ; then >-@@ -6257,7 +6258,8 @@ >- >- # detect system type >- case "$host" in >--# alpha-*-*bsd*) ARCH="-D__FBSD__" ;; >-+ i386-*-*bsd*) ARCH="-D__BSD__ -D__I386__" ;; >-+ *-*-*bsd*) ARCH="-D__BSD__" ;; >- alpha*-*-linux-*) ARCH="-D__ALPHA__ -D__LINUX__" ;; >- alpha*-*-*-*) ARCH="-D__ALPHA__ -D__LINUX__" ;; >- arm*-*-linux-*) ARCH="-D__ARM__ -D__LINUX__" ;; >-@@ -6266,7 +6268,6 @@ >- i[3456]86-*-hurd-*) ARCH="-D__LINUX__" ;; >- i[3456]86-*-mingw*) ARCH="-D__WIN32__ -D__MINGW32__ -Os -s" ;; >- i[3456]86-*-cygwin) ARCH="-D__WIN32__ -D__CYGWIN__ -mno-cygwin" ;; >-- i[3456]86-*-*bsd*) ARCH="-D__BSD__" ;; >- ia64-*-linux-*) ARCH="-D__LINUX__" ;; >- m68k-*-linux-*) ARCH="-D__M68K__ -D__LINUX__" ;; >- mips-*-linux-*) ARCH="-D__MIPS__ -D__LINUX__" ;; >-@@ -24767,6 +24768,7 @@ >- >- >- >-+LDFLAGS="$LDFLAGS $INTLLIBS" >- >- >- >diff -urN libticables.orig/files/patch-src-bsd-bsd_mapping.c libticables/files/patch-src-bsd-bsd_mapping.c >--- libticables.orig/files/patch-src-bsd-bsd_mapping.c Thu Jan 1 01:00:00 1970 >+++ libticables/files/patch-src-bsd-bsd_mapping.c Mon May 30 14:13:27 2005 >@@ -0,0 +1,50 @@ >+--- src/bsd/bsd_mapping.c.orig Mon May 30 14:01:58 2005 >++++ src/bsd/bsd_mapping.c Mon May 30 14:09:38 2005 >+@@ -74,9 +74,7 @@ >+ break; >+ >+ case LINK_AVR: >+- if(resources & IO_API) { >+- *method |= IOM_API | IOM_OK; >+- } >++ printl1(2, "AVR link support has been removed !\n"); >+ break; >+ >+ case LINK_SER: >+@@ -114,6 +112,7 @@ >+ >+ case LINK_TIE: >+ case LINK_VTI: >++ case LINK_VTL: >+ *method |= IOM_API | IOM_OK; >+ break; >+ >+@@ -212,7 +211,10 @@ >+ ret = bsd_map_io((TicableMethod)method, port); >+ if(ret) >+ return ret; >+- >++ >++ // set fields to default values >++ nul_register_cable(lc); >++ >+ // set the link cable >+ printl1(0, _("registering cable...\n")); >+ switch (type) { >+@@ -242,16 +244,6 @@ >+ ser_register_cable_1(lc); >+ else if(method & IOM_IOCTL) >+ ser_register_cable_2(lc); >+- break; >+- >+- case LINK_AVR: >+- if ((port != SERIAL_PORT_1) && >+- (port != SERIAL_PORT_2) && >+- (port != SERIAL_PORT_3) && >+- (port != SERIAL_PORT_4) && (port != USER_PORT)) >+- return ERR_INVALID_PORT; >+- >+- avr_register_cable(lc); >+ break; >+ >+ case LINK_VTL: >diff -urN libticables.orig/files/patch-src-intrface.c libticables/files/patch-src-intrface.c >--- libticables.orig/files/patch-src-intrface.c Mon May 30 15:39:07 2005 >+++ libticables/files/patch-src-intrface.c Thu Jan 1 01:00:00 1970 >@@ -1,10 +0,0 @@ >---- src/intrface.c.orig Sat Sep 13 18:45:17 2003 >-+++ src/intrface.c Sat Sep 13 19:56:41 2003 >-@@ -722,6 +722,7 @@ >- /*********************/ >- >- extern const char *search_for_tipar_node(int minor); >-+extern const char *search_for_tiser_node(int minor); >- >- static int convert_port_into_device(void) >- { >diff -urN libticables.orig/files/patch-src-ioports.c libticables/files/patch-src-ioports.c >--- libticables.orig/files/patch-src-ioports.c Mon May 30 15:39:07 2005 >+++ libticables/files/patch-src-ioports.c Thu Jan 1 01:00:00 1970 >@@ -1,38 +0,0 @@ >---- 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__ */ >- >--#if defined(__I386__) && defined(HAVE_ASM_IO_H) && defined(HAVE_SYS_PERM_H) || defined(__ALPHA__) || defined(__BSD__) >-+#if defined(__I386__) && defined(HAVE_ASM_IO_H) && defined(HAVE_SYS_PERM_H) || defined(__ALPHA__) || (defined(__BSD__) && defined(__I386__)) >- static int linux_asm_read_io(unsigned int addr) >- { >- return inb(addr); >-@@ -208,7 +208,7 @@ >- { >- #if defined(__I386__) && defined(HAVE_ASM_IO_H) && defined(HAVE_SYS_PERM_H) || defined(__ALPHA__) || defined(__BSD__) || defined(__MACOSX__) >- >--#ifndef __MACOSX__ >-+#if !(defined(__MACOSX__) || (defined(__BSD__) && !defined(__I386__))) >- if (method & IOM_ASM) { >- io_rd = linux_asm_read_io; >- io_wr = linux_asm_write_io; >-@@ -417,7 +417,7 @@ >- int io_close(unsigned long from, unsigned long num) >- { >- #if defined(__I386__) && defined(HAVE_ASM_IO_H) && defined(HAVE_SYS_PERM_H) || defined(__ALPHA__) || defined(__BSD__) || defined(__MACOSX__) >--#ifndef __MACOSX__ >-+#if !(defined(__MACOSX__) || (defined(__BSD__) && !defined(__I386__))) >- if (method & IOM_ASM) >- #ifndef __BSD__ >- return (ioperm(from, num, 0) ? ERR_ROOT : 0); >diff -urN libticables.orig/files/patch-src-linux-slv_link2.c libticables/files/patch-src-linux-slv_link2.c >--- libticables.orig/files/patch-src-linux-slv_link2.c Thu Jan 1 01:00:00 1970 >+++ libticables/files/patch-src-linux-slv_link2.c Mon May 30 15:32:43 2005 >@@ -0,0 +1,11 @@ >+--- src/linux/slv_link2.c.orig Sun Sep 26 13:11:20 2004 >++++ src/linux/slv_link2.c Mon May 30 15:27:12 2005 >+@@ -111,7 +111,7 @@ >+ {} >+ }; >+ >+-//static int max_ps = 32; // max packet size (32 ot 64) >++static int max_ps = 32; // max packet size (32 ot 64) >+ >+ static int nBytesWrite2 = 0; >+ static uint8_t *wBuf2 = NULL; >diff -urN libticables.orig/files/patch-src-slv_link.c libticables/files/patch-src-slv_link.c >--- libticables.orig/files/patch-src-slv_link.c Mon May 30 15:39:07 2005 >+++ libticables/files/patch-src-slv_link.c Thu Jan 1 01:00:00 1970 >@@ -1,18 +0,0 @@ >---- src/slv_link.c.orig Wed Aug 27 11:34:38 2003 >-+++ src/slv_link.c Tue Mar 23 16:09:02 2004 >-@@ -1423,6 +1423,7 @@ >- MAX_PACKET_SIZE, (time_out * 10)); >- */ >- >-+#ifndef __BSD__ >- /* Reset endpoints */ >- ret = usb_clear_halt(tigl_han, TIGL_BULK_OUT); >- if (ret < 0) { >-@@ -1455,6 +1456,7 @@ >- } >- } >- } >-+#endif >- >- /* Reset buffers */ >- nBytesRead = 0; >diff -urN libticables.orig/pkg-plist libticables/pkg-plist >--- libticables.orig/pkg-plist Mon May 30 15:39:07 2005 >+++ libticables/pkg-plist Mon May 30 14:17:08 2005 >@@ -1,16 +1,13 @@ >-bin/ticables-config > include/tilp/cabl_def.h > include/tilp/cabl_err.h > include/tilp/cabl_int.h > include/tilp/cabl_ver.h > include/tilp/export.h >-include/tilp/intl.h > include/tilp/ticables.h > include/tilp/timeout.h > lib/libticables.a >-lib/libticables.la > lib/libticables.so >-lib/libticables.so.10 >+lib/libticables.so.12 > libdata/pkgconfig/ticables.pc > share/locale/fr/LC_MESSAGES/libticables.mo > @unexec rmdir %D/include/tilp 2>/dev/null || true
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 82407
:
54452
| 54453 |
54454