Your message dated Thu, 3 Jan 2019 21:23:37 +0000 (UTC)
with message-id <[email protected]>
and subject line Re: bug#670081
has caused the Debian Bug report #670081,
regarding emacs: diff-mode mangles patches?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
670081: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670081
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.16.2
Severity: normal

This is strange message:

    dpkg-source: error: expected [ +-] at start of line 14 of diff
    `bcrypt.git/debian/patches/20-makefile.patch'

Both quilt and plain "patch -p1" accept the file as is without any
messages. Files below.

DEFAULTS = Makefile includes.h blowfish.h functions.h config.h
CC = gcc
CFLAGS = -O2 -Wall 
COMPILE = ${CC} ${CFLAGS}
OBJS = main.o blowfish.o rwfile.o keys.o wrapbf.o endian.o wrapzl.o
LDFLAGS = -L/usr/local/lib -lz 
PREFIX = /usr/local

bcrypt: ${OBJS} Makefile
        ${COMPILE} -o bcrypt ${OBJS} ${LDFLAGS}

install:        bcrypt Makefile
        mkdir -p ${PREFIX}/bin;\
        mkdir -p ${PREFIX}/man/man1;\
        cp bcrypt ${PREFIX}/bin;\
        cp bcrypt.1 ${PREFIX}/man/man1;\
        chmod 755 ${PREFIX}/bin/bcrypt;\
        chmod 644 ${PREFIX}/man/man1/bcrypt.1

main.o: main.c ${DEFAULTS}
        ${COMPILE} -c main.c

blowfish.o:     blowfish.c ${DEFAULTS}
        ${COMPILE} -c blowfish.c

rwfile.o:       rwfile.c ${DEFAULTS}
        ${COMPILE} -c rwfile.c

keys.o: keys.c ${DEFAULTS}
        ${COMPILE} -c keys.c

wrapbf.o:       wrapbf.c ${DEFAULTS}
        ${COMPILE} -c wrapbf.c

wrapzl.o:       wrapzl.c ${DEFAULTS}
        ${COMPILE} -c wrapzl.c

endian.o:       endian.c ${DEFAULTS}
        ${COMPILE} -c endian.c

clean:
        rm -rf *.o bcrypt bcrypt.core core bcrypt.tgz 

From: Unknown
Subject: Use DESTDIR and other install fixes for Makefile

--- a/Makefile
+++ b/Makefile
@@ -4,18 +4,18 @@ CFLAGS = -O2 -Wall
 COMPILE = ${CC} ${CFLAGS}
 OBJS = main.o blowfish.o rwfile.o keys.o wrapbf.o endian.o wrapzl.o
 LDFLAGS = -L/usr/local/lib -lz 
-PREFIX = /usr/local
+PREFIX = ${DESTDIR}/usr/
 
 bcrypt:	${OBJS} Makefile
	${COMPILE} -o bcrypt ${OBJS} ${LDFLAGS}
 
 install:	bcrypt Makefile
	mkdir -p ${PREFIX}/bin;\
-	mkdir -p ${PREFIX}/man/man1;\
+	mkdir -p ${PREFIX}/share/man/man1;\
	cp bcrypt ${PREFIX}/bin;\
-	cp bcrypt.1 ${PREFIX}/man/man1;\
+	cp bcrypt.1 ${PREFIX}/share/man/man1;\
	chmod 755 ${PREFIX}/bin/bcrypt;\
-	chmod 644 ${PREFIX}/man/man1/bcrypt.1
+	chmod 644 ${PREFIX}/share/man/man1/bcrypt.1
 
 main.o:	main.c ${DEFAULTS}
	${COMPILE} -c main.c
@@ -38,6 +38,8 @@ wrapzl.o:	wrapzl.c ${DEFAULTS}
 endian.o:	endian.c ${DEFAULTS}
	${COMPILE} -c endian.c
 
+distclean: clean
+	
 clean:
	rm -rf *.o bcrypt bcrypt.core core bcrypt.tgz 
 

--- End Message ---
--- Begin Message ---
I cannot reproduce this issue, from Emacs version 22.3 to 26.1.
So I am taking the liberty of closing this 6+ year old report.
If it is still an issue with Emacs 26, I suggest opening a new report with 
upstream.

--- End Message ---

Reply via email to