summaryrefslogtreecommitdiff
path: root/packages/linebreak/files/liblinebreak-build-fix.patch
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-29 03:51:22 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-12-01 19:27:41 +0300
commit1823b120ab53ea960148e140b4515abc4082aedb (patch)
tree3a8d7b9100d6b79d145cd228cab7b31bb67ab41f /packages/linebreak/files/liblinebreak-build-fix.patch
parent8045219455876d6ee1468ef3cb42124be684ed46 (diff)
liblinebreak: Unicode line breaking library
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Diffstat (limited to 'packages/linebreak/files/liblinebreak-build-fix.patch')
-rw-r--r--packages/linebreak/files/liblinebreak-build-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/linebreak/files/liblinebreak-build-fix.patch b/packages/linebreak/files/liblinebreak-build-fix.patch
new file mode 100644
index 0000000000..7545c370df
--- /dev/null
+++ b/packages/linebreak/files/liblinebreak-build-fix.patch
@@ -0,0 +1,13 @@
+Index: liblinebreak/Makefile
+===================================================================
+--- liblinebreak.orig/Makefile 2008-11-23 15:47:09.713701530 +0300
++++ liblinebreak/Makefile 2008-11-23 15:48:12.081703050 +0300
+@@ -86,7 +86,7 @@ AR = ar
+ LD = $(CXX) $(CXXFLAGS) $(TARGET_ARCH)
+
+ INCLUDE = -I. $(patsubst %,-I%,$(VPATH))
+-CFLAGS = -W -Wall $(INCLUDE)
++CFLAGS = -W -Wall $(INCLUDE) -fPIC -D_REENTRANT
+ CXXFLAGS = $(CFLAGS)
+ DBGFLAGS = -D_DEBUG -g
+ RELFLAGS = -DNDEBUG -O2