aboutsummaryrefslogtreecommitdiffstats
path: root/testing/motif/01-fix-autoconf.patch
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-06-21 14:40:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-23 06:41:47 +0000
commit96d9a81946ebca7dcaa1a8ae9712ee477a156606 (patch)
tree88ef61a0abbd1c78ae5f5314997e1420e23cefe8 /testing/motif/01-fix-autoconf.patch
parentd28d72a16f7697a518150bf27feb26ac317bce28 (diff)
downloadaports-96d9a81946ebca7dcaa1a8ae9712ee477a156606.tar.bz2
aports-96d9a81946ebca7dcaa1a8ae9712ee477a156606.tar.xz
Add motif
Manually sending, since git send-email is being recalcitrant. This will allow me to package nedit and a number of other things. From 3077415e704bee5da76d1000e66bb8e25c0248cf Mon Sep 17 00:00:00 2001 From: Isaac Dunham <ibid.ag@gmail.com> Date: Thu, 19 Jun 2014 05:41:45 +0000 Subject: [PATCH] Add Motif. Motif is an X intrinsics based toolkit which was once widely used. This version is built with Xft support, but not PNG, JPEG, or Xprint. The patches are snarfed from Debian; not all are needed.
Diffstat (limited to 'testing/motif/01-fix-autoconf.patch')
-rw-r--r--testing/motif/01-fix-autoconf.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/motif/01-fix-autoconf.patch b/testing/motif/01-fix-autoconf.patch
new file mode 100644
index 0000000000..325707a18b
--- /dev/null
+++ b/testing/motif/01-fix-autoconf.patch
@@ -0,0 +1,47 @@
+Description: Update build system to satisfy latest automake/autoconf
+ This is part of the patch submitted by Adam Sampson,
+ so we can build without having to provide AUTHORS and NEWS files
+ .
+ Adam licensed his patch under MIT license (whatever that means ;) )
+Forwarded: http://bugs.motifzone.net/show_bug.cgi?id=1571
+Author: Adam Sampson <ats-motif@offog.org>
+Author: Graham Inggs <graham@nerve.org.za>
+Last-Update: 2012-12-25
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,8 +1,13 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT
++AC_PREREQ(2.59)
++AC_INIT([motif], [2.3.4])
+ AC_CONFIG_SRCDIR([lib/Xm/Form.c])
+-AC_PREREQ(2.52)
+ AC_CONFIG_AUX_DIR(.)
++AC_CANONICAL_TARGET
++
++AM_INIT_AUTOMAKE([foreign no-define])
++dnl AM_MAINTAINER_MODE
++
+ AC_CHECK_FILE(/usr/X/include/X11/X.h,
+ AC_PREFIX_DEFAULT(/usr/X),
+ AC_PREFIX_DEFAULT(/usr))
+@@ -10,9 +15,6 @@
+ AC_PREFIX_DEFAULT(/usr/X11R6),
+ AC_PREFIX_DEFAULT(/usr))
+
+-dnl AM_MAINTAINER_MODE
+-AC_CANONICAL_TARGET
+-
+ dnl The version of the Motif libraries
+ CURRENT=4
+ REVISION=4
+@@ -21,9 +23,6 @@
+ AC_SUBST(REVISION)
+ AC_SUBST(AGE)
+
+-dnl This is really dumb but it seems to be bug
+-AM_INIT_AUTOMAKE(motif,2.3.4,no-define)
+-
+ LIBTOOL_VERSION=$CURRENT:$REVISION:$AGE
+
+ dnl