aboutsummaryrefslogtreecommitdiff
path: root/graphics/xaos/files
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2007-07-05 06:22:19 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2007-07-05 06:22:19 +0000
commit02cc50a98928ade0ef82f1adabc7105ed674aace (patch)
treeb9b0676c6e064bd05dc227e1c5b166e551618e56 /graphics/xaos/files
parent3de5a84967cf1b6c2bafc9d4f6edc71fded26de4 (diff)
downloadports-02cc50a98928ade0ef82f1adabc7105ed674aace.tar.gz
ports-02cc50a98928ade0ef82f1adabc7105ed674aace.zip
Notes
Diffstat (limited to 'graphics/xaos/files')
-rw-r--r--graphics/xaos/files/patch-ai49
-rw-r--r--graphics/xaos/files/patch-aj17
-rw-r--r--graphics/xaos/files/patch-ak20
-rw-r--r--graphics/xaos/files/patch-configure19
-rw-r--r--graphics/xaos/files/patch-src_include_aconfig.h.in8
-rw-r--r--graphics/xaos/files/patch-src_ui_ui.c11
6 files changed, 38 insertions, 86 deletions
diff --git a/graphics/xaos/files/patch-ai b/graphics/xaos/files/patch-ai
deleted file mode 100644
index 0ea1907ea838..000000000000
--- a/graphics/xaos/files/patch-ai
+++ /dev/null
@@ -1,49 +0,0 @@
---- configure.orig Fri Feb 11 15:18:52 2005
-+++ configure Sun Jul 10 20:38:20 2005
-@@ -10139,7 +10139,7 @@
-
- use_cc_g_flag=no
- DRIVERDIRS=""
--LOCALEDIR="/usr/share/locale"
-+LOCALEDIR="${prefix}/share/locale"
- DRIVERLIBS="lib/libui.a lib/libui-hlp.a lib/libengine.a lib/libutil.a lib/libfilter.a"
- CFLAGS="$CCOPTS"
- # Find a good install program. We prefer a C program (faster),
-@@ -13597,7 +13597,7 @@
-
- if $search_aalib
- then
-- if test -f /usr/include/aalib.h
-+ if /usr/bin/true
- then
- LIBS1="$LIBS"
- if test "x$no_x" = x; then
-@@ -13670,8 +13670,8 @@
- fi
-
- if test "x$ac_cv_lib_aa_aa_init" = xyes; then
-- echo "$as_me:$LINENO: result: Found aalib on /usr/include/aalib.h" >&5
--echo "${ECHO_T}Found aalib on /usr/include/aalib.h" >&6
-+ echo "$as_me:$LINENO: result: Found aalib on ${PREFIX}/include/aalib.h" >&5
-+echo "${ECHO_T}Found aalib on ${PREFIX}/include/aalib.h" >&6
- echo "$as_me:$LINENO: checking whether aalib version >= 1.4" >&5
- echo $ECHO_N "checking whether aalib version >= 1.4... $ECHO_C" >&6
- if test "${ac_aalib_ver_ok+set}" = set; then
-@@ -13687,7 +13687,7 @@
- */
- #endif
- }' > conftest.c
--if test -z "`${CC-cc} -c conftest.c 2>&1`"; then
-+if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
- ac_aalib_ver_ok=yes
- else
- ac_aalib_ver_ok=no
-@@ -17607,7 +17607,7 @@
- #define SVGA_DRIVER 1
- _ACEOF
-
-- STICKY='chmod +s $(bindir)/xaos; chown root $(bindir)/xaos; chgrp root $(bindir)/xaos'
-+ STICKY='chmod +s $(bindir)/xaos; chown root $(bindir)/xaos; chgrp wheel $(bindir)/xaos'
- DRIVERDIRS="$DRIVERDIRS ui/ui-drv/svga"
- DRIVERLIBS="$DRIVERLIBS lib/libuisvga.a"
- if test "x$ac_cv_func_pthread_sighandler" = xyes; then
diff --git a/graphics/xaos/files/patch-aj b/graphics/xaos/files/patch-aj
deleted file mode 100644
index 8458d7f889bb..000000000000
--- a/graphics/xaos/files/patch-aj
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/ui/ui-drv/aa/ui_aa.c-- Wed Nov 28 15:41:11 2001
-+++ src/ui/ui-drv/aa/ui_aa.c Wed Nov 28 15:43:31 2001
-@@ -1,7 +1,14 @@
-+#if defined(HAVE_SYS_PARAM_H)
-+#include <sys/param.h>
-+#endif
- #include "aconfig.h"
- #ifdef AA_DRIVER
- #include <string.h>
-+#if (!defined(BSD) || (BSD < 199506))
- #include <malloc.h>
-+#else
-+#include <stdlib.h>
-+#endif
- #include <aalib.h>
- #include <ui.h>
- #include <unistd.h>
diff --git a/graphics/xaos/files/patch-ak b/graphics/xaos/files/patch-ak
deleted file mode 100644
index d17ced5bddf9..000000000000
--- a/graphics/xaos/files/patch-ak
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/ui/ui-drv/svga/ui_svga.c-- Thu Mar 5 03:19:12 1998
-+++ src/ui/ui-drv/svga/ui_svga.c Wed Nov 28 15:48:12 2001
-@@ -19,10 +19,17 @@
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-+#if defined(HAVE_SYS_PARAM_H)
-+#include <sys/param.h>
-+#endif
- #include "aconfig.h"
- #ifdef SVGA_DRIVER
- #include <stdio.h>
-+#if (!defined(BSD) || (BSD < 199506))
- #include <malloc.h>
-+#else
-+#include <stdlib.h>
-+#endif
- #include <vga.h>
- #include <vgagl.h>
- #include <vgamouse.h>
diff --git a/graphics/xaos/files/patch-configure b/graphics/xaos/files/patch-configure
new file mode 100644
index 000000000000..3951e017d0bd
--- /dev/null
+++ b/graphics/xaos/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Sun Nov 12 22:49:50 2006
++++ configure Wed Jul 4 22:41:37 2007
+@@ -10653,7 +10653,7 @@
+
+ use_cc_g_flag=no
+ DRIVERDIRS=""
+-LOCALEDIR="/usr/share/locale"
++LOCALEDIR="${prefix}/share/locale"
+ DRIVERLIBS="lib/libui.a lib/libui-hlp.a lib/libengine.a lib/libutil.a lib/libfilter.a"
+ CFLAGS="$CCOPTS"
+ # Find a good install program. We prefer a C program (faster),
+@@ -16237,6 +16237,7 @@
+ eval datadir2=$datadir
+ cat >>confdefs.h <<_ACEOF
+ #define DATAPATH "${datadir2}/XaoS"
++#define PREFIX "${prefix}"
+ _ACEOF
+
+
diff --git a/graphics/xaos/files/patch-src_include_aconfig.h.in b/graphics/xaos/files/patch-src_include_aconfig.h.in
new file mode 100644
index 000000000000..b8f072f70c21
--- /dev/null
+++ b/graphics/xaos/files/patch-src_include_aconfig.h.in
@@ -0,0 +1,8 @@
+--- src/include/aconfig.h.in.orig Wed Jul 4 22:26:52 2007
++++ src/include/aconfig.h.in Wed Jul 4 22:26:58 2007
+@@ -55,4 +55,5 @@
+ #undef SIZEOF_LONG
+ #undef HAVE_GETTEXT
+ #undef NO_MALLOC_H
++#undef PREFIX
+ #endif
diff --git a/graphics/xaos/files/patch-src_ui_ui.c b/graphics/xaos/files/patch-src_ui_ui.c
new file mode 100644
index 000000000000..7b6723072732
--- /dev/null
+++ b/graphics/xaos/files/patch-src_ui_ui.c
@@ -0,0 +1,11 @@
+--- src/ui/ui.c.orig Sun Nov 12 22:49:51 2006
++++ src/ui/ui.c Wed Jul 4 22:43:49 2007
+@@ -1207,7 +1207,7 @@
+ )
+ #endif
+ #else
+- "/usr/share/locale")
++ PREFIX "/share/locale")
+ #ifdef DEBUG
+ )
+ #endif