Linmodems Mailing list Archives

Google
 
Web archives.linmodems.org

Return-Path: <dank@kegel.com>
Mailing-List: contact discuss-help@linmodems.org; run by ezmlm
Delivered-To: mailing list discuss@linmodems.org
Received: (qmail 30070 invoked from network); 7 Oct 2002 01:38:24 -0000
Received: from desk.crynwr.com (65.172.240.34)
  by www.linmodems.org with SMTP; 7 Oct 2002 01:38:24 -0000
Received: (qmail 15927 invoked by uid 501); 7 Oct 2002 01:38:23 -0000
Received: (qmail 3014 invoked from network); 6 Oct 2002 15:31:20 -0000
Received: from c-24-126-73-164.we.client2.attbi.com (HELO kegel.com) (24.126.73.164)
  by www.linmodems.org with SMTP; 6 Oct 2002 15:31:20 -0000
Received: (from dank@localhost)
	by kegel.com (8.11.6/8.11.6) id g96Ffl714454;
	Sun, 6 Oct 2002 08:41:47 -0700
Date: Sun, 6 Oct 2002 08:41:47 -0700
From: dank@kegel.com
Message-Id: <200210061541.g96Ffl714454@kegel.com>
To: discuss@linmodems.org, j.stifter@medres.ch
Subject: [PATCH] Fix for gcc3.2 problem in src/ptserial/Makefile.am
Cc: dank@kegel.com

Here's a fix for the compiler error "multiline string literals are deprecated".
It worked for me...
- Dan

--- pctel-0.9.4/src/ptserial/Makefile.am.orig	Sun Oct  6 08:37:38 2002
+++ pctel-0.9.4/src/ptserial/Makefile.am	Sun Oct  6 08:37:50 2002
@@ -2,7 +2,7 @@
 EXTRA_DIST      = ptserial-2.4.6.c ptserial-2.4.7.c
 
 BUILD_SYSTEM    = `uname -s -m -r -p`
-GCC_VERSION     = `gcc --version`
+GCC_VERSION     = `gcc --version | head -1`
 
 CFLAGS          = -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D$(HAL_TARGET) $(AUDIO_ROUTING) -DBUILD_SYSTEM=\""$(BUILD_SYSTEM)\"" -DGCC_VERSION=\""$(GCC_VERSION)\"" -I$(top_srcdir)/include -I$(KERNEL_INCLUDES) -include $(KERNEL_INCLUDES)/linux/modversions.h
 COMPILE         = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) @DEFS@ $(AM_CFLAGS)

Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003