changed debian/source/format to native

This commit is contained in:
Lu zhiping 2022-06-27 14:42:25 +08:00
parent 49a95f62af
commit 0fafc994f6
6 changed files with 1 additions and 15679 deletions

View File

@ -1,18 +0,0 @@
Description: Add AM_MAINTAINER_MODE to configure.in
Disable maintainer mode by default, as should be, to avoid having the
Makefiles try to run autotools during the build.
Author: Julien BLACHE <jblache@debian.org>
Index: libieee1284-0.2.11/configure.in
===================================================================
--- libieee1284-0.2.11.orig/configure.in 2010-05-06 11:24:03.000000000 +0200
+++ libieee1284-0.2.11/configure.in 2010-05-06 11:24:18.000000000 +0200
@@ -5,6 +5,8 @@
AC_PREREQ(2.53)
AM_CONFIG_HEADER(include/config.h)
+AM_MAINTAINER_MODE
+
dnl Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O

File diff suppressed because it is too large Load Diff

View File

@ -1,108 +0,0 @@
Description: Support for kFreeBSD-amd64
As it happens, /dev/io is not limited to -i386, so use it on -amd64 too.
Author: Aurelien Jarno <aurel32@debian.org>
Bug-Debian: http://bugs.debian.org/413176
Index: libieee1284-0.2.11/configure.in
===================================================================
--- libieee1284-0.2.11.orig/configure.in 2007-09-18 11:57:24.000000000 +0200
+++ libieee1284-0.2.11/configure.in 2010-05-06 11:24:03.000000000 +0200
@@ -30,8 +30,8 @@
AC_DEFINE(HAVE_OBSD_I386,1,enable OpenBSD i386 ioperm access)
LIBS="-li386"
;;
-*86-*-freebsd* | *86-*-kfreebsd*)
- AC_DEFINE(HAVE_FBSD_I386,1,enable FreeBSD /dev/io access)
+*86-*-freebsd* | *86-*-kfreebsd* | *x86_64-*-freebsd* | *x86_64-*-kfreebsd* )
+ AC_DEFINE(HAVE_FBSD,1,enable FreeBSD /dev/io access)
;;
*86-*-solaris*)
AC_DEFINE(HAVE_SOLARIS,1,enable solaris iop access)
Index: libieee1284-0.2.11/include/config.h.in
===================================================================
--- libieee1284-0.2.11.orig/include/config.h.in 2007-09-18 11:59:36.000000000 +0200
+++ libieee1284-0.2.11/include/config.h.in 2010-05-06 11:24:03.000000000 +0200
@@ -10,7 +10,7 @@
#undef HAVE_DLFCN_H
/* enable FreeBSD /dev/io access */
-#undef HAVE_FBSD_I386
+#undef HAVE_FBSD
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
Index: libieee1284-0.2.11/src/access_io.c
===================================================================
--- libieee1284-0.2.11.orig/src/access_io.c 2005-03-11 18:55:41.000000000 +0100
+++ libieee1284-0.2.11/src/access_io.c 2010-05-06 11:24:03.000000000 +0200
@@ -66,7 +66,7 @@
#include "io.h"
-#elif defined(HAVE_FBSD_I386)
+#elif defined(HAVE_FBSD)
/* don't use machine/cpufunc.h here because it redefines inb and outb as
macros, which breaks our port->fn->inb calls */
@@ -127,7 +127,7 @@
raw_inb (struct parport_internal *port, unsigned long addr)
{
#if (defined(HAVE_LINUX) && defined(HAVE_SYS_IO_H)) || defined(HAVE_CYGWIN_9X) \
- || defined(HAVE_OBSD_I386) || defined(HAVE_FBSD_I386)
+ || defined(HAVE_OBSD_I386) || defined(HAVE_FBSD)
return inb ((unsigned short)addr);
#elif defined(HAVE_SOLARIS)
@@ -146,7 +146,7 @@
raw_outb (struct parport_internal *port, unsigned char val, unsigned long addr)
{
#if (defined(HAVE_LINUX) && defined(HAVE_SYS_IO_H)) || defined(HAVE_CYGWIN_9X) \
- || defined(HAVE_OBSD_I386) || defined(HAVE_FBSD_I386)
+ || defined(HAVE_OBSD_I386) || defined(HAVE_FBSD)
#if defined(__i386__) || defined(__x86_64__) || defined(_MSC_VER)
outb_p (val, (unsigned short)addr);
#else
@@ -208,7 +208,7 @@
return E1284_SYS; /* might not be the best error code to use */
#endif /* HAVE_SYS_IO_H */
-#elif defined(HAVE_FBSD_I386)
+#elif defined(HAVE_FBSD)
/* open the special io device which does the ioperm change for us */
if ((port->fd = open("/dev/io", O_RDONLY)) < 0)
{
@@ -278,7 +278,7 @@
{
if (port->type != IO_CAPABLE && port->fd >= 0)
close (port->fd);
-#if defined(HAVE_FBSD_I386) || defined (HAVE_SOLARIS)
+#if defined(HAVE_FBSD) || defined (HAVE_SOLARIS)
if (port->fd >= 0)
close(port->fd);
#endif
Index: libieee1284-0.2.11/src/detect.c
===================================================================
--- libieee1284-0.2.11.orig/src/detect.c 2007-08-31 18:09:17.000000000 +0200
+++ libieee1284-0.2.11/src/detect.c 2010-05-06 11:24:03.000000000 +0200
@@ -161,7 +161,7 @@
return 1;
}
free(iomap);
- #elif defined(HAVE_FBSD_I386)
+ #elif defined(HAVE_FBSD)
int fd;
if ((fd = open("/dev/io", O_RDONLY)) >= 0) {
capabilities |= IO_CAPABLE;
Index: libieee1284-0.2.11/src/ports.c
===================================================================
--- libieee1284-0.2.11.orig/src/ports.c 2005-04-06 12:24:40.000000000 +0200
+++ libieee1284-0.2.11/src/ports.c 2010-05-06 11:24:03.000000000 +0200
@@ -352,7 +352,7 @@
add_port (list, flags, "0x378", "/dev/port", NULL, 0x378, 0, -1);
add_port (list, flags, "0x278", "/dev/port", NULL, 0x278, 0, -1);
add_port (list, flags, "0x3bc", "/dev/port", NULL, 0x3bc, 0, -1);
-#elif defined(HAVE_FBSD_I386)
+#elif defined(HAVE_FBSD)
add_port (list, flags, "0x378", "/dev/io", NULL, 0x378, 0, -1);
add_port (list, flags, "0x278", "/dev/io", NULL, 0x278, 0, -1);
add_port (list, flags, "0x3bc", "/dev/io", NULL, 0x3bc, 0, -1);

View File

@ -1,17 +0,0 @@
Description: Release port on close
Helps with the Python module when an object gets deleted.
Author: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Bug-Debian: http://bugs.debian.org/461068
Index: libieee1284-0.2.11/src/interface.c
===================================================================
--- libieee1284-0.2.11.orig/src/interface.c 2003-05-30 16:26:12.000000000 +0200
+++ libieee1284-0.2.11/src/interface.c 2010-05-06 11:24:12.000000000 +0200
@@ -62,6 +62,7 @@
debugprintf (needs_open_port, "ieee1284_close");
return E1284_INVALIDPORT;
}
+ ieee1284_release(port);
if (priv->fn->cleanup)
priv->fn->cleanup (priv);
priv->opened = 0;

View File

@ -1,5 +0,0 @@
kfreebsd-amd64.patch
release_on_close.patch
AM_MAINTAINER_MODE.patch
autotools_update.patch

View File

@ -1 +1 @@
3.0 (quilt)
3.0 (native)