dev-db/libflaim: move back to unstable version it's better supported by ifolder
(Portage version: 2.2.0_alpha26-r1/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@2849 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
28
dev-db/libflaim/files/libflaim-pic-ldconfig-fortify.patch
Normal file
28
dev-db/libflaim/files/libflaim-pic-ldconfig-fortify.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
--- libflaim-4.9.966.orig/Makefile
|
||||
+++ libflaim-4.9.966/Makefile
|
||||
@@ -841,7 +841,7 @@
|
||||
|
||||
# Compiler definitions and flags
|
||||
|
||||
-ccflags =
|
||||
+ccflags = -fPIC
|
||||
ccdefs =
|
||||
|
||||
ifeq ($(target_word_size),64)
|
||||
@@ -935,7 +935,7 @@
|
||||
static_lib_suffix = .a
|
||||
shared_lib_suffix = .so.$(shared_lib_version)
|
||||
|
||||
- compiler = g++
|
||||
+ compiler = g++ -U_FORTIFY_SOURCE
|
||||
exe_linker = g++
|
||||
shared_linker = g++
|
||||
|
||||
@@ -1880,7 +1880,6 @@
|
||||
cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current).$(so_revision) $(lib_prefix)$(project_name).so.$(so_current)
|
||||
endif
|
||||
cd $(lib_install_dir); ln -fs $(lib_prefix)$(project_name).so.$(so_current) $(lib_prefix)$(project_name).so
|
||||
- -ldconfig $(lib_install_dir)
|
||||
$(ec)$(gprintf) "Installation complete.\n"
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user