File: 02_add_largefile_support.patch

package info (click to toggle)
nasty 0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 100 kB
  • sloc: ansic: 418; makefile: 60
file content (22 lines) | stat: -rw-r--r-- 711 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
Description: support large files in order to avoid problems in chroot builds
Author: Tiago Bortoletto Vaz <tiago@debian.org>
Last-Update: 2009-09-28

Description: change LDFLAGS in upstream Makefile to support GCC hardening.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2015-07-12
Index: nasty-0.6/Makefile
===================================================================
--- nasty-0.6.orig/Makefile
+++ nasty-0.6/Makefile
@@ -1,8 +1,8 @@
 VERSION=0.6
 
 DEBUG=-g # -pg
-CFLAGS+=-Wall -O2 -DVERSION=\"${VERSION}\" $(DEBUG)
-LDFLAGS=-lgpgme $(DEBUG)
+CFLAGS+=-Wall -O2 -DVERSION=\"${VERSION}\" $(DEBUG) -D_FILE_OFFSET_BITS=64
+LDFLAGS+=-lgpgme $(DEBUG)
 BINDIR=/usr/bin
 
 OBJS=nasty.o