[arch-commits] Commit in libots/trunk (PKGBUILD libots-fix-build.patch)

Antonio Rojas arojas at archlinux.org
Sun Feb 23 22:28:50 UTC 2020


    Date: Sunday, February 23, 2020 @ 22:28:50
  Author: arojas
Revision: 376113

Fix build (FS#63466)

Added:
  libots/trunk/libots-fix-build.patch
Modified:
  libots/trunk/PKGBUILD

------------------------+
 PKGBUILD               |    9 ++++++---
 libots-fix-build.patch |   14 ++++++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-23 21:56:35 UTC (rev 376112)
+++ PKGBUILD	2020-02-23 22:28:50 UTC (rev 376113)
@@ -3,19 +3,22 @@
 
 pkgname=libots
 pkgver=0.5.0
-pkgrel=5
+pkgrel=6
 pkgdesc='Open Text Summarizer'
 url='https://libots.sourceforge.net/'
 arch=('x86_64')
 license=('GPL')
 depends=('libxml2' 'glib2' 'popt')
-source=("https://sources.archlinux.org/other/packages/libots/ots-$pkgver.tar.gz")
-sha1sums=('4468bc06470734848c2369a37c84f76ca4ac3f9a')
+source=("https://sources.archlinux.org/other/packages/libots/ots-$pkgver.tar.gz"
+        libots-fix-build.patch)
+sha256sums=('ea908d22256166d1200fef55a82dd3ea8e096a249eaaf0b926f3577f1a63e137'
+            '0c5033302ffe8d87dd2f85745ea2a531ac573a901302d1b15bf51a3327102f6a')
 
 prepare() {
   cd ots-${pkgver}
   touch gtk-doc.make
   sed 's/en.xml$//' -i dic/Makefile.am
+  patch -p1 -i ../libots-fix-build.patch # Fix makefile dependencies (Debian)
   libtoolize --force
   aclocal
   automake --add-missing --force

Added: libots-fix-build.patch
===================================================================
--- libots-fix-build.patch	                        (rev 0)
+++ libots-fix-build.patch	2020-02-23 22:28:50 UTC (rev 376113)
@@ -0,0 +1,14 @@
+Description: Fix the Makefile dependencies
+Author: Adrian Bunk <bunk at debian.org>
+Bug-Debian: https://bugs.debian.org/906498
+
+--- ots-0.5.0.orig/src/Makefile.am
++++ ots-0.5.0/src/Makefile.am
+@@ -43,7 +43,7 @@ libots_1_include_HEADERS = 	\
+ 	libots.h
+ 
+ bin_PROGRAMS=ots
+-ldadd = $(top_builddir)/src/libots-1.la $(OTS_LIBS) $(POPT_LIBS)
++ldadd = libots-1.la $(OTS_LIBS) $(POPT_LIBS)
+ 
+ ots_LDADD=$(ldadd)



More information about the arch-commits mailing list