diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/bbdate/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/bbdate/files')
-rw-r--r-- | x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch b/x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch new file mode 100644 index 000000000000..38767a76443b --- /dev/null +++ b/x11-misc/bbdate/files/bbdate-0.2.4-as-needed.patch @@ -0,0 +1,21 @@ +Reason: Correct lib and ldflags ordering, fixes --as-needed. +Upstream: No. +--- bbdate-0.2.4/configure.in ++++ bbdate-0.2.4/configure.in +@@ -47,12 +47,13 @@ + + CFLAGS="$CFLAGS $X_CFLAGS" + CXXFLAGS="$CXXFLAGS $X_CFLAGS" +-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS" ++LDFLAGS="$LDFLAGS" ++LIBS="$X_LIBS $X_PRE_LIBS" + dnl Checks for X libraries. +-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11", ++AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11", + AC_MSG_ERROR(XOpenDisplay not found in -lX11)) + +-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS" ++LIBS="$LIBS $X_EXTRA_LIBS" + + dnl Checks for header files. + AC_HEADER_STDC |