aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/liba52-enable-pic.patch
blob: 924ac1331f36773d33dab4622762385a125c34f5 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Copied from Debian.

Description: Disabling -prefer-non-pic which enables -fPIC
Bug-Debian: http://bugs.debian.org/401590
Author: Daniel Baumann <daniel@debian.org>, Dmitrijs Ledkovs <dmitrij.ledkov@gmail.com>


---
 liba52/configure.incl |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Index: a52dec-deb/liba52/configure.incl
===================================================================
--- a52dec-deb.orig/liba52/configure.incl	2009-12-05 02:52:12.000000000 +0000
+++ a52dec-deb/liba52/configure.incl	2009-12-05 03:23:45.000000000 +0000
@@ -1,9 +1,6 @@
 AC_SUBST([LIBA52_CFLAGS])
 AC_SUBST([LIBA52_LIBS])
 
-dnl avoid -fPIC when possible
-LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
-
 AC_ARG_ENABLE([double],
     [  --enable-double         use double-precision samples])
 if test x"$enable_double" = x"yes"; then
(invoke "gcc" "-o" "bidiv" "bidiv.c" ;; pkg-config --cflags fribidi (string-append "-I" fribidi "/include/fribidi") ;; pkg-config --libs fribidi (string-append "-L" fribidi "/lib") "-lfribidi")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin")) (man (string-append out "/share/man/man1"))) (install-file "bidiv" bin) (install-file "bidiv.1" man)) #t))) #:tests? #f)) ; no tests (inputs (list fribidi)) (home-page "https://tracker.debian.org/pkg/bidiv") (synopsis "BiDi viewer - command-line tool displaying logical Hebrew/Arabic") (description "bidiv is a simple utility for converting logical-Hebrew input to visual-Hebrew output. This is useful for reading Hebrew mail messages, viewing Hebrew texts, etc. It was written for Hebrew but Arabic (or other BiDi languages) should work equally well.") (properties '((release-monitoring-url . "https://deb.debian.org/debian/pool/main/b/bidiv"))) (license gpl2+)))