aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gammu-devel/files
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-04-14 17:05:03 +0800
committeroliver <oliver@FreeBSD.org>2005-04-14 17:05:03 +0800
commit1e77b6b8849cc3e32b466681c0b08e208e896096 (patch)
tree19f8026cd430cccf42104fe79e2fc98a7b39770a /comms/gammu-devel/files
parentd011b2f6d400929dd3b42cd93423efb342c6f771 (diff)
downloadfreebsd-ports-gnome-1e77b6b8849cc3e32b466681c0b08e208e896096.tar.gz
freebsd-ports-gnome-1e77b6b8849cc3e32b466681c0b08e208e896096.tar.zst
freebsd-ports-gnome-1e77b6b8849cc3e32b466681c0b08e208e896096.zip
update comms/gammu to 1.00.0
PR: ports/79189 Submitted by: maintainer
Diffstat (limited to 'comms/gammu-devel/files')
-rw-r--r--comms/gammu-devel/files/patch-cfg-Makefile.glo16
-rw-r--r--comms/gammu-devel/files/patch-common-device-serial-ser_unx.c18
-rw-r--r--comms/gammu-devel/files/patch-configure.in54
3 files changed, 36 insertions, 52 deletions
diff --git a/comms/gammu-devel/files/patch-cfg-Makefile.glo b/comms/gammu-devel/files/patch-cfg-Makefile.glo
index ff85ec550fb1..0d5709a1957e 100644
--- a/comms/gammu-devel/files/patch-cfg-Makefile.glo
+++ b/comms/gammu-devel/files/patch-cfg-Makefile.glo
@@ -1,15 +1,15 @@
---- cfg/Makefile.glo.orig Mon Jul 26 04:01:32 2004
-+++ cfg/Makefile.glo Wed Mar 2 10:42:01 2005
-@@ -102,7 +102,7 @@
+--- cfg/Makefile.glo.orig Sat Jan 15 17:01:28 2005
++++ cfg/Makefile.glo Thu Mar 24 13:13:31 2005
+@@ -122,7 +122,7 @@
@echo Making $<
- @$(CC) -c $(CFLAGS) -I$(TOPDIR)/common/ $(CPPFLAGS) $(<) -o $(@)
-
+ @$(CC) -c $(CFLAGS) -I$(TOPDIR)/common/ $(CPPFLAGS) $*.c -o $*.o
+
-all: gammu
+all: gammu shared
$(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
@echo Linking gammu
-@@ -203,7 +203,7 @@
+@@ -227,7 +227,7 @@
@$(INSTALL) -m 0644 $(TOPDIR)/docs/docs/english/gammu.1 $(DESTDIR)$(INSTALL_MAN_DIR)
@$(RM) $(DESTDIR)$(INSTALL_DOC_DIR)/docs/english/gammu.1
@@ -18,7 +18,7 @@
installonly: all
@echo Installing binaries to $(DESTDIR)$(INSTALL_BIN_DIR)
-@@ -220,8 +220,7 @@
+@@ -244,8 +244,7 @@
@echo Installing shared library to $(DESTDIR)$(INSTALL_LIB_DIR)
@$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)
@@ -28,7 +28,7 @@
@$(LN) -s libGammu.so.$(SONAME_MAJOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so
@echo Installing static library to $(DESTDIR)$(INSTALL_LIB_DIR)
-@@ -240,8 +239,8 @@
+@@ -264,8 +263,8 @@
@$(INSTALL) -m 0644 cfg/config.h $(DESTDIR)$(INSTALL_H_DIR)/config.h
@echo Installing pkgconfig file
diff --git a/comms/gammu-devel/files/patch-common-device-serial-ser_unx.c b/comms/gammu-devel/files/patch-common-device-serial-ser_unx.c
deleted file mode 100644
index b5cc51630bab..000000000000
--- a/comms/gammu-devel/files/patch-common-device-serial-ser_unx.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- common/device/serial/ser_unx.c.orig Fri Aug 13 12:10:45 2004
-+++ common/device/serial/ser_unx.c Fri Nov 26 16:25:16 2004
-@@ -230,6 +230,7 @@
- case 57600: speed2 = B57600; break;
- case 115200: speed2 = B115200; break;
- case 230400: speed2 = B230400; break;
-+#ifdef B460800
- case 460800: speed2 = B460800; break;
- #ifdef B500000
- case 500000: speed2 = B500000; break;
-@@ -243,6 +244,7 @@
- case 3000000: speed2 = B3000000; break;
- case 3500000: speed2 = B3500000; break;
- case 4000000: speed2 = B4000000; break;
-+#endif
- #endif
- #endif
- }
diff --git a/comms/gammu-devel/files/patch-configure.in b/comms/gammu-devel/files/patch-configure.in
index 7a2c5a701648..03bdd0a17fb2 100644
--- a/comms/gammu-devel/files/patch-configure.in
+++ b/comms/gammu-devel/files/patch-configure.in
@@ -1,25 +1,27 @@
---- cfg/autoconf/configure.in.orig Thu Nov 25 13:02:35 2004
-+++ cfg/autoconf/configure.in Thu Nov 25 13:01:56 2004
-@@ -163,14 +163,14 @@
- dnl Bluetooth stacks
- gsm_blue_stack=unknown
- AC_CHECK_HEADERS(bluetooth/bluetooth.h,
-- [gsm_blue_stack=Bluez
-+ [gsm_blue_stack=FreeBSD
- AC_DEFINE(GSM_ENABLE_BLUEZ)
-- LDLIBS="$LDLIBS -lbluetooth -lsdp"])
-+ LDLIBS="$LDLIBS -lbluetooth"])
-
--dnl Path for Bluez bluetooth library
-+dnl Path for FreeBSD bluetooth library
- gsm_bt_dir=""
- AC_ARG_WITH(bluedir,
-- [ --with-bluedir=DIR Specifies the base libbluetooth from Bluez],
-+ [ --with-bluedir=DIR Specifies the base libbluetooth from FreeBSD],
- [ if test x$withval = xyes; then
- AC_MSG_WARN(Usage is: --with-bluedir=DIR)
- else
-@@ -261,7 +261,7 @@
+--- cfg/autoconf/configure.in.orig Sat Jan 15 13:45:26 2005
++++ cfg/autoconf/configure.in Thu Apr 14 08:27:47 2005
+@@ -185,17 +185,17 @@
+ fi
+ if test "$gsm_blue_stack" = unknown ; then
+ AC_CHECK_HEADERS(bluetooth/bluetooth.h,
+- [gsm_blue_stack=Bluez
++ [gsm_blue_stack=FreeBSD
+ LDLIBS="$LDLIBS -lbluetooth"
+ AC_CHECK_LIB(sdp, sdp_list_append, LDLIBS="$LDLIBS -lsdp")
+ AC_DEFINE(GSM_ENABLE_BLUEZ)
+ ])
+ fi
+
+- dnl Path for Bluez bluetooth library
++ dnl Path for FreeBSD bluetooth library
+ gsm_bt_dir=""
+ AC_ARG_WITH(bluedir,
+- [ --with-bluedir=DIR Specifies the base libbluetooth from Bluez],
++ [ --with-bluedir=DIR Specifies the base libbluetooth from FreeBSD],
+ [ if test x$withval = xyes; then
+ AC_MSG_WARN(Usage is: --with-bluedir=DIR)
+ else
+@@ -287,7 +287,7 @@
[ --disable-bluefbus Disable Nokia FBUS2 over Bluetooth stack
(Nokia 6210)],
[gsm_enable_bluefbus2="no"],
@@ -28,7 +30,7 @@
AC_DEFINE(GSM_ENABLE_BLUEFBUS2)
gsm_enable_bluefbus2="yes"
else
-@@ -271,7 +271,7 @@
+@@ -297,7 +297,7 @@
[ --disable-bluephonet Disable Nokia PHONET FBUS over Bluetooth
stack (all new Nokias)],
[gsm_enable_bluephonet="no"],
@@ -37,7 +39,7 @@
AC_DEFINE(GSM_ENABLE_BLUEPHONET)
gsm_enable_bluephonet="yes"
else
-@@ -280,7 +280,7 @@
+@@ -306,7 +306,7 @@
AC_ARG_ENABLE(blueat,
[ --disable-blueat Disable AT commands over Bluetooth stack],
[gsm_enable_blueat="no"],
@@ -46,7 +48,7 @@
AC_DEFINE(GSM_ENABLE_BLUEAT)
gsm_enable_blueat="yes"
else
-@@ -289,7 +289,7 @@
+@@ -315,7 +315,7 @@
AC_ARG_ENABLE(blueobex,
[ --disable-blueobex Disable OBEX over Bluetooth stack],
[gsm_enable_blueobex="no"],
@@ -55,7 +57,7 @@
AC_DEFINE(GSM_ENABLE_BLUEOBEX)
gsm_enable_blueobex="yes"
else
-@@ -408,7 +408,7 @@
+@@ -438,7 +438,7 @@
Binaries - $bindir
RPM making directory - $RPM_DIR
Temporary directory - $TEMP_DIR