diff options
author | wiz <wiz@pkgsrc.org> | 2017-11-16 13:57:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-11-16 13:57:19 +0000 |
commit | 6ee127c48be3d6b2089b847580cd2079262d22ea (patch) | |
tree | 5b4a835c36014166a28da998114fcc6240bd8537 /textproc | |
parent | defabb666d1fcf9a4f4cecf0b397390ca86ec098 (diff) | |
download | pkgsrc-6ee127c48be3d6b2089b847580cd2079262d22ea.tar.gz |
odt2tex: Honor LDFLAGS. Fixes RELRO build.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/odt2tex/distinfo | 3 | ||||
-rw-r--r-- | textproc/odt2tex/patches/patch-Makefile | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/textproc/odt2tex/distinfo b/textproc/odt2tex/distinfo index 478587b5b6b..b0875f9965d 100644 --- a/textproc/odt2tex/distinfo +++ b/textproc/odt2tex/distinfo @@ -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 --git a/textproc/odt2tex/patches/patch-Makefile b/textproc/odt2tex/patches/patch-Makefile new file mode 100644 index 00000000000..a6de662bb7b --- /dev/null +++ b/textproc/odt2tex/patches/patch-Makefile @@ -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 |