aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gpm/install-unversioned-solibrary.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-02-26 10:58:59 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-02-26 11:10:55 +0100
commit76e44d18256f2526af97aa27603c154b5066ee97 (patch)
tree82f42f15cc9e6d928b4d06eb25d8a514aecd75d0 /testing/gpm/install-unversioned-solibrary.patch
parentd51e013bca5601e50443c35b9c23a26ec744f73b (diff)
downloadaports-76e44d18256f2526af97aa27603c154b5066ee97.tar.bz2
aports-76e44d18256f2526af97aa27603c154b5066ee97.tar.xz
testing/gpm: resurrect
get patches from https://github.com/telmich/gpm
Diffstat (limited to 'testing/gpm/install-unversioned-solibrary.patch')
-rw-r--r--testing/gpm/install-unversioned-solibrary.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/gpm/install-unversioned-solibrary.patch b/testing/gpm/install-unversioned-solibrary.patch
new file mode 100644
index 0000000000..0af762e9da
--- /dev/null
+++ b/testing/gpm/install-unversioned-solibrary.patch
@@ -0,0 +1,36 @@
+From 06b00d53d8bd513ad5d262dc94a016c6fbf2d3aa Mon Sep 17 00:00:00 2001
+From: Kamil Rytarowski <n54@gmx.com>
+Date: Sat, 4 May 2013 01:30:17 +0200
+Subject: [PATCH] Install unversioned solibrary
+
+Unversioned solibraries are shipped with -devel packages in Linux
+distros. Generate and install it for the consistency.
+---
+ src/Makefile.in | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/src/Makefile.in b/src/Makefile.in
+index 6b60ad3..7e9e2ef 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -79,7 +79,7 @@ prog/%: prog/%.o
+ # | $(SED) '\''s/\($*\)\.o\([ :]*\)/\1.o \1.lo\2/g'\'' > $(DEPDIR)/$@'
+
+ # Do it all!
+-all: gpm lib/libgpm.so.@abi_lev@ @LIBGPM_A@ $(PROG)
++all: gpm lib/libgpm.so.@abi_lev@ lib/libgpm.so @LIBGPM_A@ $(PROG)
+
+ gpm: $(GOBJ)
+ $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $(GOBJ) @LIBS@ $(LIBS) -lm
+@@ -168,9 +168,8 @@ lib/libgpm.so.@abi_full@: $(PICS)
+ @LDFLAGS@ $(LDFLAGS) -o lib/libgpm.so.@abi_full@ $^ @LIBS@ @SHARED_LIBS@ $(LIBS)
+ lib/libgpm.so.@abi_lev@: lib/libgpm.so.@abi_full@
+ $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so.@abi_lev@
+-# unneeded, isn't it?
+-#lib/libgpm.so: lib/libgpm.so.@abi_full@
+-# $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so
++lib/libgpm.so: lib/libgpm.so.@abi_full@
++ $(LN_S) -f libgpm.so.@abi_full@ lib/libgpm.so
+
+ include $(DEPFILE)
+