pkgsrc-WIP-changes archive

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

halfempty: fix RELRO build



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue Jan 5 08:47:17 2021 +0100
Changeset:	c620dfcba5b2f8032497edd79202cac2d5a99eb6

Modified Files:
	halfempty/distinfo
Added Files:
	halfempty/patches/patch-Makefile

Log Message:
halfempty: fix RELRO build

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c620dfcba5b2f8032497edd79202cac2d5a99eb6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 halfempty/distinfo               |  1 +
 halfempty/patches/patch-Makefile | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diffs:
diff --git a/halfempty/distinfo b/halfempty/distinfo
index 887298e31c..06e192f814 100644
--- a/halfempty/distinfo
+++ b/halfempty/distinfo
@@ -4,3 +4,4 @@ SHA1 (halfempty-0.40.tar.gz) = 6e58dd77ff587b89234a7ff0ce7b03ff610728d3
 RMD160 (halfempty-0.40.tar.gz) = 3fb79ba8a3e3c6a6547bed8002cf4cbf4384eab3
 SHA512 (halfempty-0.40.tar.gz) = 8e2bf9d0f7cece819031c5923f7bed0d07b1dbd23d5a275220dc976401d10c6fcfefe64afe73c3bf4582d749e485eb8ccf4626c724f6f17f09c1ea2d39979643
 Size (halfempty-0.40.tar.gz) = 1099409 bytes
+SHA1 (patch-Makefile) = eb624d1a1efd679f2c181107b641e4627006b47a
diff --git a/halfempty/patches/patch-Makefile b/halfempty/patches/patch-Makefile
new file mode 100644
index 0000000000..dcadf72acc
--- /dev/null
+++ b/halfempty/patches/patch-Makefile
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- Makefile.orig	2020-12-15 21:15:12.000000000 +0000
++++ Makefile
+@@ -1,6 +1,6 @@
+ CC          = gcc
+ CFLAGS      = -Wall -std=gnu99 -O2 -ggdb3 -march=native -fPIC -Wno-format-zero-length -Wno-unused-parameter
+-LDFLAGS     =
++LDFLAGS     +=
+ CPPFLAGS    = -UNDEBUG -UG_DISABLE_ASSERT `getconf LFS_CFLAGS` `pkg-config --cflags glib-2.0` -D_GNU_SOURCE
+ LDLIBS      = `pkg-config --libs glib-2.0`
+ EXTRA       =


Home | Main Index | Thread Index | Old Index