Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (45cd8d4190d1a48ded6ae761cd2acb8794b8be94)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (45cd8d4190d1a48ded6ae761cd2acb8794b8be94)
  • Date: Sat, 7 Feb 2009 00:38:22 -0600

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

printer/cups/HISTORY | 6 ++++++
printer/cups/PRE_BUILD | 3 +++
printer/cups/serial.patch | 11 +++++++++++
3 files changed, 20 insertions(+)

New commits:
commit 45cd8d4190d1a48ded6ae761cd2acb8794b8be94
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

cups: Include linux/types.h before linux/serial.h
Based on Julien's hal/probe-serial.patch
Fixes Bug#15065

diff --git a/printer/cups/HISTORY b/printer/cups/HISTORY
index 64f67fa..51ba3c0 100644
--- a/printer/cups/HISTORY
+++ b/printer/cups/HISTORY
@@ -1,3 +1,9 @@
+2009-02-06 Eric Sandall <sandalle AT sourcemage.org>
+ * serial.patch: Include linux/types.h before linux/serial.h
+ Based on Julien's hal/probe-serial.patch
+ Fixes Bug#15065
+ * PRE_BUILD: Apply serial.patch
+
2008-12-16 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 1.4b2 (devel)

diff --git a/printer/cups/PRE_BUILD b/printer/cups/PRE_BUILD
new file mode 100755
index 0000000..e04d108
--- /dev/null
+++ b/printer/cups/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/serial.patch
diff --git a/printer/cups/serial.patch b/printer/cups/serial.patch
new file mode 100644
index 0000000..6ca948f
--- /dev/null
+++ b/printer/cups/serial.patch
@@ -0,0 +1,11 @@
+diff -Naur cups-1.3.9.orig/backend/serial.c cups-1.3.9/backend/serial.c
+--- cups-1.3.9.orig/backend/serial.c 2009-02-06 22:33:09.226962859 -0800
++++ cups-1.3.9/backend/serial.c 2009-02-06 22:33:35.356190020 -0800
+@@ -74,6 +74,7 @@
+ #endif /* __APPLE__ */
+
+ #if defined(__linux) && defined(TIOCGSERIAL)
++# include <linux/types.h>
+ # include <linux/serial.h>
+ # include <linux/ioctl.h>
+ #endif /* __linux && TIOCGSERIAL */



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (45cd8d4190d1a48ded6ae761cd2acb8794b8be94), Eric Sandall, 02/07/2009

Archive powered by MHonArc 2.6.24.

Top of Page