aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-04-05 20:50:56 +0800
committergarga <garga@FreeBSD.org>2006-04-05 20:50:56 +0800
commitdfeaa2f971990bd74fa463d29ad03c107a618cd8 (patch)
treee1ff86479aca1ca681b948bb338ea2128f57d04d /devel
parent83b42ce05f4a296bcbfc31b13665f2d9669b7c58 (diff)
downloadfreebsd-ports-gnome-dfeaa2f971990bd74fa463d29ad03c107a618cd8.tar.gz
freebsd-ports-gnome-dfeaa2f971990bd74fa463d29ad03c107a618cd8.tar.zst
freebsd-ports-gnome-dfeaa2f971990bd74fa463d29ad03c107a618cd8.zip
- Update to 1.10.0
PR: ports/95306 Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/pwlib/Makefile14
-rw-r--r--devel/pwlib/distinfo6
-rw-r--r--devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx11
-rw-r--r--devel/pwlib/pkg-plist4
4 files changed, 26 insertions, 9 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
index 087f48d08965..6f4892897e91 100644
--- a/devel/pwlib/Makefile
+++ b/devel/pwlib/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pwlib
-PORTVERSION= 1.9.2
-PORTREVISION= 4
+PORTVERSION= 1.10.0
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://www.voxgratia.org/releases/
@@ -31,11 +30,11 @@ INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${WRKSRC}/include -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CFLAGS="${CFLAGS} -O1"
-MAKE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${LOCALBASE}/include" \
+MAKE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${WRKSRC}/include -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
STDCCFLAGS+="-I${LOCALBASE}" \
CFLAGS="${CFLAGS} -O1"
@@ -86,4 +85,11 @@ PLIST_SUB+= BSDVIDEO=""
PLIST_SUB+= BSDVIDEO="@comment "
.endif
+post-patch:
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
+ ${WRKSRC}/src/ptlib/common/tinyjpeg.cxx \
+ ${WRKSRC}/src/ptlib/common/jidctflt.cxx
+.endif
+
.include <bsd.port.post.mk>
diff --git a/devel/pwlib/distinfo b/devel/pwlib/distinfo
index 53ed50a2345d..175aad971df2 100644
--- a/devel/pwlib/distinfo
+++ b/devel/pwlib/distinfo
@@ -1,3 +1,3 @@
-MD5 (pwlib-v1_9_2-src-tar.gz) = 7135533e23747050bc218cac6edc764d
-SHA256 (pwlib-v1_9_2-src-tar.gz) = 03131bd6f40f59ec3d9e1675f5aa20714e30e0e1505804a224f9b6be78a8f896
-SIZE (pwlib-v1_9_2-src-tar.gz) = 2060667
+MD5 (pwlib-v1_10_0-src-tar.gz) = 90d10de70e79fe304462716e741a464e
+SHA256 (pwlib-v1_10_0-src-tar.gz) = 818c0dbe08cf2468eb2492e0ee967b95a934b30ecfb1f2d88586232f37bb0bbc
+SIZE (pwlib-v1_10_0-src-tar.gz) = 2074224
diff --git a/devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx b/devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx
new file mode 100644
index 000000000000..7804b53c0980
--- /dev/null
+++ b/devel/pwlib/files/patch-src_ptlib_common_jidctflt.cxx
@@ -0,0 +1,11 @@
+--- src/ptlib/common/jidctflt.cxx.orig Wed Apr 5 07:08:00 2006
++++ src/ptlib/common/jidctflt.cxx Wed Apr 5 07:08:08 2006
+@@ -80,7 +80,7 @@
+
+ #define DEQUANTIZE(coef,quantval) (((FAST_FLOAT) (coef)) * (quantval))
+
+-#if defined(__GNUC__) && (defined(__i686__) || defined(__x86_64__))
++#if defined(__GNUC__) && defined(__i686__)
+
+ static inline unsigned char descale_and_clamp(int x, int shift)
+ {
diff --git a/devel/pwlib/pkg-plist b/devel/pwlib/pkg-plist
index 0c6d308c57bf..c8e81fcebd44 100644
--- a/devel/pwlib/pkg-plist
+++ b/devel/pwlib/pkg-plist
@@ -155,8 +155,8 @@ include/ptlib/videoio1394dc.h
lib/libpt.so
lib/libpt_r.so
lib/libpt_r.so.1
-lib/libpt_r.so.1.9
-lib/libpt_r.so.1.9.2
+lib/libpt_r.so.1.10
+lib/libpt_r.so.1.10.0
lib/pwlib/devices/sound/oss_pwplugin.so
%%BSDVIDEO%%lib/pwlib/devices/videoinput/bsdvideo_pwplugin.so
@dirrm lib/pwlib/devices/sound