pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/odt2tex odt2tex: Honor LDFLAGS. Fixes RELRO b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b4ec7975132
branches:  trunk
changeset: 371656:6b4ec7975132
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Nov 16 13:57:19 2017 +0000

description:
odt2tex: Honor LDFLAGS. Fixes RELRO build.

diffstat:

 textproc/odt2tex/distinfo               |   3 ++-
 textproc/odt2tex/patches/patch-Makefile |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 0805a6ec6b42 -r 6b4ec7975132 textproc/odt2tex/distinfo
--- a/textproc/odt2tex/distinfo Thu Nov 16 12:51:18 2017 +0000
+++ b/textproc/odt2tex/distinfo Thu Nov 16 13:57:19 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2016/07/28 10:26:33 wiz Exp $
+$NetBSD: distinfo,v 1.3 2017/11/16 13:57:19 wiz Exp $
 
 SHA1 (odt2tex-0.0.13.tar.gz) = 48dc092f2b432d897596f9dc6f9237d21fe858b0
 RMD160 (odt2tex-0.0.13.tar.gz) = 4c61da9cfe4ac24e19a090606276da05f989c58b
 SHA512 (odt2tex-0.0.13.tar.gz) = 1b48cdf65a15698433145808751490e8b9fbcb321affce60d736a951f37e328d2a43efd297ff89aacd7e52797db07ea9ac25b26e42170bf87b5f5e9a3c6e0381
 Size (odt2tex-0.0.13.tar.gz) = 1018966 bytes
+SHA1 (patch-Makefile) = 83bbf649a7e0027260cf7b576bdf57136e46f67d
diff -r 0805a6ec6b42 -r 6b4ec7975132 textproc/odt2tex/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/odt2tex/patches/patch-Makefile   Thu Nov 16 13:57:19 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.3 2017/11/16 13:57:19 wiz Exp $
+
+Use LDFLAGS to fix RELRO build.
+
+--- Makefile.orig      2016-07-27 23:06:30.000000000 +0000
++++ Makefile
+@@ -6,7 +6,7 @@ rm = rm
+ inc = inc
+ optimize = -O2
+ flags = -pipe -Wall $(optimize)
+-libs = -lexpat `pkg-config --libs libzip`
++libs = -lexpat `pkg-config --libs libzip` $(LDFLAGS)
+ strip = -s
+ 
+ # Objects for Main Binary



Home | Main Index | Thread Index | Old Index