aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-03-01 02:13:12 +0800
committermi <mi@FreeBSD.org>2002-03-01 02:13:12 +0800
commita437a7c2c52d102a50bf181cf845597c56d15583 (patch)
tree10ea0b8282f5c5668443078eba4746956dfa79f6
parenta08329fa005ef2d269b8e2839cc613860e14e58f (diff)
downloadfreebsd-ports-gnome-a437a7c2c52d102a50bf181cf845597c56d15583.tar.gz
freebsd-ports-gnome-a437a7c2c52d102a50bf181cf845597c56d15583.tar.zst
freebsd-ports-gnome-a437a7c2c52d102a50bf181cf845597c56d15583.zip
Add the forgotten patches.
-rw-r--r--graphics/djvulibre/files/patch-iconv11
-rw-r--r--graphics/djvulibre/files/patch-libname35
2 files changed, 46 insertions, 0 deletions
diff --git a/graphics/djvulibre/files/patch-iconv b/graphics/djvulibre/files/patch-iconv
new file mode 100644
index 000000000000..37a65e74d7cf
--- /dev/null
+++ b/graphics/djvulibre/files/patch-iconv
@@ -0,0 +1,11 @@
+GNU iconv is known as giconv on FreeBSD
+
+ -mi
+
+--- libdjvu/GUnicode.cpp Tue Oct 23 17:09:25 2001
++++ libdjvu/GUnicode.cpp Thu Feb 7 13:57:53 2002
+@@ -44,3 +44,3 @@
+ #ifdef HAS_ICONV
+-#include <iconv.h>
++#include <giconv.h>
+ #endif
diff --git a/graphics/djvulibre/files/patch-libname b/graphics/djvulibre/files/patch-libname
new file mode 100644
index 000000000000..3034b8b9ddcf
--- /dev/null
+++ b/graphics/djvulibre/files/patch-libname
@@ -0,0 +1,35 @@
+Make sure the installed shared library is named like
+libdjvulibre3.so.5.4 instead of libdjvulibre-3.5.4.so
+
+ -mi
+
+--- libdjvu/Makefile.in Mon Nov 5 21:12:24 2001
++++ libdjvu/Makefile.in Thu Feb 7 14:48:14 2002
+@@ -46,3 +46,6 @@
+ LIBDJVU_A = libdjvulibre.a
+-LIBDJVU_SO = libdjvulibre-${PACKAGE_VERSION}.so
++LIBDJVU_SO:= libdjvulibre${PACKAGE_VERSION:R:R}.so.${PACKAGE_VERSION:R:E}
++.if defined(OBJFORMAT) && ${OBJFORMAT} == "aout"
++LIBDJVU_SO:= ${LIBDJVU_SO}.${PACKAGE_VERSION:E}
++.endif
+
+--- gui/djview/Makefile.in Thu Feb 7 14:53:32 2002
++++ gui/djview/Makefile.in Thu Feb 7 14:56:22 2002
+@@ -52,3 +52,6 @@
+ LIBDJVU_A = ${top_builddir}/libdjvu/libdjvulibre.a
+-LIBDJVU_SO = ${top_builddir}/libdjvu/libdjvulibre-${PACKAGE_VERSION}.so
++LIBDJVU_SO = ${top_builddir}/libdjvu/libdjvulibre${PACKAGE_VERSION:R:R}.so.${PACKAGE_VERSION:R:E}
++.if defined(OBJFORMAT) && ${OBJFORMAT} == "aout"
++LIBDJVU_SO:= ${LIBDJVU_SO}.${PACKAGE_VERSION:E}
++.endif
+ @SHARED_YES@LIBDJVU = -Wl,-rpath,${libdir} ${LIBDJVU_SO}
+--- tools/Makefile.in Wed Jan 23 20:52:56 2002
++++ tools/Makefile.in Thu Feb 7 14:57:48 2002
+@@ -46,3 +46,6 @@
+ LIBDJVU_A = ${top_builddir}/libdjvu/libdjvulibre.a
+-LIBDJVU_SO = ${top_builddir}/libdjvu/libdjvulibre-${PACKAGE_VERSION}.so
++LIBDJVU_SO = ${top_builddir}/libdjvu/libdjvulibre${PACKAGE_VERSION:R:R}.so.${PACKAGE_VERSION:R:E}
++.if defined(OBJFORMAT) && ${OBJFORMAT} == "aout"
++LIBDJVU_SO:= ${LIBDJVU_SO}.${PACKAGE_VERSION:E}
++.endif
+