summaryrefslogtreecommitdiff
path: root/package/flex/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/flex/patches')
-rw-r--r--package/flex/patches/patch-Makefile_in10
-rw-r--r--package/flex/patches/patch-conf_in20
2 files changed, 30 insertions, 0 deletions
diff --git a/package/flex/patches/patch-Makefile_in b/package/flex/patches/patch-Makefile_in
new file mode 100644
index 000000000..6c8103d00
--- /dev/null
+++ b/package/flex/patches/patch-Makefile_in
@@ -0,0 +1,10 @@
+--- flex-2.5.35.orig/Makefile.in 2008-02-26 22:34:10.000000000 +0100
++++ flex-2.5.35/Makefile.in 2010-10-04 23:21:19.000000000 +0200
+@@ -483,7 +483,6 @@ libfl.a: $(libfl_a_OBJECTS) $(libfl_a_DE
+ libfl_pic.a: $(libfl_pic_a_OBJECTS) $(libfl_pic_a_DEPENDENCIES)
+ -rm -f libfl_pic.a
+ $(libfl_pic_a_AR) libfl_pic.a $(libfl_pic_a_OBJECTS) $(libfl_pic_a_LIBADD)
+- $(RANLIB) libfl_pic.a
+ install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
diff --git a/package/flex/patches/patch-conf_in b/package/flex/patches/patch-conf_in
new file mode 100644
index 000000000..b0391feb7
--- /dev/null
+++ b/package/flex/patches/patch-conf_in
@@ -0,0 +1,20 @@
+--- flex-2.5.35.orig/conf.in 2008-02-26 22:34:02.000000000 +0100
++++ flex-2.5.35/conf.in 2010-10-04 23:18:48.000000000 +0200
+@@ -162,7 +162,7 @@
+
+ /* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+- automatically deduced at run-time.
++ automatically deduced at runtime.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown */
+@@ -190,7 +190,7 @@
+ /* Define to rpl_realloc if the replacement function should be used. */
+ #undef realloc
+
+-/* Define to `unsigned' if <sys/types.h> does not define. */
++/* Define to `unsigned int' if <sys/types.h> does not define. */
+ #undef size_t
+
+ /* Define as `fork' if `vfork' does not work. */