FS#20224 - sdl_pango: add matrix_declarations.patch (debian)

Attached to Project: Arch Linux
Opened by Jakob Gruber (schuay) - Monday, 19 July 2010, 19:32 GMT
Last edited by Allan McRae (Allan) - Friday, 23 July 2010, 04:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Apps using sdl_pango in several files fail at link time, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437517 .
matrix_declarations.patch at http://patch-tracker.debian.org/package/sdlpango/0.1.2-4 fixes this issue.

I've built from abs using this patch and all is working as expected.

Thanks in advance.

Diff of PKGBUILD:

--- /var/abs/extra/sdl_pango/PKGBUILD 2010-07-10 06:08:19.000000000 +0200
+++ PKGBUILD 2010-07-19 20:15:56.099742928 +0200
@@ -11,12 +11,15 @@
license=('LGPL')
depends=('pango' 'sdl')
options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/sdlpango/SDL_Pango-$pkgver.tar.gz http://zarb.org/~gc/t/SDL_Pango-$pkgver-API-adds.patch)
-md5sums=('85bbf9bb7b1cee0538154dadd045418c' '5decf3d7eb724e27548af3142131a2f6')
+source=(http://downloads.sourceforge.net/sourceforge/sdlpango/SDL_Pango-$pkgver.tar.gz
+ http://zarb.org/~gc/t/SDL_Pango-$pkgver-API-adds.patch
+ matrix_declarations.patch)
+md5sums=('85bbf9bb7b1cee0538154dadd045418c' '5decf3d7eb724e27548af3142131a2f6' '1067d401f4df54c7eb84ac3fd56ab76f')

build() {
cd $srcdir/SDL_Pango-$pkgver
patch -Np0 -i $srcdir/SDL_Pango-$pkgver-API-adds.patch
+ patch -Np1 -i $srcdir/matrix_declarations.patch
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 23 July 2010, 04:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  sdl_pango-0.1.2-3
Comment by Allan McRae (Allan) - Friday, 23 July 2010, 01:29 GMT
Explain why this patch is needed... there are inclusion guards to prevent this.
Comment by Allan McRae (Allan) - Friday, 23 July 2010, 04:17 GMT
Don't worry, I this is an issue at linking stage.

Loading...