aboutsummaryrefslogtreecommitdiff
path: root/net/fakepop/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-08-20 17:23:59 -0700
committerRosen Penev <rosenp@gmail.com>2021-08-21 11:43:57 -0700
commit15d2ed15caa23003447e83d1de219b7968919088 (patch)
tree7336570adf1b16b2162183c29df2069510fc9e2c /net/fakepop/patches
parentf53cd4232ae602907822594ed778a9e42f185fd8 (diff)
fakepop: fix compilation with PKG_ASLR
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/fakepop/patches')
-rw-r--r--net/fakepop/patches/010-fPIC.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/fakepop/patches/010-fPIC.patch b/net/fakepop/patches/010-fPIC.patch
new file mode 100644
index 000000000..dec12dd9f
--- /dev/null
+++ b/net/fakepop/patches/010-fPIC.patch
@@ -0,0 +1,13 @@
+--- a/Makefile
++++ b/Makefile
+@@ -2,8 +2,8 @@
+
+ GLIB_CFLAGS = $(shell pkg-config --cflags glib-2.0)
+ GLIB_LDFLAGS = $(shell pkg-config --libs glib-2.0)
+-CFLAGS = -D_GNU_SOURCE -Wall -O2 $(GLIB_CFLAGS)
+-LDLIBS = $(GLIB_LDFLAGS)
++CFLAGS += $(GLIB_CFLAGS)
++LDLIBS += $(GLIB_LDFLAGS)
+
+ all: fakepop
+