summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/leptonica/files')
-rw-r--r--media-libs/leptonica/files/.svn/entries62
-rw-r--r--media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base32
-rw-r--r--media-libs/leptonica/files/leptonica-build-shared.diff32
3 files changed, 126 insertions, 0 deletions
diff --git a/media-libs/leptonica/files/.svn/entries b/media-libs/leptonica/files/.svn/entries
new file mode 100644
index 0000000..1056875
--- /dev/null
+++ b/media-libs/leptonica/files/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+11759
+svn://overlays.gentoo.org/proj/sunrise/reviewed/media-libs/leptonica/files
+svn://overlays.gentoo.org/proj/sunrise
+
+
+
+2009-12-19T17:58:40.109496Z
+9749
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+12608f7e-a915-0410-b2f3-ce240db1b126
+
+leptonica-build-shared.diff
+file
+
+
+
+
+2011-02-01T12:32:42.516666Z
+b3470e5bfe7be07fd0087bbceea0d755
+2009-12-19T17:58:40.109496Z
+9749
+tommy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1123
+
diff --git a/media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base b/media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base
new file mode 100644
index 0000000..e326373
--- /dev/null
+++ b/media-libs/leptonica/files/.svn/text-base/leptonica-build-shared.diff.svn-base
@@ -0,0 +1,32 @@
+Simple patch to build shared library using autotools.
+Additionally removes inappropriate declaration of 'CFLAGS'.
+
+diff -dupr leptonlib-1.62.orig/src/Makefile.am leptonlib-1.62/src/Makefile.am
+--- leptonlib-1.62.orig/src/Makefile.am 2009-12-16 18:49:59.800517773 +0100
++++ leptonlib-1.62/src/Makefile.am 2009-12-16 18:50:19.629265044 +0100
+@@ -6,10 +6,9 @@ SUBDIRS =
+ MAKE = make -f Makefile
+ AM_CFLAGS = -D_BSD_SOURCE -DANSI -fPIC
+ AM_CPPFLAGS = $(ENDIANNESS)
+-CFLAGS = -O2
+
+-lib_LIBRARIES = liblept.a
+-liblept_a_SOURCES = adaptmap.c \
++lib_LTLIBRARIES = liblept.la
++liblept_la_SOURCES = adaptmap.c \
+ affine.c affinecompose.c \
+ arithlow.c arrayaccess.c \
+ bardecode.c \
+diff -dupr leptonlib-1.62.orig/configure.ac leptonlib-1.62/configure.ac
+--- leptonlib-1.62.orig/configure.ac 2009-12-16 18:54:31.012265321 +0100
++++ leptonlib-1.62/configure.ac 2009-12-16 18:55:06.954265636 +0100
+@@ -114,7 +114,8 @@ AC_C_BIGENDIAN
+
+ # Check where all the following programs are and set
+ # variables accordingly:
+-AC_PROG_RANLIB
++AC_DISABLE_STATIC
++AC_PROG_LIBTOOL
+ # AC_PROG_LN_S
+ # AC_PATH_PROG(MV, mv)
+ # AC_PATH_PROG(CP, cp)
diff --git a/media-libs/leptonica/files/leptonica-build-shared.diff b/media-libs/leptonica/files/leptonica-build-shared.diff
new file mode 100644
index 0000000..e326373
--- /dev/null
+++ b/media-libs/leptonica/files/leptonica-build-shared.diff
@@ -0,0 +1,32 @@
+Simple patch to build shared library using autotools.
+Additionally removes inappropriate declaration of 'CFLAGS'.
+
+diff -dupr leptonlib-1.62.orig/src/Makefile.am leptonlib-1.62/src/Makefile.am
+--- leptonlib-1.62.orig/src/Makefile.am 2009-12-16 18:49:59.800517773 +0100
++++ leptonlib-1.62/src/Makefile.am 2009-12-16 18:50:19.629265044 +0100
+@@ -6,10 +6,9 @@ SUBDIRS =
+ MAKE = make -f Makefile
+ AM_CFLAGS = -D_BSD_SOURCE -DANSI -fPIC
+ AM_CPPFLAGS = $(ENDIANNESS)
+-CFLAGS = -O2
+
+-lib_LIBRARIES = liblept.a
+-liblept_a_SOURCES = adaptmap.c \
++lib_LTLIBRARIES = liblept.la
++liblept_la_SOURCES = adaptmap.c \
+ affine.c affinecompose.c \
+ arithlow.c arrayaccess.c \
+ bardecode.c \
+diff -dupr leptonlib-1.62.orig/configure.ac leptonlib-1.62/configure.ac
+--- leptonlib-1.62.orig/configure.ac 2009-12-16 18:54:31.012265321 +0100
++++ leptonlib-1.62/configure.ac 2009-12-16 18:55:06.954265636 +0100
+@@ -114,7 +114,8 @@ AC_C_BIGENDIAN
+
+ # Check where all the following programs are and set
+ # variables accordingly:
+-AC_PROG_RANLIB
++AC_DISABLE_STATIC
++AC_PROG_LIBTOOL
+ # AC_PROG_LN_S
+ # AC_PATH_PROG(MV, mv)
+ # AC_PATH_PROG(CP, cp)