File: 0003-Add-ioption-to-local-include-paths-so-they-do-not-co.patch

package info (click to toggle)
ircii 20240918-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,564 kB
  • sloc: ansic: 41,234; makefile: 853; sh: 524; perl: 348
file content (26 lines) | stat: -rw-r--r-- 913 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From f1b1da7a06be36f24044ca546aa95a4278030ac7 Mon Sep 17 00:00:00 2001
From: Tobias Klauser <tklauser@distanz.ch>
Date: Sat, 12 Jan 2008 22:30:02 +0100
Subject: Add -ioption to local include paths so they do not cover the system
 headers with the same name. This fixes errors/warnings about implicitly
 converted pointers.

Bug-Debian: http://bugs.debian.org/393547, http://bugs.debian.orG/460342
---
 Makefile.in |    2 +-
 source/sl.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: ircii-20240918/Makefile.in
===================================================================
--- ircii-20240918.orig/Makefile.in
+++ ircii-20240918/Makefile.in
@@ -311,7 +311,7 @@ WSERV_SOURCES = wserv.c wterm.c
 IRCFLUSH_SOURCES = ircflush.c
 IRCFLUSH_OBJECTS = ircflush.o ircsig.o
 
-INCLUDES = -I. -I$(incdir)
+INCLUDES = -iquote . -iquote $(incdir)
 
 .c.o:
 	$(CC) $(INCLUDES) $(CFLAGS) $(DEFS) -c $<