tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

converters/qkc RELRO build fix



Hi,

converters/qkc does not accept LDFLAGS and RELRO check fails.

Can I fix this issue during freeze?

A patch is here.

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/converters/qkc/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	15 Dec 2017 15:44:12 -0000	1.5
+++ distinfo	23 Dec 2017 07:01:28 -0000
@@ -4,4 +4,4 @@
 RMD160 (qkcc100.zip) = 7293482e4f37b3292785a2b32b045f82b4dd3e1f
 SHA512 (qkcc100.zip) = a03f12625c1205d1220c70e2c3bd8f4ef281a3f0f6317ad7a0221624ba6461a7f9fbbb1da68048fc2bb3b071895dfb13aaa630e780fd49eddb0b6c528ce2e4a0
 Size (qkcc100.zip) = 36308 bytes
-SHA1 (patch-aa) = 2650fe2b9f4c7d8e9c81bb6b697a33183e24339a
+SHA1 (patch-aa) = 7d41a252b8f749757261b668f713b59559c8e84b
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/converters/qkc/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patches/patch-aa	15 Dec 2017 15:44:12 -0000	1.2
+++ patches/patch-aa	23 Dec 2017 07:01:28 -0000
@@ -2,16 +2,18 @@
 
 Use pkgsrc variables.
 
---- Makefile.orig	1995-10-01 00:00:00.000000000 +0000
+--- Makefile.orig	1995-09-30 15:00:00.000000000 +0000
 +++ Makefile
-@@ -1,8 +1,8 @@
+@@ -1,9 +1,9 @@
  # Makefile for qkc
  
 -CC     = cc
 +#CC     = cc
  BIND   = $(CC)
 -CFLAGS = -O
+-LFLAGS = -o qkc $(CFLAGS)
 +#CFLAGS = -O
- LFLAGS = -o qkc $(CFLAGS)
++LFLAGS = -o qkc $(CFLAGS) ${LDFLAGS}
  OBJ    = qkc.o qkcopt.o qkchelp.o qkcconv.o qkctbl.o
  
+ .c.o:

--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index