]> git.pld-linux.org Git - packages/OGLFT.git/commitdiff
- fixed linking issues auto/th/OGLFT-0.9-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 7 Dec 2013 09:58:35 +0000 (10:58 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 7 Dec 2013 09:58:35 +0000 (10:58 +0100)
- rel 4

OGLFT.spec
link.patch [new file with mode: 0644]

index c366098ef802c5141bae2fb7c3a48d745b91dbe7..af9bae30bbb88cef94e08f4ca0539ecde02c62c3 100644 (file)
@@ -1,11 +1,12 @@
 Summary:       OpenGL-FreeType Library
 Name:          OGLFT
 Version:       0.9
-Release:       3
+Release:       4
 License:       LGPL
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/oglft/oglft-%{version}.tar.gz
 # Source0-md5: c3a8e0993f98edb7611c20f46631d2a6
+Patch0:                link.patch
 URL:           http://oglft.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -39,19 +40,17 @@ Static version of OGLFT.
 
 %prep
 %setup -q -n oglft-%{version}
+%patch0 -p1
 
 %build
 QTDIR=/usr
 CPPFLAGS=-I/usr/include/qt
 export QTDIR CPPFLAGS
+%{__libtoolize}
 %{__aclocal}
-# autoconf requires libtoolize, otherwise causes endless libtool loop
-#%%{__autoconf}
+%{__autoconf}
 %{__autoheader}
-# automake requires aclocal and autoconf
-#%%{__automake}
-# libtoolize requires autoconf, otherwise ../libtool[400]: CDPATH: not found
-#%%{__libtoolize}
+%{__automake}
 %configure
 %{__make}
 
diff --git a/link.patch b/link.patch
new file mode 100644 (file)
index 0000000..5e473ac
--- /dev/null
@@ -0,0 +1,18 @@
+--- oglft-0.9/liboglft/Makefile.am~    2003-10-01 12:53:35.000000000 +0200
++++ oglft-0.9/liboglft/Makefile.am     2013-12-07 10:48:05.469840970 +0100
+@@ -21,4 +21,5 @@
+ lib_LTLIBRARIES = libOGLFT.la
+ libOGLFT_la_SOURCES = OGLFT.cpp OGLFT.h
+ libOGLFT_la_LDFLAGS = -version-info 1:0:0
++libOGLFT_la_LIBADD = -lstdc++
+ INCLUDES = -I$(top_srcdir)/include
+--- oglft-0.9/configure.ac~    2003-10-01 16:12:29.000000000 +0200
++++ oglft-0.9/configure.ac     2013-12-07 10:56:17.216504077 +0100
+@@ -107,7 +107,6 @@
+     qt_save_LDFLAGS=$LDFLAGS
+     qt_save_LIBS=$LIBS
+     CPPFLAGS="$CPPFLAGS -I${QTDIR}/include"
+-    LDFLAGS="$LDFLAGS -L${QTDIR}/lib"
+     QTLIB=""
+     LIBS="$qt_save_LIBS -lqt"
This page took 0.051104 seconds and 4 git commands to generate.