summaryrefslogtreecommitdiff
path: root/media-gfx/tachyon/files
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/tachyon/files')
-rw-r--r--media-gfx/tachyon/files/tachyon-0.99.5-ldflags.patch (renamed from media-gfx/tachyon/files/tachyon-0.99_beta6-r2-ldflags.patch)7
-rw-r--r--media-gfx/tachyon/files/tachyon-0.99.5-shared.patch (renamed from media-gfx/tachyon/files/tachyon-0.99_beta6-r2-shared.patch)18
2 files changed, 14 insertions, 11 deletions
diff --git a/media-gfx/tachyon/files/tachyon-0.99_beta6-r2-ldflags.patch b/media-gfx/tachyon/files/tachyon-0.99.5-ldflags.patch
index 220589a8f548..06fb74d91255 100644
--- a/media-gfx/tachyon/files/tachyon-0.99_beta6-r2-ldflags.patch
+++ b/media-gfx/tachyon/files/tachyon-0.99.5-ldflags.patch
@@ -1,6 +1,7 @@
---- a/Makefile
-+++ b/Makefile
-@@ -121,7 +121,7 @@ ${MGFLIB} : ../libmgf/Makefile
+diff '--color=auto' -urN unix.orig/Makefile unix/Makefile
+--- unix.orig/Makefile 2025-04-04 18:07:35.287673315 +0300
++++ unix/Makefile 2025-04-04 18:07:46.214794876 +0300
+@@ -165,7 +165,7 @@
};
${ARCHDIR}/tachyon : ${RAYLIB} ${PARSELIB} ${OBJDIR}/main.o ${OBJDIR}/getargs.o ${OBJDIR}/parse.o ${OBJDIR}/nffparse.o ${OBJDIR}/glwin.o ${OBJDIR}/spaceball.o ${OBJDIR}/trackball.o ${PARSEOBJS}
diff --git a/media-gfx/tachyon/files/tachyon-0.99_beta6-r2-shared.patch b/media-gfx/tachyon/files/tachyon-0.99.5-shared.patch
index 8bd37071a8dc..43d0571fe610 100644
--- a/media-gfx/tachyon/files/tachyon-0.99_beta6-r2-shared.patch
+++ b/media-gfx/tachyon/files/tachyon-0.99.5-shared.patch
@@ -1,16 +1,18 @@
-diff -up tachyon/unix/Makefile.shared tachyon/unix/Makefile
---- a/Makefile.shared 2011-02-07 16:14:38.000000000 +0100
-+++ b/Makefile 2011-07-23 20:23:51.000000000 +0200
-@@ -22,7 +22,7 @@ OBJDIR=${ARCHDIR}/libtachyon
+diff '--color=auto' -urN unix.orig/Makefile unix/Makefile
+--- unix.orig/Makefile 2025-04-04 18:08:53.437298704 +0300
++++ unix/Makefile 2025-04-04 18:11:23.444469688 +0300
+@@ -23,8 +23,8 @@
#
# Name of raytracing library file to create
#
-RAYLIB=${ARCHDIR}/libtachyon.a
+-RAYLIBOPTIX=${ARCHDIR}/libtachyonoptix.a
+RAYLIB=${ARCHDIR}/libtachyon.so
++RAYLIBOPTIX=${ARCHDIR}/libtachyonoptix.so
RAYLIBDIR=${ARCHDIR}
- #
-@@ -251,124 +251,125 @@ RAYOBJS= ${OBJDIR}/api.o \
+
+@@ -337,124 +337,125 @@
${OBJDIR}/tgafile.o \
${OBJDIR}/winbmp.o
@@ -175,5 +177,5 @@ diff -up tachyon/unix/Makefile.shared tachyon/unix/Makefile
- ${CC} ${CFLAGS} -c ${SRCDIR}/api.c -o ${OBJDIR}/api.o
+ ${CC} ${CFLAGS} -fPIC -c ${SRCDIR}/api.c -o ${OBJDIR}/api.o
- clean :
- @echo "Cleaning object files, binaries etc."
+
+ ##