Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions pkgs/gdbm.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions pkgs/gdbm/gdbm-cygwin.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff -ruN a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am 2013-05-21 13:17:36.000000000 +0200
+++ b/src/Makefile.am 2016-12-06 17:31:14.234051600 +0100
@@ -65,7 +65,7 @@
update.c\
version.c

-libgdbm_la_LDFLAGS = -version-info $(VI_CURRENT):$(VI_REVISION):$(VI_AGE)
+libgdbm_la_LDFLAGS = -no-undefined -version-info $(VI_CURRENT):$(VI_REVISION):$(VI_AGE)

noinst_LIBRARIES = libgdbmapp.a

diff -ruN a/src/Makefile.in b/src/Makefile.in
--- a/src/Makefile.in 2013-12-25 16:58:27.000000000 +0100
+++ b/src/Makefile.in 2016-12-06 17:31:28.344073600 +0100
@@ -461,7 +461,7 @@
update.c\
version.c

-libgdbm_la_LDFLAGS = -version-info $(VI_CURRENT):$(VI_REVISION):$(VI_AGE)
+libgdbm_la_LDFLAGS = -no-undefined -version-info $(VI_CURRENT):$(VI_REVISION):$(VI_AGE)
noinst_LIBRARIES = libgdbmapp.a
libgdbmapp_a_SOURCES = \
err.c\
17 changes: 17 additions & 0 deletions pkgs/gdbm/gdbm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
extends: [autotools_package]

defaults:
relocatable: false

build_stages:
- when: platform == 'Cygwin'
name: patch
before: configure
files: [gdbm-cygwin.patch]
handler: bash
bash: |
patch -up1 < _hashdist/gdbm-cygwin.patch

sources:
- key: tar.gz:rwis6rhqlufrljff3fvhn6cs5ec5aun3
url: http://ftp.heanet.ie/mirrors/gnu/gdbm/gdbm-1.11.tar.gz