File: hardening.patch

package info (click to toggle)
seaview 1%3A5.0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,196 kB
  • sloc: cpp: 31,756; ansic: 14,113; xml: 184; makefile: 29; sh: 19
file content (17 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: propagate CPPFLAGS for hardening.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2025-04-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- seaview.orig/Makefile
+++ seaview/Makefile
@@ -49,7 +49,7 @@
 	$(CXX) -c $(SVFLAGS) FL/Fl_SVG_Image.cxx
 
 $(COBJECTS) : $(CSRC)/$<
-	$(CC) -c $(DEBUG) $(OPT) $(CFLAGS) -Dunix -I$(CSRC) $(CSRC)/$*.c
+	$(CC) -c $(CPPFLAGS) $(DEBUG) $(OPT) $(CFLAGS) -Dunix -I$(CSRC) $(CSRC)/$*.c
 
 
 .SUFFIXES:	.c .cxx .h .o